Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 1 : In - Sample ( IS ) Market Prediction ( 5 0 points ) Objective: In this exercise, you will predict the time

Problem 1: In-Sample (IS) Market Prediction (50 points)
Objective: In this exercise, you will predict the time series of S&P500 returns usign the volatility index (VIX).
Instructions:
Install yfinance.
Import the necessary libraries.
Download daily adjusted closing prices for tickers ^GSPC and ^VIX since 1980.
Calculate monthly returns of S&P500 and end-of-month levels of VIX.
Regress S&P500 returns in month t+1 on VIX at the end of month t.
Report the regression results using the summary() method.
In a markdown cell or a comment in a code cell, interpret the regression results. Does VIX predict market return?
Problem 2: Out-Of-Sample (OOS) Market Prediction (50 points)
Objective: In this problem, you will test the predictive power of VIX out of sample.
Instructions:
Repeat steps 1-4 from the previous problem.
Create the historical expanding window average of S&P500 returns with a minimum window of 60 months.
In a for loop, create the expanding window prediction of S&P500 returns using VIX as a predictor.
Plot the two predictions in one figure.
Calculate and print the sum of squared residuals for both predictions.

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 Core Concepts

Authors: Raymond M Brooks

2nd edition

132671034, 978-0132671033

More Books

Students also viewed these Finance questions

Question

What do I have experience doing?

Answered: 1 week ago