Example of Moving Average

A toothpaste retailer collects sales data and the number of commercials that were broadcast during the previous 60 weeks. The retailer creates a time-series model for prediction of sales.

  1. Open the sample data, ToothpasteSales.MTW.
  2. Choose Stat > Time Series > Moving Average.
  3. In Variable, enter Sales.
  4. In MA length, enter 2.
  5. Select Generate forecasts. In Number of forecasts, enter 6.
  6. Click OK.

Interpret the results

On the moving average plot, the forecasts and line closely follow the data, especially at the end of the series. The retailer can be 95% confident that the sales will be between approximately 53 and 67 for the next 6 months.

Method

DataSales
Length101
NMissing0

Moving Average

Length2

Accuracy Measures

MAPE8.8780
MAD2.9242
MSD13.8308

Forecasts

PeriodForecastLowerUpper
1026052.710967.2891
1036052.710967.2891
1046052.710967.2891
1056052.710967.2891
1066052.710967.2891
1076052.710967.2891