From MM*Stat International
So far from the original observed time series only the trend has been estimated. Information about seasonal attributes was dealt with, smoothed out, by the selection of a suitable filter. Now the season components are also to be estimated. For a better understanding, we introduce some useful definitions first.
- Periods: Number of repetitions of one season.Example: Quarterly data over 10 years:
- Time subintervals: Number of observations in a seasonal cycle.Example: Quarterly data:
- Total number of observations:
- (Estimated) Trend values:
- Observed values:
One must distinguish between additive and multiplicative time series models: An additive relationship between trend, seasonal component and residuals is considered in the additive model while this relationship is multiplicative in multiplicative model. Accordingly the calculations of the estimated seasonal fluctuation components: One must distinguish between additive and multiplicative time series models: An additive relationship between trend, seasonal component and residuals is considered in the additive model while this relationship is multiplicative in multiplicative model. Accordingly the calculations of the estimated seasonal components differ.
- Additive time series model The forecasted value of the variable from the time series model (ZRM) consists of the estimated trend value added to the mean (estimated) seasonal coefficient .
- Multiplicative time series model The forecasted value of the variable from to the time series model (ZRM) consists of the estimated trend value multiplied by the mean (estimated) seasonal coefficient .
Example: Number of newly registered cars in Berlin - 1977:1 - 1989:4 Additive time series model:Filter: red: Original time seriesblack: Smoothed series (estimated trend)blue: Trend and seasonal component (estimated time series)
Explanation This example is similar to the interactive example with the additional opportunity to edit the XploRe code directly. Explanation Here you can select a time series, which is then decomposed into estimated trend, seasonal component and residuals. Consider for alternative selections, which time frequency the data were observed (e.g. monthly). The trend is estimated by the moving average method. You can choose one of several available filters. Suggestion Step one select a filter, which seems reasonable to you. Check on the basis the generated figure whether the filter you selected was actually suitable to filter (smooth) the seasonal component from the data or not. Also you should pay attention to the residuals. Are there outliers? Do the fluctuations of the residuals change over the time? Repeat the calculations and pay attention to the consequences of the application of different filters. Data You can select one of the following time series
- Circulation of moneyAmount of circulating money in Germany. Time period: 1968:1 - 1998:3Periodicity (frequency): Monthly data
- M3Money supply M3: change in % relative to the preliminary periodTime period: 1956:1 - 1998:3Periodicity (frequency): Monthly data
- Balance of paymentsBalance of payments of Germany Time period: 1977 – 1995 Periodicity (frequency): Yearly data
- New car registrationsNumber of newly registered cars in Berlin Time period: 1977:1 - 1998 :4Periodicity (frequency): Quarterly data
- RainPrecipitation in Potsdam, GermanyTime period: 1984:1 - 1995:1Periodicity (frequency): Monthly data
This example shows, how one decomposes an observed time series into estimates of the trend , the seasonal component and a residual vector . The model considered has the additive form . For illustration we apply the method to data on newly registered cars in Berlin.
Two different procedures for estimation of the trend component were introduced above: The least squares and the moving average methods. Here the latter is used, where the trend is calculated according to In order to remove all seasonal variation, one applies the filter to the observed quarterly data. It gives an even consideration of past and future data () and the same weighting of all seasons. Example:
From the model it follows . The left hand side of this equation is an estimated detrended series. Assuming that the seasonal variation in the respective quarters has the same value (thus e.g.: ), an obvious procedure for the seasonal adjustment is the computation of the arithmetic means over all differences , which belong to one season. Example: For this procedure it is not important which method was used to estimate the trend.
One calculates the estimated residuals via .
Results of the decomposition of car registration time series
You should check on the basis of the results for at least one period whether you can reconstruct the procedure described above or not.
|1988.1||45 7 13077||15157||-2080||244.5||-2324.5|
Finally the result of the decomposition is graphically illustrated. Note that the estimated trend series (the green series) actually contains no more seasonal variation. This acknowledges the adequacy of selecting the filter for smoothing time series with quarterly data. Note: In the diagram the black line represents our actual observed data series, green is the estimated trend component, the blue line is the estimated seasonal component and the red line is the estimated residuals.