Forecasting 3
Forecasting 3
Forecasting
2022
A General Approach to Time Series Modelling
Forecasting
I Notation:
n
I Let Xn+h denote the forecast made at time n for Xn+h .
I For instance, when h = 1 we have: Xn+1n
=forecast for Xn+1 ,
made at time n.
Remember that: Forecasting is a form of extrapolation, with all the
dangers that it involves.
Forecasting choice of method
I Using the naive method, all forecasts for the future are equal
to the last observed value of the series.
I Using the average method, all future forecasts are equal to a
simple average of the observed data.
I We often want something between these two extremes. For
example, it may be sensible to attach larger weights to more
recent observations than to observations from the distant past.
Simple Exponential Smoothing
n
Xn+1 = αxn + α(1 − α)1 xn−1 + α(1 − α)2 xn−2 + . . .
where 0 < α < 1 is the smoothing parameter.
n
Xn+1 = αxn + (1 − α)Xnn−1
The forecast at time n + 1 is equal to a weighted average between
the most recent observation xn and the previous forecast Xnn−1 .
where 0 ≤ α ≤ 1 is the smoothing parameter.
The process has to start somewhere, so we let the first fitted value
at time 1 be denoted by `0 (which will be estimated as well). Then,
n
Forecast equation Xn+h = `n
Smoothing equation `t = αxt + (1 − α)`t−1
where `t is the level (or the smoothed value) of the series at time t.
If we replace lt with x̂tt+1 and `t−1 with x̂tt−1 in the smoothing equa-
tion, we will recover the weighted average form of simple exponential
smoothing.
Simple Exponential Smoothing
Flat forecast
`t = αxt + (1 − α)`t−1
Holt’s method
t
Forecast equation Xt+h = `t + hbt
Level equation `t = αxt + (1 − α)(`t−1 + bt−1 )
Trend equation bt = β ∗ (`t − `t−1 ) + (1 − β ∗ )bt−1
t
Xt+h = `t + hbt + st+h−m(k+1)
`t = α(xt − st−m ) + (1 − α)(`t−1 + bt−1 )
bt = β ∗ (`t − `t−1 ) + (1 − β ∗ )bt−1
st = γ(xt − `t−1 − bt−1 ) + (1 − γ)st−m
t
Xt+h = (`t + hbt )st+h−m(k+1)
xt
`t = α( ) + (1 − α)(`t−1 + bt−1 )
st−m
bt = β ∗ (`t − `t−1 ) + (1 − β ∗ )bt−1
xt
st = γ( ) + (1 − γ)st−m
`t−1 + bt−1
References