

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Eric Zivot Econ 424 Fall 2008
Problem Set # Constant Expected Return Model and Bootstrapping Due: Wednesday 10/29/08 at the beginning of class
Readings
Programs and Data
Instructions
In this lab you will use R to
Exercises
The following questions require R. On the class web page are the script files lab5.r, cerModelExamples.r and bootstrap.r. The former contains hints for completing the assignment, and the latter files contains the code for the doing the examples from class. As in lab 4, copy and paste all statistical results and graphs into a MS Word document while you work, and add any comments and answer all questions in this document. Please do not turn in the assignment without comments!
Continuously compounded monthly return data on Vanguard long term bond index fund (VBLTX), Fidelity Magellan stock mutual fund (FMAGX), General Motors stock (GM) are in the comma separated value (csv) file 424lab4returns.csv on the class webpage (same data from lab 4). Download the file to disk and make note of the location.
Start R and load the data into R using the commands in the script file. The first question is the same from lab4. The bootstrapping questions will build on these results.
2
cov( , )
it i it it i it jt ij
R t T iid N
where Rit denotes the continuously compounded return on asset i, i =Vanguard long term bond index fund (VBLTX), Fidelity Magellan stock mutual fund (FMAGX), General Motors stock (GM). The commands in the R script file lab4.r will be helpful in completing this assignment.
a) Using sample descriptive statistics, give estimates for the model parameters , 2 , , and
o The R functions mean(), var(), sd() and cor() together with the R function apply() can be used to compute these estimates from the matrix object ret.mat.
comment on the precision of the estimates. o The formulas for these standard errors were given in class, and are given in the lecture notes on the constant expected return model
estimated standard error using the bootstrap with 1000 bootstrap replications. That is
standard errors to the analytic standard errors you computed in Question 1 part (b). b) Plot the histogram and qq-plot of the bootstrap distributions you computed in part (a). Do the bootstrap distributions look normal? c) For each asset, compute estimates of the 5% value-at-risk. Use the bootstrap to
compute SE VaR ˆ^ ( ˆ .05 )values as well as 95% confidence intervals. Briefly comment on the accuracy of the 5% VaR estimates.