Professional Documents
Culture Documents
12 months. Because there is an overall curvilinear pattern to the data, you use trend analysis and fit a quadratic trend model. Because there is also a seasonal component, you save the fits and residuals to perform decomposition of the residuals (see Example of Decomposition). 1 2 3 4 5 6 Open the worksheet EMPLOY.MTW. Choose Stat > Time Series > Trend Analysis. In Variable, enter Trade. Under Model Type, choose Quadratic. Check Generate forecasts and enter 12 in Number of forecasts. Click Storage.
7 Check Fits (Trend Line), Residuals (detrended data), and Forecasts. Click OK in each dialog box. Session Window Output Trend Analysis for Trade
Data Length
Trade 60
NMissing 0
Period Forecast 61 62 63 64 65 66 67 68 69 70 71 72 391.818 393.649 395.502 397.376 399.271 401.188 403.127 405.087 407.068 409.071 411.096 413.142
Mean squared deviation (MSD) A commonly-used measure of accuracy of fitted time series values. Outliers have more influence on MSD than MAD. For example, you have sales data for 36 months and you would like to find a prediction model. You try two models: single exponential smoothing (SES) and linear trend, and get the following results: SES MAPE 8.1976 MAD 3.6215 MSD 22.3936 Linear Trend MAPE 6.9551 MAD 2.7506 MSD 11.2702
All three numbers are lower for the linear trend model compared to the single exponential smoothing method; therefore, the linear trend model seems to provide the better fit.