Tsay For CH 3, 4
Tsay For CH 3, 4
Without specific values for $R_{100}$ and $\varepsilon_{99}$, we express the forecast as:
^ 101∣100 = 0.01 + 0.2ε100
R
This equals the mean because MA(1) effects only last for one period.
Step 3: Computing forecast error standard deviations
For 1-step ahead, the forecast error is:
^ 101∣100 = ε101
e101∣100 = R101 − R
1+θ12
= 1+(0.2)2
= 1.04
≈ 0.1923
ρ2 = 0
where $a_t$ is Gaussian white noise with mean zero and variance 0.02.
Required:
1. Find the mean and variance of the return series
2. Find the lag-1 and lag-2 autocorrelations
3. Assuming $r_{98} = -0.01$ and $r_{99} = 0.02$, compute 1-step and 2-step ahead forecasts at
origin $t = 100$
4. Find the standard deviations of forecast errors
Solution
Step 1: Identifying the model type
This is an AR(2) model with a "gap" - the coefficient for $r_{t-1}$ is zero.
Step 2: Mean and variance
For this AR(2) model, the mean is:
c 0.01 0.01
μr =
1−ϕ1 −ϕ2
= 1−0−0.2 = 0.8 = 0.0125
Step 3: Autocorrelations
For an AR(2) model, autocorrelations follow:
ρ1 = ϕ1 + ϕ2 ρ1
For lag-2:
ρ2 = ϕ1 ρ1 + ϕ2 = 0 × 0 + 0.2 = 0.2
Step 4: Forecasts
For 1-step ahead forecast:
r^101∣100 = 0.01 + 0.2r99 = 0.01 + 0.2 × 0.02 = 0.01 + 0.004 = 0.014
Therefore:
r^102∣100 = 0.01 + 0.2 × 0.008 = 0.01 + 0.0016 = 0.0116
Therefore:
σe2102∣100 = (0.2)2 σa2 + σa2 = 1.04 × 0.02 = 0.0208
2. If this equation has complex roots with modulus less than 1, the model implies cyclical behavior.
3. The cycle length would be calculated as: Cycle period = cos (ϕ2π/2 ϕ )
−1
1
2
Step 6: Forecasting
For a fitted ARIMA model, we would generate point forecasts and prediction intervals for April-July
2009 using the recursive forecasting equations.
Exercise 2.4: Analysis of Stock Decile Returns
Problem
Analyze monthly returns of stock deciles based on market cap from 1970-2008:
1. Test if first 12 autocorrelations are zero for Decile 2 and 10
2. Build an ARMA model for Decile 2
3. Produce 1- to 12-step ahead forecasts
Solution
Step 1: Testing autocorrelations
We would use the Ljung-Box Q-statistic to test if the first 12 autocorrelations are jointly zero:
12 ρ^2k
Q(12) = T (T + 2) ∑k=1
T −k
Under the null hypothesis (no autocorrelation), this follows a $\chi^2(12)$ distribution.
The decision rule:
If $Q(12) > \chi^2_{0.95}(12) = 21.03$, reject the null hypothesis
Otherwise, fail to reject
Step 2: ARMA modeling for Decile 2
If we reject the null in Step 1, we would:
1. Examine ACF and PACF patterns to identify appropriate ARMA(p,q) orders
2. Estimate parameters for candidate models
3. Check residual diagnostics (white noise properties)
4. Select the best model using AIC/BIC
For stock returns, common models include ARMA(1,1), AR(1), or MA(1).
Step 3: Forecasting
For the selected ARMA(p,q) model, we would compute:
1. Point forecasts for 1-12 steps ahead using the recursive formulas
2. Standard errors of the forecasts
3. Prediction intervals based on normal distribution
The general form for h-step ahead forecast:
r^T +h∣T = ϕ0 + ∑pi=1 ϕi r^T +h−i∣T + ∑qj=1 θj ε^T +h−j∣T
Where:
$r_t$ is the daily return
$D_{1t}, D_{2t}, D_{3t}, D_{4t}$ are dummy variables for Monday, Tuesday, Wednesday, and
Thursday
$\beta_0$ represents the mean return on Friday (reference category)
$\beta_j$ represents the difference between day j and Friday
Step 2: Estimation and testing
We would:
1. Estimate the model using OLS
2. Test individual coefficients with t-tests
3. Test joint significance with an F-test
Step 3: Residual analysis
Check residuals for:
Serial correlation (Durbin-Watson test)
Heteroskedasticity (White test)
Normality (Jarque-Bera test)
Step 4: Model refinement
If residuals show serial correlation, refine the model with ARMA errors:
rt = β0 + β1 D1t + β2 D2t + β3 D3t + β4 D4t + ut
Step 5: Interpretation
Interpret coefficient estimates as:
$\hat{\beta}_0$: Average return on Friday
$\hat{\beta}_0 + \hat{\beta}_1$: Average return on Monday
etc.
A significant negative $\hat{\beta}_1$ would indicate the "Monday effect" (lower returns on Mondays).
Exercise 2.8: S&P Composite Returns and Weekday Effects
Problem
Analyze daily S&P returns to:
(a) Test for weekday effects
(b) Check residual serial correlations
(c) Refine model if necessary
Solution
Step 1: Model for weekday effects
Same regression model as in Exercise 2.7:
rt = β0 + β1 D1t + β2 D2t + β3 D3t + β4 D4t + εt
Step 2: Testing procedures
For weekday effects:
Individual t-tests: $H_0: \beta_j = 0$ vs. $H_1: \beta_j \neq 0$
Joint F-test: $H_0: \beta_1 = \beta_2 = \beta_3 = \beta_4 = 0$
For residual autocorrelation:
Ljung-Box Q(12) statistic
Compare with critical value $\chi^2_{0.95}(12) = 21.03$
Step 3: Model refinement
If Q(12) is significant, refine model with ARMA errors:
1. Identify appropriate ARMA orders using ACF/PACF of residuals
2. Estimate regression with ARMA errors
3. Check refined model's residuals
4. Re-evaluate weekday effects with more efficient estimates
Step 4: Interpretation
Compare results with the general finance literature on calendar anomalies, which typically finds:
Negative Monday returns ("weekend effect")
Positive Friday returns
Different patterns in different market periods
Exercise 2.9: IBM Stock Weekday Effect Analysis
Problem
Similar to Exercise 2.8, but for IBM stock returns:
(a) Test for weekday effects
(b) Check for residual serial correlations
(c) Refine model using time series errors
Solution
Step 1: Regression model for weekday effects
rt,IBM = β0 + β1 D1t + β2 D2t + β3 D3t + β4 D4t + εt
For excess kurtosis:
^
zK = K
∼ N(0, 1)
24/T
Step 3: Interpretation
For bond yields:
Positive skewness would indicate more frequent small decreases but occasional large increases
Excess kurtosis would indicate more frequent extreme movements than normal distribution
Compare Aaa vs. Baa yields for differences in distribution characteristics
Exercise 2.11: Time Series Model for Aaa Bond Yields
Problem
Build a time series model for monthly Aaa bond yields from the previous exercise.
Solution
Step 1: Data analysis
1. Plot the time series to identify trends and patterns
2. Test for stationarity using ADF test
3. Transform if necessary (e.g., differencing)
Step 2: Model identification
Based on ACF and PACF patterns:
Slowly decaying ACF suggests non-stationarity or high persistence
Significant PACF at first few lags suggests AR process
For bond yields, ARIMA(p,d,q) models are common, especially ARIMA(1,1,0) or ARIMA(2,1,0)
Step 3: Model estimation
Fit candidate models using maximum likelihood estimation and select best model based on:
Information criteria (AIC/BIC)
Residual diagnostics
Parameter stability
Step 4: Model validation
Check residuals for autocorrelation, heteroskedasticity, normality
Perform out-of-sample forecast evaluation
Test for parameter stability across subsamples
Step 5: Interpretation
Interpret model parameters in terms of:
Mean reversion properties (speed of adjustment)
Persistence of shocks
Implications for bond pricing and interest rate modeling
Exercise 2.12: Relationship Between Aaa and Baa Yields
Problem
Analyze the relationship between Aaa and Baa bond yields using a time series model.
Solution
Step 1: Cointegration analysis
First, determine if the two yield series are cointegrated:
1. Test both series for unit roots (typically both I(1))
2. Test for cointegration using Johansen procedure
3. If cointegrated, estimate a Vector Error Correction Model (VECM)
4. If not cointegrated, proceed with VAR in differences
Step 2: Model specification
If cointegrated, the VECM would be:
ΔytAaa = α1 (yt−1
Aaa
Baa
− βyt−1
− c) + short-term dynamics + ε1t
ΔytBaa = α2 (yt−1
Aaa
− βyt−1
Baa
− c) + short-term dynamics + ε2t
Where:
$\alpha_1, \alpha_2$ are speed of adjustment parameters
$\beta$ is the long-run relationship coefficient
$c$ is a constant term
Step 3: Interpretation
The relationship between yields can be interpreted as:
The long-run credit spread ($y_{t}^{Baa} - y_{t}^{Aaa}$) tends to mean-revert
The speed of adjustment indicates how quickly yield spreads return to equilibrium
The coefficient $\beta$ indicates the sensitivity relationship between the yields
Step 4: Credit spread analysis
Analyze the credit spread series:
st = ytBaa − ytAaa
In logs:
ft − st = (r − d)(T − t)
Where:
$r$ is the risk-free rate
$d$ is the dividend yield
$T-t$ is time to maturity
Step 3: Estimation procedure
1. Estimate the regression model using OLS
2. Test residuals for autocorrelation
3. If autocorrelated, identify ARMA structure for $u_t$
4. Re-estimate using GLS or maximum likelihood
Step 4: Interpretation
$\beta_1$ captures the immediate impact of spot returns on the basis
The ARMA parameters in $u_t$ capture persistence in mispricing
The speed of mean reversion in $u_t$ indicates arbitrage efficiency
Exercise 2.15: GDP Deflator Analysis
Problem
Analyze quarterly GDP deflator for the US (1947-2008). Build an ARIMA model, check its validity, and
forecast inflation for each quarter of 2009.
Solution
Step 1: Data transformation
Convert GDP deflator to inflation rate:
πt = ln(GDP Dt ) − ln(GDP Dt−1 )
exp(∑hj=1 π
^T +j )
Step 6: Interpretation
Interpret the model in terms of:
Inflation persistence (AR parameters)
Mean-reverting behavior
Implications for monetary policy