Chapter Contents |
Previous |
Next |
The X11 Procedure |
The five predefined models used by PROC X11 are the same as those used by X11ARIMA/88 from Statistics Canada. These particular models, shown in Table 21.1 were chosen on the basis of testing a large number of economics series (Dagum, 1988) and should provide reasonable forecasts for most economic series.
Table 21.1: Five Predefined ModelsModel # | Specification | Multiplicative | Additive |
1 | (0,1,1)(0,1,1)s | log transform | no transform |
2 | (0,1,2)(0,1,1)s | log transform | no transform |
3 | (2,1,0)(0,1,1)s | log transform | no transform |
4 | (0,2,2)(0,1,1)s | log transform | no transform |
5 | (2,1,2)(0,1,1)s | no transform | no transform |
The selection process proceeds as follows. The five models are estimated and one-step-ahead forecasts are produced in the order shown in Table 21.1. As each model is estimated the following three criteria are checked:
The description of these three criteria are given in "Criteria Details." The default values for these criteria are those used by X11ARIMA/88 from Statistics Canada; these defaults can be changed by the MAPECR=, CHICR= and OVDIFCR= options.
A model that fails any one of these three criteria is excluded from further consideration. In addition, if the ARIMA estimation fails for a given model, a warning is issued, and the model is excluded. The final set of all models considered are those that pass all three criteria and are estimated successfully. From this set, the model with the smallest MAPE for the last three years is chosen.
If all five models fail, ARIMA processing is skipped for the variable being processed, and the standard X-11 seasonal adjustment is performed. A note is written to the log with this information.
The chosen model is then used to forecast the series one or more years (determined by the FORECAST= option on the ARIMA statement). These forecasts are appended on the original data (or the prior and calendar-adjusted data).
If a BACKCAST= is specified, the chosen model form is used, but the parameters are reestimated using the reversed series. Using these parameters, the reversed series is forecasted for the number of years specified by the BACKCAST= option. These forecasts are then reversed and appended to the beginning of the original series, or the prior and calendar-adjusted series, to produce the backcasts.
Note that the final selection rule (the smallest MAPE using the last three years) emphasizes the quality of the forecasts at the end of the series. This is consistent with the purpose of the X-11-ARIMA methodology, namely, to improve the estimates of seasonal factors and thus minimize revisions to recent past data as new data become available.
For the MAPE criteria testing, only the last three years of the original series (or prior and calendar adjusted series) is used in computing the MAPE.
Let yt, t=1,..,n be the last three years of the series, and denote its one-step-ahead forecast by , where n=36 for a monthly series, and n=12 for a quarterly series.
With this notation, the MAPE criteria is computed as
The Box-Ljung Chi-Square is a lack of fit test using the model residuals. This test statistic is computed using the Ljung-Box formula
where n is the number of residuals that can be computed for the time series, and
where the at's are the residual sequence. This formula has been suggested by Ljung and Box as yielding a better fit to the asymptotic chi-square distribution. Some simulation studies of the finite sample properties of this statistic are given by Davies, Triggs, and Newbold (1977) and by Ljung and Box (1978).
For monthly series, m=24, while for quarterly series, m=8.
From Table 21.1 you can se that all models have a single seasonal MA factor and at most two nonseasonal MA factors. Also, all models have seasonal and nonseasonal differencing. Consider model 2 applied to a monthly series yt with :
If , then the factors and (1-B12) will cancel, resulting in a lower-order model.
Similarly, if ,
for some . Again, this results in cancellation and a lower order model.
Since the parameters are not exact, it is not reasonable to require that
Instead, an approximate test is performed by requiring that
The default value of 0.9 can be changed by the OVDIFCR= option. Similar reasoning applies to the other models.
In all models except the fifth, a log transformation is performed before the ARIMA estimation for the multiplicative case; no transformation is performed for the additive case. For the fifth model, no transformation is done for either case.
The multiplicative case is assumed in the following table. The indicated seasonality s in the specification is either 12 (monthly), or 4 (quarterly). The MODEL statement assumes a monthly series.
Table 21.2: ARIMA Statements Options for Predefined ModelsModel | ARIMA Statement Options |
(0,1,1)(0,1,1)s | MODEL=( Q=1 SQ=1 DIF=1 SDIF=1 ) TRANSFORM=LOG |
(0,1,2)(0,1,1)s | MODEL=( Q=2 SQ=1 DIF=1 SDIF=1 ) TRANSFORM=LOG |
(2,1,0)(0,1,1)s | MODEL=( P=2 SQ=1 DIF=1 SDIF=1 ) TRANSFORM=LOG |
(0,2,2)(0,1,1)s | MODEL=( Q=2 SQ=1 DIF=2 SDIF=1 ) TRANSFORM=LOG |
(2,1,2)(0,1,1)s | MODEL=( P=2 Q=2 SQ=1 DIF=1 SDIF=1 ) |
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.