Mean absolute deviation is an error statistic that averages the distance between each pair of actual and fitted data points.
The formula for calculating the MAD:
where Yt is the actual value of a point for a given time period t, n is the total number of fitted points, and
is the forecast value for the time period t.