Homework 2 FE542 Solved

35.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: zip solution files instantly, after Payment

Securely Powered by: Secure Checkout

Description

5/5 - (1 vote)

Problem 1 (30pt)

Suppose that the daily log return of a security follows the AR(2) model:

rt = 0.03 + 0.2rt−2 + at

where at is a Gaussian white noise series with mean zeros and variance 0.1.

  • What are the mean and variance of the return series rt?
  • Compute the lag-1 and lag-2 autocorrelations of rt.
  • Assume that r100 = −0.02 and r99 = 0. Compute the 1- and 2-step ahead forecasts of the return series at the forecast origin t = 100. What are the associated standard deviations of the forecast errors?
  • In R create a report in pdf format using RMarkdown (or, if you choose to use Python instead, create a Jupyter notebook) to:
    • Simulate 1000 terms of this time series with r0 = −0.02 and r−1 = 0.
    • Using the generated time series, find the sample mean and variance. How do these values compare with those computed analytically?
    • Using the generated time series, find the sample lag-1 and lag-2 autocorrelations. How do these values compare with those computed analytically?
    • Consider how you might use repeated simulations to forecast this time series. Use your method with 1000 repeated simulations of the time series to forecast the 1- and 2-step ahead returns with rt = −0.01 and rt−1 = 0. What is the sample standard deviation? How do these values compare with those computed analytically?

Problem 2 (30pt)

Suppose that the simple return of a monthly bond index follows the MA(1) model:

Rt = at + 0.2at−1

where at is a Gaussian white noise series with mean zero and variance 0.001.

  • What are the mean and variance of the return series Rt?

1

  • Compute the lag-1 and lag-2 autocorrelations of Rt.
  • Assume that a100 = −0. Compute the 1- and 2-step ahead forecasts of the return series at the forecast origin t = 100. What are the associated standard deviations of the forecast errors?
  • In R create a report in pdf format using RMarkdown (or, if you choose to use Python instead, create a Jupyter notebook) to:
    • Simulate 1000 terms of this time series.
    • Using the generated time series, find the sample mean and variance. How do these values compare with those computed analytically?
    • Using the generated time series, find the sample lag-1 and lag-2 autocorrelations. How do these values compare with those computed analytically?
    • Consider how you might use repeated simulations to forecast this time series. Use your method with 1000 repeated simulations of the time series to forecast the 1and 2-step ahead returns with at = 0. What is the sample standard deviation? How do these values compare with those computed analytically?

Problem 3 (40pt)

In R create a report in pdf format using RMarkdown (or, if you choose to use Python instead, create a Jupyter notebook) to:

  • Import the monthly yields of Moody’s Aaa seasoned bonds from January 1, 1962 to December 31, 2020 from csv provided on Canvas. The data are obtained from the Federal Reserve Bank of St. Louis. Monthly yields are averages of daily yields.
  • Obtain the summary statistics (sample mean, standard deviation, skewness, excess kurtosis) of this yield series.
  • Build a time series model for this data. Evaluate its performance. Justify your choices.

2

  • HW2-hwjvzj.zip