Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Forecasting Process Details

Series Transformations

For pure ARIMA models, transforming the response time series may aid in obtaining stationary noise series. For general ARIMA models with inputs, transforming the response time series or one or more of the input time series may provide a better model fit. Similarly, the fit of smoothing models may improve when the response series is transformed.

There are four transformations available, for strictly positive series only. Let yt > 0 be the original time series, and let wt be the transformed series. The transformations are defined as follows:

Log
is the logarithmic transformation.
wt = ln(yt)

Logistic
is the logistic transformation.
wt = ln(c yt / (1-c yt))

where the scaling factor c is
c = (1-e-6) 10 - ceil( log10(max( yt) ))
and ceil(x) is the smallest integer greater than or equal to x.

Square Root
is the square root transformation.
w_{t} = \sqrt{y_{t}}

Box Cox
is the Box-Cox transformation.
w_{t} = \cases{
 \frac{y_{t}^{{\lambda}} - 1}{\lambda},
 & {\lambda} {\ne} 0\space \vspace{0.15in} \cr
 \rm{ln}( y_{t}),
 & {\lambda} = 0\cr}

Parameter estimation is performed using the transformed series. The transformed model predictions and confidence limits are then obtained from the transformed time-series and these parameter estimates.

The transformed model predictions {\hat{w}_{t}} are used to obtain either the minimum mean absolute error (MMAE) or minimum mean squared error (MMSE) predictions {\hat{y}_{t}},depending on the setting of the forecast options. The model is then evaluated based on the residuals of the original time series and these predictions. The transformed model confidence limits are inverse-transformed to obtain the forecast confidence limits.

Predictions for Transformed Models

Since the transformations described in the previous section are monotonic, applying the inverse-transformation to the transformed model predictions results in the median of the conditional probability density function at each point in time. This is the minimum mean absolute error (MMAE) prediction.

If wt = F(yt) is the transform with inverse-transform yt = F-1(wt), then
\rm{median}( \hat{y}_{t} ) =
\rm{F}^{-1}( E [ w_{t} ] )
= \rm{F}^{-1}( \hat{w}_{t})

The minimum mean squared error (MMSE) predictions are the mean of the conditional probability density function at each point in time. Assuming that the prediction errors are normally distributed with variance { {\sigma}_{t}^2},the MMSE predictions for each of the transformations are as follows:

Log
is the conditional expectation of inverse-logarithmic transformation.
\hat{y}_{t} = E {[ e^{w_{t} } ]}
 = \rm{exp} ( \hat{w}_{t}
 + {\sigma}^2_{t}/2 )

Logistic
is the conditional expectation of inverse-logistic transformation.

\hat{y}_{t}= E { 1 \overwithdelims [] {c(1+exp(-w_{t}))} }

where the scaling factor c = (1-e-6)10 - ceil( log10(max( yt))).

Square Root
is the conditional expectation of the inverse-square root transformation.
\hat{y}_{t} = E [ w^2_{t} ]
 = \hat{w}^2_{t}
 + {\sigma}^2_{t}

Box Cox
is the conditional expectation of the inverse Box-Cox transformation.
\hat{y}_{t} = \cases{
 E [ ({\lambda}w_{t}+1)^{1 / {\lambda} } ],
 & {\lambda} {...
 ...= \rm{exp} (\hat{w}_{t} + \frac{1}2 {\sigma}^2_{t}),
 & {\lambda} = 0\space \cr}

The expectations of the inverse logistic and Box-Cox ( {{\lambda} {\ne} 0} ) transformations do not generally have explicit solutions and are computed using numerical integration.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.