7350L03
7350L03
Eric Eisenstat
Lecture 3
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 1 / 24
Estimation of Univariate Time Series Models
Recommended readings
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 2 / 24
Univariate Autoregressive Moving Average Models
ARMA(1, 0)
yt = a0 + a1 yt−1 + εt
ARMA(0, 1)
yt = a0 + εt + β1 εt−1
ARMA(1, 1)
yt = a0 + a1 yt−1 + εt + β1 εt−1
ARMA(2, 2)
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 3 / 24
ACF and PACF
The ACF and PACF can be helpful starting point in identifying reasonable
model structures.
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 4 / 24
Coles Myers Dividend Yield Series, 1983Q3–2003Q3
DIVYIELD
8
1
84 86 88 90 92 94 96 98 00 02
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 6 / 24
Model Identification for the Coles Myers Dividend Yield
Data
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 7 / 24
Estimation and Diagnostics
Recall that a pure AR model (i.e. with no MA lags, or equivalently
ARMA(p, 0)) can be estimated using OLS.
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 8 / 24
Estimation and Diagnostics
AR(1) MA(1)
Dependent Variable: DIVYIELD Dependent Variable: DIVYIELD
Method: ARMA Maximum Likelihood (BFGS) Method: ARMA Maximum Likelihood (BFGS)
Date: 03/10/16 Time: 15:42 Date: 03/10/16 Time: 15:40
Sample: 1983Q3 2003Q3 Sample: 1983Q3 2003Q3
Included observations: 81 Included observations: 81
Convergence achieved after 5 iterations Convergence achieved after 7 iterations
Coefficient covariance computed using outer product of gradients Coefficient covariance computed using outer product of gradients
Variable Coefficient Std. Error t-Statistic Prob. Variable Coefficient Std. Error t-Statistic Prob.
R-squared 0.705297 Mean dependent var 3.927654 R-squared 0.531414 Mean dependent var 3.927654
Adjusted R-squared 0.697741 S.D. dependent var 1.221629 Adjusted R-squared 0.519398 S.D. dependent var 1.221629
S.E. of regression 0.671628 Akaike info criterion 2.093954 S.E. of regression 0.846900 Akaike info criterion 2.553966
Sum squared resid 35.18461 Schwarz criterion 2.182637 Sum squared resid 55.94466 Schwarz criterion 2.642650
Log likelihood -81.80513 Hannan-Quinn criter. 2.129535 Log likelihood -100.4356 Hannan-Quinn criter. 2.589547
F-statistic 93.33682 Durbin-Watson stat 1.917667 F-statistic 44.22903 Durbin-Watson stat 1.324738
Prob(F-statistic) 0.000000 Prob(F-statistic) 0.000000
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 9 / 24
Criteria for Model Selection
Once a set of models is estimated, we can use information criteria to
choose amongst the models in a more formal way and reduce the set.
The AIC is 2.554 for MA(1) and 2.094 for AR(1). Which is better?
The BIC is 2.642 for MA(1) and 2.182 for AR(1). Which is better?
Do the AIC and BIC agree on the preferred specification? How does this
compare to what was suggested by the SACF and SPACF?
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 11 / 24
Analyzing the Residuals
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 12 / 24
The Q-Statistic
A process with zero autocorrelation is called white noise.
Sampling distribution of QK :
observed time series: QK ∼ χ2K ;
estimated residuals of an ARMA(p, q): QK ∼ χ2K−p−q .
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 13 / 24
Inference With Time-Series Data
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 14 / 24
Strategy to Fitting ARMA(p, q)
Identification
1. Plot the data and decide an appropriate process to begin with.
2. Use the SACF and SPACF to suggest how many AR or MA terms.
3. Construct a set of adequate ARMA models.
Estimation and Diagnostics
4. Estimate each model in the constructed set.
5. Reduce this set by choosing models with “low” IC metrics (AIC, BIC).
6. Look at the SACF, SPACF and Q-statistic for the residuals; eliminate
any model for which a white noise residual is rejected.
7. If the resulting set is “too small”, add models with more AR and MA
lags, then repeat Steps 4-6.
Inference
8. Compare results across the final set of models; interpret accordingly.
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 15 / 24
Lag Operator Notation
Definition
The lag operator L applied to a stochastic process {yt } transforms a
realisation at time t into a realisation at time t − 1, i.e.
yt−1 = Lyt .
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 16 / 24
AR and MA representations of the ARMA(p, q)
If the ARMA(p, q) is stable, then a(L) can be inverted to produce the pure
MA representation yt = a0 /a(1) + θ(L)εt , where
β(L)
a(1) = 1 − a1 − · · · − ap , θ(L) = ,
a(L)
a(L)
b(1) = 1 + b1 + · · · + bq , φ(L) = .
β(L)
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 18 / 24
Forecast Uncertainty
But point forecasts on their own are difficult to interpret.
If all parameters were known, the forecast error variance would be:
1−a2h
Example: For an AR(1), Var(yT +h − ybT +h ) = σε2 1
1−a21
.
∂yt+h
The impulse response function (IRF) is the partial derivative ∂εt for all
h ≥ 0. In a linear model, this is equivalent to
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 20 / 24
Estimating Impulse Response Functions
Given an estimated ARMA(p, q), the IRF can be obtained by either
iteratively computing ybt+h for εt = 1 and iteratively computing ȳt+h
for εt = 0, then setting IR(h) = ybt+h − ȳt+h , or
by computing θ(L) = β(L)/a(L).
θ(L) can be derived from a(L) and β(L) using the method of
undetermined coefficients (see Enders pp. 33–42).
If the ARMA(p, q) is stable, then IRFs decay to zero; otherwise they either
explode to ±∞ or, in a special case that will be discussed soon, converge
to a non-zero constant.
We wish to find
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 22 / 24
Method of Undetermined Coefficients for the ARMA(2, 1)
which leads to
L0 : 1 = 1,
L1 : 0.3 = θ1 − 1.2 ⇒ θ1 = 1.5,
2
L : 0 = θ2 − 1.2θ1 + 0.7 ⇒ θ2 = 1.1,
3
L : 0 = θ3 − 1.2θ2 + 0.7θ1 ⇒ θ3 = 0.27,
k
L : 0 = θk − 1.2θk−1 + 0.7θk−2 ⇒ θk = 1.2θk−1 − 0.7θk−2 .
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 23 / 24
IRF to a shock εt = 1
1.5
0.5
−0.5
−1
0 10 20 30 40
Eric Eisenstat (School of Economics) Applied Econometrics for Macro and Finance Week 3 24 / 24