Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Obtain daily data of SPY from 2010- 10-01 to 2016-02-19. Compute the daily log return using the adjusted closing price. Divide the dataset into two

  1. Obtain daily data of "SPY" from 2010- 10-01 to 2016-02-19.
  2. Compute the daily log return using the adjusted closing price.
  3. Divide the dataset into two parts: the first 1254 for training and the rest 100 days as holdout samples.
  4. (a) Construct the best ARMA model based on the first 1254 daily log return data using the auto.arima function in the fpp package. We call this model 1. We will then fix the order of the arima model, and at each step, only parameter estimation changes.
  5. Use this model to predict one day ahead.
  6. Compare the predicted direction (namely if the prediction return is positive or negative) with the direction of the actual return. Were you right?
  7. For the next day re-estimate the parameters using data 2 to 1255 and predict the next day's direction.
  8. Repeat until the test data is exhausted.
  9. Report the probability of being correct (calculated as the percentage of times the model predicts the directions correctly).
  10. (b) Now, look at the ACF plot of the training data only, propose an MA(q) model.
  11. Look at the PACF plot of the training data only, propose an AR(p) model.
  12. Please give your reasons for choosing the p and q values. Call these model 2 and 3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial Management Principles and Applications

Authors: Sheridan Titman, Arthur J. Keown, John H. Martin

13th edition

134417216, 978-0134417509, 013441750X, 978-0134417219

More Books

Students also viewed these Finance questions