Professional Documents
Culture Documents
2. [3 pt]. Suppose {Xt } is a mean-zero stationary time series. The best linear predictor
for Xt+1 , based on Xt and Xt−2 is of the form αXt + δXt−2 . Show that [α, γ] satisfies
a matrix-vector equation for the form
α c
A = 1 ,
δ c2
where A is a 2 × 2 matrix and c1 , c2 ∈ R. Derive both the matrix A and the numbers
c1 , c2 .
3. [2 pt]. Consider data x to which a time-series model is fitted using the sarima com-
mand. Part of the output is
Coefficients:
ar1 ar2 xmean
0.3143 0.2762 -0.3144
s.e. 0.0975 0.0978 0.2366
Write down the equation for the fitted model. Coefficients can be rounded to two
decimals.
1
4. [3 pt]. Suppose Zt ∼ WN(0, σ 2 ) and ψ > 0. Suppose the time-series {Xt } satisfies the
relation
Xt = ψXt−2 + Zt
with ψ such that a causal, stationary and invertible solution exists. Derive the best
predictor for Xt+3 based on {Xt , Xt−1 , . . . , X0 }. Carefully justify all steps in your
derivation.
5. (a) [1 pt]. Give the model equation(s) for a ARCH(1)-model. Be precise!
(b) [1 pt]. What is the best one-step-ahead linear predictor for the ARCH(2)-model?
(c) [1.5 pt]. State 3 stylised features of financial time-series that are incorporated in
the ARCH(2)-model.
6. In this exercise you will analyse time-series data for ‘coke‘ on the NYSE. The data can
be read into R by issuing the command
Y <- as.xts(read.zoo(’KO.csv’,header=TRUE))
Logreturns can be obtained with the command
LR <- diff(log(Y))[-1]
7. (a) [2 pt]. Construct a stationary ARMA time-series model for which the autocorrelation-
function ρ(h) satisfies ρ(h) = 0 for all h ∈ {1, 2, . . .} \ {2}, i.e. ρ vanishes for all
lags ≥ 1, except for lag 2. Don’t forget to verify stationarity.
(b) [2 pt]. Verify whether the model you propose is invertible and/or causal.
2
List of R commands
mean average
sd standard deviation
var variance
diff differencing of a vector
acf autocorrelation function
Acf autocorrelation function (lag 0 omitted)
pacf partial autocorrelation function
tsdisplay plot time-series, ACF and PACF
Box.test Box-Pierce or Ljung-Box test
kurtosis excess kurtosis
qqnorm and qqline make normal probability plot
ARMAacf theoretical ACF for an ARMA process
arima.sim simulate from a ARMA model
sarima fit ARMA-model (use “$fit” for the fitted object)
sarima.for forecast, assuming a ARMA-model
garchSpec specify GARCH model.
garchSim simulate from GARCH-model
garchFit fit GARCH-model
predict forecasts for fitted GARCH-model
residuals(gfit) residuals of fitted GARCH-model in gfit
residuals(gfit,
standardize=T) standardised residuals of fitted GARCH-model in gfit
volatility(gfit) volatility of fitted GARCH-model in gfit
3
4
Solutions
Cov(Xt , Xt−4 ) = Cov(a + bZt + cZt−4 , a + bZt−4 + cZt−8 ) = bcCov(Zt−4 , Zt−4 ) = bcσ 2
and
E [Xt−1 (Xt+1 − αXt − δXt−2 )] = 0
As E [Xt ] = 0 and the proces is stationary, this implies
Hence
γX (0) γX (2) α γX (1)
=
γX (2) γX (0) δ γX (3)
| {z }
A
3. We get
(Xt + 0.31) = 0.31(Xt−1 + 0.31) + 0.28(Xt−2 + 0.31) + Zt
where {Zt } ∼ IID N (0, 0.97).
4.
E [Xt+3 | Ft ] = E [ψXt+1 + Zt+3 | Ft ] = ψE [Xt+1 | Ft ] + E [Zt+3 | Ft ] .
The final term is equals E [Zt+3 ] by causality and independence. This in turn is zero.
Hence E [Xt+3 | Ft ] = ψE [Xt+1 | Ft ]. Now repeat the argument to get
5
5. (a) Let {Zt } ∼ IID(0, 1). Then Xt = σt Zt and σt2 = ω + αXt−1
2
. If students include
an intercept (so Xt = µ + σt Zt ), this is also OK.
(b) 0, as ARCH(p) is white noise.
(c) Heavy tails, volatility clustering, nonlinear dependence.
(f) ACF of squared standardised residuals looks OK. However, standardised residuals
do not seem to satisfy the assumed normality assumption. So the model assump-
tions are violated. See Fig 2 Use of innovations {Zt } that have a heavier tail may
help to improve the model, for example t-distributed random variables Zt .
7. (a) AR will never work since the ACF decays exponentially. So we need a pure MA-
model. If {Xt } ∼ MA(2) then for sure all autocorrs at lage ≥ 3 are zero. So
consider
Xt = Zt + θ1 Zt−1 + θ2 Zt−2 . {Zt } ∼ WN(0, σ 2 ).
This process is causal and stationary. Then
6
Series z
0.8
ACF
0.4
0.0
0 5 10 15 20 25 30
Lag
Series z^2
0.8
ACF
0.4
0.0
0 5 10 15 20 25 30
Lag
7
qnorm − QQ Plot
4
Sample Quantiles
2
0
−6 −4 −2
−3 −2 −1 0 1 2 3
Theoretical Quantiles
0.4
0.0
0 5 10 15 20 25 30
Lags