ECMT6006 2021S1 Assignment 2 Due: 23:59 Sunday 6 June 2021 Please compile your solutions in ONE file (not including the program code which you can submit separately) and submit it via Turnitin in Canvas. You can either handwrite or type your answers. For the empirical questions, please present the figures and provide your analyses/interpretations properly. If you use MATLAB, you can present your answers using livescript exported in a doc- ument format. Except for special circumstances, I DO NOT accept late sub- mission. Note: Patton (2019) refers to the reference textbook by Andrew Patton. Question 1. Question 3 in Section 5.10.2 on Page 185 in Patton (2019). Question 2. Question 4 in Section 5.10.2 on Page 186 in Patton (2019). Question 3. In this question, you will use the S&P500 index daily prices 1 over the period 2010–2015. Please convert the daily prices into continuously compounded returns, and then use the return series to answer the following questions. (i) Consider a ARMA(p, q) conditional mean model (allowing for the constant term) for the returns with p = 0, 1, . . . , 5 and q = 0, 1, . . . , 5. Use the three information criteria discussed in class (AIC, HQIC, BIC) to select the best model. Report your results. (ii) Obtain the residuals from the conditional mean model selected by BIC, and estimate a GARCH(1,1) model using the residuals. Report the estimated parameters in this conditional mean and conditional variance model. (iii) Plot the estimated conditional volatility in annualized standard deviation2. Question 4. Use the 2010–2015 daily S&P 500 index returns that you obtained for Question 3, estimate the conditional 5%-VaR using the below two methods. (i) (Historical Simulation) Use the daily data in the whole year 2010 to ob- tain the empirical distribution of the return on the first day of 2011, and compute the 5%-VaR on the first day of 2011. Next, repeat this day after day using a one-year rolling window, and obtain the daily VaR forecast from 2011 to 2015. 1In the same data file SP500 YahooFinance.csv provided in Assignment 1. 2The annualized standard deviation is computed as √ 252× daily standard deviation, be- cause there are normally 252 trading days in a year. 1 (ii) (Parametric GARCH Model) Assume the daily returns follow the below model with constant conditional mean and GARCH(1,1) conditional vari- ance: rt = μ+ εt, εt = σtνt, νt ~ i.i.d. N(0, 1), σ2t = ω + αε 2 t 1 + βσ 2 t 1. Estimate the daily conditional 5%-VaR process and and make a time-series plot of it. Question 5. Question 1 in Section 9.10.2 on Page 331 in Patton (2019). Question 6. Question 2 in Section 9.10.2 on Page 333 in Patton (2019). Question 7. (Forecasting evaluation and comparison) You can find monthly term premium on a 10-year zero coupon bond from April 1953 to December 2013 (T = 729 observationss) in the file “term premium.xlsx”. In this exercise, you will use this dataset to (a) generate forecasts using an ARMA(1,1) and a “Random Walk” model, (b) evaluate the optimality of the model forecasts, and (c) compare these two model forecasts. (i) Generate a time-series plot of the term premium data in the data file term premium.xlsx, with a proper x-label and y-label. (ii) Use the first half of the sample (first R = 364 observations from April 1953 to July 1983) to estimate a stationary ARMA(1,1) model Yt = φ0 + φYt 1 + εt + θεt 1, εt ~ i.i.d. WN(0, σ2), and obtain the parameter estimates φ 0, φ , θ . (iii) What is the feasible one-step-ahead forecast Y t+1|t (iv) Let ε 0 = 0 and Y0 = φ 0/(1 φ ),3 compute Y t+1|t for t = 0, 1, . . . , T 1 and plot them together with the real data Yt for t = 1, . . . , T . (v) Note that Y t+1|t for t = R, . . . , T 1 are fixed window forecasts in the out- of-sample analysis of the above ARMA(1,1) model. Compute the forecast errors et+1|t = Yt+1 Y t+1|t for t = R, . . . , T 1, and generate a time-series plot of them. (vi) What would you expect for the serial correlation of the forecast errors if the above forecasts are optimal Plot the sample ACF of the forecast error series {et+1|t, t = R, . . . , T 1}, and conduct bot Ljung-Box test and robust test on the joint serial correlation with lages L = 5, 10, 20. What is your conclusion by examining the ACF plot and the test results 3Note that E(εt) = 0 and E(Yt) = φ0/(1 φ) in this model. Here we just set the initial values of ε and Y to be their unconditional means. 2 (vii) The “Mincer-Zarnowitz” (MZ) regression4 regresses the realized data on its forecast and a constant. The null hypothesis is that the intercept is 0 and the slope is 1. Now consider an alternative and equivalent formulation: et+1|t = α0 + α1Y t+1|t + ut+1. (1) What parameter restrictions would you test in this regression to examine the optimality of Y t+1|t Run regression (1) using your data on et+1|t and Y t+1|t for t = R, . . . , T 1, and conduct a test to draw conclusion on the optimality of your forecasts. (viii) Now consider an alternative model Yt = Yt 1 + εt, εt ~ i.i.d. WN(0, σ2). which is a “Random Walk”. What is the best one-step-ahead forecast Y t+1|t for this model (ix) Repeat steps (v), (vi), (vii) for the Random Walk model. (x) Compare the forecasts from the ARMA(1,1) model and Random Walk model by a “Diebold-Mariano” (DM)5 test with a squared error loss func- tion. Specifically, the difference of the two losses is dt = (e a t+1|t) 2 (ebt+1|t)2, t = R, . . . , T 1 where eat+1|t and e b t+1|t denote the forecast errors from the ARMA(1,1) model and Random Walk model respectively. Conduct a DM test by testing the zero mean of dt using a robust t-test with both White and Newey-West robust errors. Draw your conclusion on which model is better in terms of forecasting power. Question 8. Question 1 in Section 11.7.2 on Page 408 in Patton (2019) Question 9. Question 2 in Section 11.7.2 on Page 409 in Patton (2019) 4See Section 6.2 on Page 192–195 in the textbook. 5See Section 6.3 on Page 201–205 in the textbook. 3