Univariate Time Series Forecasting Guide
Univariate Time Series Forecasting Guide
For this chapter we assume that the overall mean of the process yt is
zero.
This my not be true of all time series. However, if we denote the
unconditional mean by µ, all the analysis in this chapter goes
through with yt replaced by (yt − µ) whenever we have a non-zero
mean process.
ψ (L)
c (L) =
φ (L)
ψ (L) = 1 - ψ1 L - . . . - ψq Lq
φ (L) = 1 - φ1 L - . . . - φp Lp
The kth value of the PAC measures the correlation between yt and yt−k ,
conditional on yt−1 , . . . , yt−k+1 .
The elements of the PAC can be considered as specific coefficients
in regression equations. In particular, they are
yt = φ1 yt−1 + εt (8)
φ (L) = 1 − φ1 L.
1
φ (z) = 1 − φ1 z = 0 → z = .
φ1
yt = εt + φ1 yt−1 (9)
= εt + φ1 εt−1 + φ21 yt−2
= εt + φ1 εt−1 + φ21 εt−2+ φ31 yt−3
..
.
∞
X 1
= φi1 εt−i = εt .
φ(L)
i=0
E (yt ) = 0
∞ ∞
!
X X
φi1 εt−i Var φi1 εt−i
Var (yt ) = Var =
i=0 i=0
∞
X σ2
= φ2i
1 Var (εt−i ) =
i=0
1 − φ21
PAC (1) = φ1 ,
PAC (j) = 0, j > 1.
φ1 + φ2 < 1,
φ2 − φ1 < 1,
−φ2 < 1.
It can be easily shown that the first two lags of the PAC are different
from zero, while PAC(j) = 0 for j > 2.
Using methods similar to those seen in the examples considered so
far, we can calculate the AC and PAC for any AR (p) process.
The equations which define the first p lags of the AC function can
also be used to obtain the initial (Yule-Walker) estimators of the
parameters.
εt ∼ WN 0, σε2 .
yt = εt − ψ1 εt−1 − . . . − ψq εt−q = ψ (L) εt , (11)
E (yt ) = 0,
1 + ψ12 + . . . + ψq2 σε2 = γ (0) ,
Var (yt ) =
yt = εt − ψ1 εt−1 . (12)
E (yt ) = 0,
1 + ψ12 σ2 ,
Var (yt ) =
For the AC we have AC(1) = −ψ1 /(1 + ψ12 ) and AC(k) = 0, k > 1.
The condition for invertibility is |ψ1 | < 1, with associated AR(∞)
representation
1 + ψ1 L + ψ12 L2 + ψ13 L3 + . . . yt = εt .
E (yt ) = 0 (14)
∞
X
Var (yt ) = σε2 c2i . (15)
i=0
The AC and the PAC are like those of an MA (∞) or AR (∞) , so both
decline exponentially.
and
AC(k) = γk /γ0 .
It can be easily shown that the MA component plays a similar role for
the PAC, in the sense that for k > 2 the shape of the PAC is similar to
that of an MA(1) process.
yt = yt−1 + εt , (17)
(1 − L)yt = ∆yt = εt .
so that the effects of a shock do not decay over time, contrary to the
case of a weakly stationary process (compare (18) with (9)).
E(yt ) = 0,
The AC is also not properly defined, but the persistence of the effects
of the shocks is such that if we computed empirically the AC, its
elements would not decay as in the weakly stationary case but would
remain close to one at all lags. For the PAC, we can easily see that
PAC(1) = 1, while PAC(j) = 0 for j > 1.
c Eric Ghysels & Massimiliano Marcellino 2018 Edition 43 / 248
Random Walk with a Drift
yt = µ + εt + µ + εt−1 + µ + εt−2 + . . .
so that
An ARIMA(p, d, q) process is
with ∆d ≡ (1 − L)d , whereas φ (L) and ψ (L) are polynomials in the lag
operator of order, respectively, p and q, while yt is I(d).
If we define xt = ∆d yt , xt is an ARMA(p, q).
Hence, the only additional complication with respect to the ARMA
case is the determination of the order of integration d.
Using the available data on yt , we can easily estimate the AC and PAC
for different values of k. These values are typically graphed, with
increasing values of k on the right axis.
If the estimated values of both AC and PAC decay when k increases,
there is evidence that yt is weakly stationary and we can set d = 0.
If the AC declines very slowly and PAC(1) is close to one, then there
is evidence for a unit root. Therefore, we difference yt once, and
repeat the analysis with ∆yt . If necessary, we further difference yt ,
otherwise we set d = 1 and move to determine p and q.
σε2 ) + (p + q) log(T)/T
BIC = log(b
In finite samples the relative performance of the BIC and AIC is not
uniquely defined.
The BIC generally leads to more parsimonious specifications than
the AIC
φ (L) ∆d yt = ψ (L) εt .
If we define wt = ∆d yt , then
φ (L) wt = ψ (L) εt
and again
εt = ψ (L)−1 φ (L) wt .
Typically, the estimator used for ARMA models is not NLS, but MLE.
iid
Make the additional assumptions that εt ∼ N(0, σ 2 ) for all t.
Collect all parameters to be estimated into a single vector θ.
yt = Tt + zt
Tt = ν0 + ν1 t
zt = ρzt−1 + εt (2)
yt = ρyt−1 + εt , (3)
or
∆yt = (ρ − 1) yt−1 + εt . (4)
Under the unit root null, the usual sample moments of yt used to
compute the t−test do not converge to fixed constants.
Instead, Dickey and Fuller (1979) and Phillips (1987) showed that
the sample moments of yt converge to random functions of Brownian
motions on the unit [Link] particular:
T
d R1
X
T −3/2 yt−1 →σ 0 W(τ )dτ
t=1
T
d R1
X
T −2 y2t−1 → σ2 0 W(τ )2 dτ
t=1
T
d R1
X
T −1 yt−1 εt → σ 2 0 W(τ )dW(τ )
t=1
Using these results Phillips showed that under the unit root null:
R1
d 0 W(τ )dW(τ )
T(ρ̂ − 1) → R1
2
0 W(τ ) dτ
R1
d W(τ )dW(τ )
t − test(ρ = 1) → R01
( 0 W(τ )2 dτ )1/2
√
The convergence rate of ρ̂ is not the standard T but instead T,
typically referred to as ‘super-consistency.
Neither ρ̂ nor t − test(ρ = 1) are asymptotically normally distributed.
The limiting distribution of t − test(ρ = 1) is called the Dickey-Fuller
(DF) (Dicky and Fuller (1979)) distribution, which does not have a
closed form representation. Consequently,
The p-values of the distribution must be computed by numerical
approximation or by simulation.
Critical values are available in tables or are automatically generated by
econometric software packages.
The size and power of unit root tests are also affected by the
presence of deterministic breaks in the model parameters.
More complex statistical procedures to allow for breaks when testing for
unit roots, see e.g.m Perron (1989) and Stock (1994).
There are also procedures to test for the presence of more than one
unit root, e.g., d = 2.
The simplest approach is first to test whether ∆yt has a unit root (so
that d = 2) and then, if the hypothesis is rejected, whether yt has a
unit root (so that d = 1).
At each step we can use the DF or ADF tests that we have
described.
One should use proper critical values that control for the sequential
applications of the procedure.
∆d yt = wt , (9)
then
yt = Σd wt , (10)
where, as an example,
t
X
Σwt = wi , (11)
i=−∞
t
X j
X
Σ2 wt = wj . (12)
i=−∞ i=−∞
There are many alternative procedures available for testing for unit
roots (or for stationarity), notably where the null is trend-stationarity
see e.g., Kwiatkowski, Philips, Schmidt, and Shin (1992).
It is difficult in general to outperform the ADF procedure, which has
the advantage of being easy to implement and understand.
For further details, there are a number of excellent surveys one can
read, including Campbell and Perron (1991), Stock (1994), and
Phillips and Xiao (1998).
From
it follows that
Similarly,
byT+h = yT + w
b T+1 + . . . + w
b T+h . (15)
yt = φyt−1 + εt . (16)
byT+1 = φyT ,
byT+2 = φbyT+1 = φ2 yT ,
...
byT+k = φk yT .
Since
eT+1 = εT+1 ,
eT+2 = εT+2 + φεT+1 ,
...
eT+h = εT+h + φεT+h−1 + . . . + φh−1 εT+1 ,
Moreover, we have
yt = εt − ψ1 εt−1 (17)
byT+1 = −ψ1 εT ,
byT+2 = 0,
...
byT+h = 0.
Since
yT+1 = εT+1− ψ1 εT ,
yT+2 = εT+2− ψ1 εT+1 ,
...
yT+h = εT+h− ψ1 εT+h−1 .
eT+1 = εT+1
eT+2 = εT+2 − ψ1 εT+1
...
eT+k = εT+k− ψ1 εT+k−1 ,
with variances
Again, we have
a(L)yt = b(L)εt
p
X q
X
j
a(L) = 1 − aj L , b(L) = bj Lj , b0 = 1
j=1 j=0
yt = c(L)εt ,
We have that
∞
X
ŷT+h = ci+h εT−i .
i=0
yt = yt−1 + εt , (21)
lim byT+k = yT ,
k→∞
lim Var (byT+k ) = ∞.
k→∞
Moreover
E(eT+h ) = 0,
h−1
X
Var(eT+h ) = σε2 c2j ,
j=0
y − ŷT+h
pT+h ∼ N(0, 1).
Var(eT+h )
where cα/2 are critical values from the standard normal distribution.
Consider ŷT+h and ŷT+h+k , i.e., forecasts of yT+h and yT+h+k made in
period T. From (22) it can be easily shown that:
h−1
X
E(eT+h eT+h+k ) = σε2 cj cj+k ,
j=0
From (22) and the fact that εt is white noise, and considering the
predictor ŷT+h as an estimator (hence random), it follows that
Cov(ŷT+h , eT+h ) = 0.
Therefore,
Var(yT+h ) = Var(ŷT+h ) + Var(eT+h )
and
Var(yT+h ) ≥ Var(ŷT+h ).
Hence, the forecast is always less volatile than the actual realized
value.
yt = µ + ayt−1 + εt . (25)
and
Var(eT+1 ) = σε2 + xT0 Var(Θ̂)xT , (26)
where
PT −1
µ̂ T yt−1
Var(Θ̂) = Var = σε2 E PT t=1
PT 2
â t=1 yt−1 t=1 yt−1
σε2 + µ2 (1 + a)(1 − a)−1
∼ − µ(1 + a)
= T −1 , (27)
−µ(1 + a) (1 − a2 )
(1 − âh )
ŷT+h = µ̂ + âh yT .
(1 − â)
Therefore,
h−1
X h−1
X
i i h h
êT+h = (µa − µ̂â ) + (a − â )yT + ai εT+h−i
i=0 i=0
" h−1 #2
− a2h ) (1
X
Var(êT+h ) = σε2
+E i i
(µa − µ̂â )
(1 − a2 )
i=0
" h−1 #
X
+Var (a − âh ) y2T + 2E
h
(µai − µ̂âi )(ah − âh ) yT .
i=0
ŷT+h = µh + yT
h−1
X
eT+h = εT+h−i
i=0
yt = ayt−1 + εt
so that
h−1
X
h
yT+h = a yT + ai εT+h−i
i=0
ah yT ,
byT+h = b
where
T PT
X 2 yt yt−1
a = argmin
b (yt − ayt−1 ) = Pt=1
T 2
and (29)
a
t=1 t=1 yt−1
h h
E(yT+h − byT+h ) = (a − E(b
a ))yT . (30)
eyT+h = e
ah yT
where
T PT
X 2 yt yt−h
ah = argmin
e (yt − ah yt−h ) = Pt=h
T 2
ah
t=1 t=h yt−h
and
E(yT+h − eyT+h ) = (ah − E(e
ah ))yT .
yt = εt + ψεt−1 (31)
εt ∼ WN(0, σε2 )
yt = ρyt−1 + vt , (32)
vt ∼ WN(0, σv2 )
T T
!−1
X X
ρ̂ = yt yt−1 y2t−1
t=1 t=1
Then
ŷT+2 = ρ̂2 yT , E(ŷT+2 ) ∼
= ρ2 yT
It can be shown that
ρ̃2 =
PT PT 2 −1 ∼
t=2 yt yt−2 ( t=2 yt−2 ) =0
ỹT+2 = ρ̃2 yT ∼
=0
XT T−1 h
X i
min (yt − PCt )2 + λ (PCt+1 − PCt )2 + (PCt − PCt−1 )2 . (38)
PC
t=1 t=2
| {z }
Variance of CC
Since
T−1
X
(1 − α)yLT = α(1 − α)t+1 yT−t−1 ,
t=1
we have
yLT = αyT + (1 − α)yLT−1 ,
with the starting condition yL1 = y1 .
The larger α the larger the weight on the most recent observations.
Note that in the limiting case where α = 1, it is yLT = yT and the ES
forecasts coincides with that from a RW model for y.
so that
(1 − L)2 yLt = a [1 − (1 − c)L] et .
From (44) we have
xt = st + yt . (45)
γ γi (j − 1) + (1 − α)xj,i ,
ei (j) = αe
.
This model is typically known as a seasonal ARMA model and it can
properly represent several seasonal time series.
yt = yt−s + εt ,
(1 − φ11 L)(1 − φ21 L12 )yt = (1 + ψ11 L)(1 + ψ21 L12 )εt ,
or
(1 − φ11 L − φ21 L12 + φ11 φ21 L13 )yt = (1 + ψ11 L + ψ21 L12 + ψ11 ψ21 L13 )εt .
2 2
0 0
-2 -2
-4 -4
150 200 250 300 350 400 450 500 550 600 150 200 250 300 350 400 450 500 550 600
Y3
6
-2
-4
150 200 250 300 350 400 450 500 550 600
Note from Figure 1 that the dynamic behavior of the variables looks
similar although they have been generated from different DGPs.
Figures 2 - 4 show the (partial) correlograms of the three series for
the entire sample under consideration.
1 0.370 0.370
2 0.350 0.246
3 0.149 -0.049
4 0.115 -0.002
5 0.054 -0.001
6 0.040 0.003
7 0.029 0.010
8 -0.024 -0.054
9 -0.058 -0.058
10 -0.124 -0.089
11 -0.099 -0.011
12 -0.154 -0.074
1 0.145 0.145
2 -0.335 -0.364
3 -0.022 0.114
4 -0.014 -0.184
5 -0.029 0.054
6 0.009 -0.074
7 0.055 0.089
8 0.004 -0.060
9 0.003 0.079
10 -0.010 -0.067
11 -0.056 -0.001
12 0.005 -0.010
1 0.227 0.227
2 -0.234 -0.301
3 0.002 0.161
4 0.001 -0.140
5 -0.001 0.097
6 0.052 -0.013
7 0.079 0.105
8 0.020 -0.029
9 0.032 0.097
10 -0.014 -0.082
11 -0.072 -0.001
12 0.008 -0.003
AR / MA 0 1 2 3
0 3.038216 2.965412 2.817112 2.820006
1 3.024794 2.871028 2.819972 2.823934
2 2.886401 2.836022 2.823942 2.827933
3 2.877178 2.830599 2.827901 2.823809
Table 2: The ARIMA selection with BIC for y2
AR / MA 0 1 2 3
0 3.187754 3.059214 2.981900 2.985839
1 3.142723 2.995391 2.985840 2.988778
2 3.051139 2.987988 2.981839 2.991453
3 3.028714 2.989539 2.993529 2.987754
Table 3: The ARIMA selection with BIC for y3
we see that the procedure always selects the true DGPs when the
entire sample is taken as a reference, as shown in Tables 1 - 3 for
BIC.
Next, we will estimate the specifications selected by BIC.
Finally, we will illustrate the forecasting performance of the selected
models.
Note that the selected AR and MA terms are always significant and
Durbin-Watson statistics are always pretty close to the value of 2,
signaling almost with noise residuals.
Dep Var: Y2
Variable Coefficient Std. Error t-Statistic Prob.
Dep Var: Y3
Variable Coefficient Std. Error t-Statistic Prob.
For all the three models, the actual vs fitted and residuals (see
Figures 5 through 9) show a good fit for the selected models.
The residuals display frequent sign changes, although there might
be a few outliers.
3
-2
2
1 -4
-1
-2
-3
150 200 250 300 350 400 450 500 550 600
1 0.012 0.012
2 0.019 0.019
3 -0.040 -0.041
4 -0.011 -0.011
5 -0.018 -0.016
6 0.007 0.007
7 0.038 0.038
8 -0.001 -0.004
9 -0.021 -0.023
10 -0.078 -0.075
11 -0.035 -0.032
12 -0.124 -0.122
0
4
-2
2
-4
0
-2
-4
150 200 250 300 350 400 450 500 550 600
1 0.014 0.014
2 -0.009 -0.009
3 -0.023 -0.023
4 -0.011 -0.011
5 -0.022 -0.022
6 0.002 0.002
7 0.044 0.043
8 0.001 -0.002
9 -0.010 -0.010
10 0.005 0.007
11 -0.080 -0.080
12 0.005 0.009
0
4
-2
2 -4
-2
-4
150 200 250 300 350 400 450 500 550 600
1 -0.000 -0.000
2 -0.000 -0.000
3 -0.025 -0.025
4 -0.004 -0.004
5 0.011 0.011
6 0.030 0.029
7 0.083 0.083
8 0.002 0.002
9 0.035 0.037
10 -0.002 0.002
11 -0.072 -0.073
12 0.013 0.011
Figure 10: Correlogram of the residuals for the ARMA(2,2) model for y3
1 -0.091 -0.091
2 0.238 0.231
3 -0.004 0.036
4 0.065 0.013
5 0.003 0.002
6 0.018 0.000
7 0.031 0.031
8 -0.020 -0.022
9 -0.012 -0.031
10 -0.096 -0.098
11 -0.013 -0.021
12 -0.140 -0.105
1 -0.179 -0.179
2 -0.259 -0.300
3 0.112 -0.003
4 -0.062 -0.130
5 0.011 0.003
6 -0.025 -0.084
7 0.067 0.071
8 -0.027 -0.041
9 0.006 0.051
10 0.018 -0.006
11 -0.071 -0.038
12 0.038 0.005
1 -0.036 -0.036
2 -0.101 -0.102
3 -0.026 -0.034
4 0.022 0.009
5 -0.018 -0.023
6 0.044 0.046
7 0.061 0.063
8 0.006 0.019
9 0.025 0.043
10 0.005 0.012
11 -0.078 -0.072
12 0.029 0.026
Figure 14: Actual values and static vs dynamic forecasts for y1 in the sample 501 - 600
Figure 15: Actual values and static vs dynamic forecasts for y2 in the sample 501 - 600
Figure 16: Actual values and static vs dynamic forecasts for y3 in the sample 501 - 600
0
86 88 90 92 94 96 98 00 02 04 06 08 10 12
-0.912779 0.782
Test critical values: 1% level -3.460884
5% level -2.874868
10% level -2.573951
-8.810261 0.000
Test critical values: 1% level -2.575813
5% level -1.942317
10% level -1.615712
Table 11: The Augmented Dickey-Fuller test
AR / MA 0 1 2
0 -0.276287 -0.514755 -0.544955
1 -0.596637 -0.611789 -0.627400
2 -0.600159 -0.622702 -0.622388
3 -0.615346 -0.621617 -0.616286
4 -0.611976 -0.615451 -0.610219
5 -0.619612 -0.615223 -0.621251
6 -0.616315 -0.612577 -0.621058
7 -0.613225 -0.607978 -0.621052
8 -0.611476 -0.607423 -0.611349
9 -0.614132 -0.610542 -0.609949
10 -0.615026 -0.650287 -0.644754
11 -0.615257 -0.645099 -0.641540
12 -0.609648 -0.640053 -0.638794
Table 12: ARIMA selection with BIC for Dr
1 -0.016 -0.016
2 0.005 0.005
3 -0.014 -0.014
4 0.064 0.064
5 0.040 0.042
6 0.035 0.036
7 0.000 0.003
8 -0.044 -0.047
9 0.049 0.044
10 0.020 0.016
11 0.011 0.007
12 0.021 0.027
Breusch-Godfrey
Serial Correlation LM Test:
F-statistic 0.090390 F(2,202) 0.913
Obs*R-squared 0.187771 Chi-Sq(2) 0.910
Heteroskedasticity Test: ARCH
F-statistic 35.80092 F(1,207) 0.000
Obs*R-squared 30.81699 Chi-Sq(1) 0.000
Heteroskedasticity Test: White
F-statistic 4.645695 F(21,188) 0.000
Obs*R-squared 71.74515 Chi-Sq(21) 0.000
Table 14: Diagnostic tests on the residuals of ARMA(5,2) model for Dr
brT+1 = rT + Dr
c T+1 .
When we use this method, we add to the forecast series the suffix
“differences,” in order to clarify that the forecast for rT+1 has been
obtained indirectly from the model specified in differences.
As an alternative, we can specify a model for the level of the interest
rate r and produce a forecast for rT+1 directly.
Breusch-Godfrey
Serial Correlation LM Test:
F-statistic 0.660035 F(2,200) 0.518
Obs*R-squared 1.344200 Chi-Sq(2) 0.510
Heteroskedasticity Test: ARCH
F-statistic 26.24542 F(1,202) 0.000
Obs*R-squared 23.45749 Chi-Sq(1) 0.000
Heteroskedasticity Test: White
F-statistic 11.92362 F(6,198) 0.000
Obs*R-squared 54.41108 Chi-Sq(6) 0.000
Table 16: Diagnostic tests on the residuals of AR(11) model for r
Figure 19: The actual values of r against the forecasted series: dynamic or multi-steps ahead
forecasts for the period 2003 - 2006
Figure 20: The actual values of r against the forecasted series: static or one-step ahead forecast,
for the period 2003 - 2006.
RMSFE MAFE
Levels 0.0868 0.0637
Differences 0.1075 0.0834
Table 17: Forecast evaluations for the one-step ahead forecasts
RMSFE MAFE
Levels 0.1491 0.0694
Differences 0.1552 0.0703
Table 19: Forecast evaluations for the one-step ahead forecasts
-1
III IV I II III IV I II III IV I II III IV I II III IV I II III IV
2007 2008 2009 2010 2011 2012
RF_2STEPS
RF_2STEPS_DIRECT
R
Figure 23: Actual vs 2-steps ahead forecasted r series, period 2007 - 2012
RCPI
1.2
0.8
0.4
0.0
-0.4
-0.8
-1.2
-1.6
-2.0
86 88 90 92 94 96 98 00 02 04 06 08 10 12
Figure 24: The series of real changes in private inventories for the US for 2007 - 2012
1 0.385 0.385
2 -0.083 -0.272
3 -0.087 0.075
4 -0.320 -0.421
5 -0.152 0.263
6 -0.003 -0.303
7 -0.002 0.290
8 0.220 -0.093
9 0.089 0.016
10 -0.186 -0.272
11 -0.206 -0.021
12 -0.165 -0.009
13 -0.048 -0.054
14 0.039 -0.035
15 0.020 -0.112
t-Statistic Prob.*
1.0
0.5
0.0
0.8
-0.5
0.4
-1.0
0.0
-0.4
-0.8
-1.2
1986 1988 1990 1992 1994 1996 1998 2000 2002
Figure 26: Actual vs fitted and residuals from ARMA(3,2) for rcpi, 1986 - 2002
1 -0.013 -0.013
2 0.029 0.029
3 0.054 0.055
4 -0.017 -0.017
5 0.015 0.012
6 -0.071 -0.073
7 0.054 0.053
8 -0.215 -0.214
9 0.064 0.073
10 0.165 0.175
11 0.005 0.031
12 -0.031 -0.070
Breusch-Godfrey
Serial Correlation LM Test:
F-statistic 0.054017 F(2,61) 0.947
Obs*R-squared 0.121987 Chi-Sq(2) 0.940
0.8
0.6
0.4
0.2
0.0
-0.2
I II III IV I II III IV I II III IV I II III IV
2003 2004 2005 2006
RCPI
RCPIF_1STEP
RCPIF_HSTEPS
Figure 28: The one-step ahead and the h-steps ahead forecast series against the actuals for rcpi,
1986 - 2002
1.2
1.0
0.8
0.6
0.4
0.2
0.0
-0.2
I II III IV I II III IV I II III IV I II III IV
2003 2004 2005 2006
RCPI
RCPI_2STEPS
RCPI_2STEPS_DIRECT
Figure 29: The two-steps ahead forecasts against the actuals for rcpi, 1986 - 2002
0.8 -1
0.4 -2
0.0 -3
-0.4
-0.8
-1.2
86 88 90 92 94 96 98 00 02 04 06 08
Figure 30: The residuals of the estimated AR(7) model for rcpi in the extended sample including
the crisis
1 -0.070 -0.070
2 0.024 0.019
3 0.112 0.115
4 -0.089 -0.075
5 -0.106 -0.126
6 0.053 0.031
7 0.134 0.174
8 -0.138 -0.110
9 0.066 0.004
10 0.105 0.093
11 -0.132 -0.064
12 -0.130 -0.173
Figure 31: Correlogram of the residuals of the AR(7) model for rcpi
Breusch-Godfrey
Serial Correlation LM Test:
F-statistic 3.429180 F(2,84) 0.037
Obs*R-squared 7.020020 Chi-Sq(2) 0.029
0.8
0.6
0.4
0.2
0.0
-0.2
-0.4
I II III IV I II III IV I II III IV
2010 2011 2012
RCPI RCPIF_1STEP
RCPIF_2STEPS RCPIF_HSTEPS
Figure 32: Forecasts from AR(7) model for rcpi against the actuals 2010 - 2012
1.0 0
0.5 -1
0.0 -2
-0.5
-1.0
86 88 90 92 94 96 98 00 02 04 06 08
Figure 33: Residuals of the mis-specified model which does not contain the dummy variable
c accounting
Eric Ghysels &for the crisisMarcellino
Massimiliano 2018 Edition 241 / 248
1-step
Figure 34: 1-step forecasts not accounting for the crisis (no dummy) against those obtained
through the richer specification containing the dummy, against the actuals
Figure 35: h-steps forecasts not accounting for the crisis (no dummy) against those obtained
through the richer specification containing the dummy, against the actuals
Figure 36: 2-steps forecasts not accounting for the crisis (no dummy) against those obtained
through the richer specification containing the dummy, against the actuals
Figure 37: 2-steps direct forecasts not accounting for the crisis (no dummy) against those
obtained through the richer specification containing the dummy, against the actuals
The models we have considered are overall rather simple, since they
basically explain the variable of interest using its past only. Hence, a
natural question is whether these univariate time series methods are
useful in practice. The answer is yes, for the following reasons.
From a theoretical perspective, any weakly stationary process (or
integrated process after proper differencing) can be written as an
MA(∞), and under mild conditions the latter can be approximated by
an ARMA model.
The high persistence of several economic variables suggests that
forecasting methods that exploit the present and the past behavior of
the variable to predict the future can perform well.