Lecture 05
Lecture 05
• The data are not seasonally adjusted, hence the spikes around
the holiday season at the turn of each year. Because the
reported sales in the stores’ financial statements are not
seasonally adjusted, we model seasonally unadjusted retail
sales.
• How can we model the trend in retail sales? How can we adjust
for the extreme seasonality reflected in the peaks and troughs
occurring at regular intervals? How can we best use past retail
sales to predict future retail sales?
• Some fundamental questions arise in time-series analysis:
• Now suppose that we want to predict the value of the time series for a period
outside the
• sample—say, period T + 1. The predicted value of yt for period T + 1 is ˆyT+1
= bˆ0 + bˆ1(T + 1) .
• For example, if bˆ0 is 5.1 and bˆ1 is 2, then at t = 5 the predicted value of y5
is 15.1 and at t = 6 the predicted value of y6 is 17.1. Note that each
consecutive observation in this time series increases by bˆ1 = 2, irrespective
of the level of the series in the previous period.
LOG-LINEAR TREND MODELS
• Sometimes a linear trend does not correctly model the growth
of a time series.
• Both the linear trend model and the log-linear trend model are single-variable
regression models.
• In particular, the regression error for one period must be uncorrelated with the
regression error for all other periods.
• For example, Starbucks’ sales for the current period are related to its sales in
the previous period.
• When we use this model, we can drop the normal notation of y as the
dependent variable and x as the independent variable because we no longer
have that distinction to make
• Third, the covariance of the time series with itself for a fixed
number of periods in the past or future must be constant and
finite in all periods.
DETECTING SERIALLY CORRELATED ERRORS IN AN AR
MODEL
• We can estimate an autoregressive model using ordinary least squares if the
time series is covariance stationary and the errors are uncorrelated.
• Fortunately, we can use other tests to determine whether the errors in a time-
series model are serially correlated.
• One such test reveals whether the autocorrelations of the error term are
significantly different from 0. This test is a t-test involving a residual
MEAN REVERSION
• We say that a time series shows mean reversion if it tends to fall when its
level is above its mean and rise when its level is below its mean.
• How can we determine the value that the time series tends toward?
• If a time series is currently at its mean-reverting level, then the model predicts
that the value of the time series will be the same in the next period.
• For an AR(1) model (xt+1 = b0 + b1xt), the equality x t+1 = xt implies the
level xt = b0 + b1xt or that the mean-reverting level, xt, is given by
COMPARING FORECAST MODEL PERFORMANCE
• One way to compare the forecast performance of two models
is to compare the variance of the forecast errors that the two
models make.
• The model with the smaller forecast error variance will be the
more accurate model, and it will also have the smaller
standard error of the time-series regression. (This standard
error usually is reported directly in the output for the time-
series regression.
• Further, the choice of model for a particular time series can also depend on the
sample period.
• For example, an AR(1) model may be appropriate for the sales of a company in one
particular sample period, but an AR(2) model may be necessary for an earlier or
• Unfortunately, there is usually no clear-cut basis in economic
or financial theory for determining whether to use data from a
longer or shorter sample period to estimate a time-series
model.
• The exchange rates in these two periods would not likely have
the same variance because exchange rates are usually much
more volatile under a floating-rate regime than when rates are
fixed.
RANDOM WALKS
• Typically, for a stationary time series, either autocorrelations at all lags are
statistically indistinguishable from zero or the autocorrelations drop off rapidly
to zero as the number of lags becomes large.
• However, this approach is less definite than a currently more popular test for
• We can explain what is known as the unit root problem in the context of an AR(1) model.
• If a time series comes from an AR(1) model, then to be covariance stationary, the absolute value of
the lag coefficient, b1, must be less than 1.0.
• We could not rely on the statistical results of an AR(1) model if the absolute value of the lag
coefficient were greater than or equal to 1.0 because the time series would not be covariance
stationary.
• If the lag coefficient is equal to 1.0, the time series has a unit root:
• It is a random walk and is not covariance stationary (note that when b1 is greater than 1 in
absolute value, we say that there is an “explosive root”).
• Dickey and Fuller (1979) developed a regression-based unit
root test based on a transformed version of the AR(1) model xt
= b0 + b1xt-1 + εt.
C1 No No Yes
C2 Yes No No
C3 No Yes No