TS Module 14 Model diagnostics residual analysis practice problems


TS Module 14 Model diagnostics residual analysis practice problems

Author
Message
NEAS
Supreme Being
Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)Supreme Being (5.9K reputation)

Group: Administrators
Posts: 4.5K, Visits: 1.6K

TS Module 14 Model diagnostics residual analysis practice problems

 

(The attached PDF file has better formatting.)

 

Cryer and Chan chapter 8 model diagnostics residual analysis

 

 

** Exercise 14.1: MA(2) process

 

An AR(2) process is Yt = ö1 Yt-1 + ö2 Yt-2 + è0 + et.

 

ö1 = 0.5, ö2 = 0.3, and è0 = 1

 


A.    What is the expected value for YT in terms of Yt-1 and Yt-2?

B.    What is the residual in Period T in terms of YT, Yt-1, and Yt-2?

C.    If Y1 = 4, Y2 = 6, and Y3 = 5, what is e3? 

 

Part A: The expected value of Yt = ö1 Yt-1 + ö2 Yt-2 + è0 = 0.5 Yt-1 + 0.3 Yt-2 + 1.

 

Part B: The residual in Period T = åt = Yt – (0.5 Yt-1 + 0.3 Yt-2 + 1).

 

Part C: 5 = 0.5 × 4 + 0.3 × 6 + 1 + e3 = 4.8 e3 = –0.2

 

This problem is simple. More complex problems use an ARMA(1,1) process. You figure out the residual in Period T from the actual and expected values and then use the residual to forecast the Period T+1 value.

 


 

** Exercise 14.2: Residuals

 

If a stationary ARMA process with n elements is correctly specified, which of the following are true?

 


 

A.    All the residuals = 0

B.    The sum of the residuals = 0

C.      (residual – mean residual)2 / (n – 1) = ó2e

D.    The residuals have (approximately) expected values of zero and constant variance

E.    The residuals approach zero asymptotically as n    

 

Part A: The residual åt = yt – ŷt. 

 

yt is a random variable with a variance, so åt is also a variance with a variance. It does not equal zero.

 

Part B: Each residual has a variance of ó2ε. The residuals are independent, so the sum of the residuals has a variance of n × ó2ε.

 

Jacob: In regression analysis, the sum of the residuals is zero. Why is that not true here?

 

Rachel: If we know the true regression coefficients, the sum of the residuals is not zero. If we don’t know the true regression coefficients, ordinary least squares estimation chooses values that force the sum of residuals to be zero. This exercise assumes the ARMA process is correctly specified: that is, the autoregressive and moving average parameters are correct, not the estimates from a sample.

 

Part C: As n ∞, ∑ (residual – mean residual)2 / (n – 1) = ó2e. In a finite sample with n < ∞, the equation is not exact.

 

Part D: The statement is correct. Each estimated value is the true expected value, so the residuals have expected values of zero. The variance of the residuals is constant: even if the residual is large in Period T, the residual in Period T+1 has an expected value of zero and the same variance as other residuals.

 

Part E: The residuals have a constant variance; they don’t approach zero asymptotically.

 

See Cryer & Chan, page 176: “If the model is correctly specified and the parameter estimates are reasonably close to the true values, then the residuals should have nearly the properties of white noise. They should behave roughly like independent, identically distributed normal variables with zero means and common standard deviations.”

 


 

** Exercise 14.3: An AR(1) process of 100 values (n = 100) has ö = 0.9.

 


 

A.                  What is the standard deviation of ?

B.      What is the standard deviation of ?

C.      What is the standard deviation of ?

 

 

Part A: The standard deviation of is ö / √n = 0.9 / 10 = 0.090.

 

See Cryer and Chan, page 180, equation 8.1.5.

 

Part B: The variance of is [1 – (1 – ö2) × ö2 ] / n = [1 – (1 – 0.92) × 0.92] / 100 = 0.00846.

 

The standard deviation of is 0.008460.5 = 0.09198.

 

See Cryer and Chan, page 180, equation 8.1.6.

 

Part C: The standard deviation of is approximately 1 / √n = 0.10. This approximation is true for large n.

 

See Cryer and Chan, page 181.


 

** Exercise 14.4: Box-Pierce Q statistic

 


 

A.    What is the Box-Pierce Q statistic for a time series with n elements and k lags?

B.    What is the Ljung-Box Q statistic for a time series with n elements and k lags?

C.    Which is larger: the Box-Pierce Q statistic or the Ljung-Box Q statistic?

D.    What distribution does the Box-Pierce Q statistic have?

E.    How many degrees of freedom does the Box-Pierce Q statistic have?

 


 

Part A: The Box-Pierce Q statistic is

 

n ×

 

See Cryer and Chan, page 183, equation 8.1.11.

 

Part B: The Ljung-Box Q statistic is

 

Q = n × (n+2) ×

 

See Cryer and Chan, page 184, equation 8.1.12.

 

Part C: The Ljung-Box Q statistic is larger, since (n+2) > (n-1), (n-2), …, or (n-k).

 

See Cryer and Chan, page 184, equation 8.1.12: “Since (n+2)/(n-k) > 1 for every K ≥ 1, we have Q* > Q, which partly explains why the original statistic Q tended to overlook inadequate models.”

 

Part D: The Box-Pierce Q statistic has an approximate chi-square distribution.

 

Jacob: The Box-Pierce Q statistic is a number, not a distribution. What is this question asking?

 

Rachel: The Box-Pierce Q statistic is the sum of k random variables, each of which has a distribution. The sum of these random variables is also a random variable, and it has a χ-squared distribution.

 

Part E: The degrees of freedom = k – p – q = 15 – 3 – 1 = 11.

 

See Cryer and Chan, page 183, equation 8.1.11.

 

 


Attachments
GO
Merge Selected
Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

  • Login with twitter
  • Login with twitter
Select a Forum....













































































































































































































































Neas-Seminars

Search