Question
I need help finishing this problem heres the template import pandas import pandas_datareader from pandas_datareader import data as web class yahoo_reader(): def __init__(self): self.provider =
I need help finishing this problem
heres the template
import pandas
import pandas_datareader
from pandas_datareader import data as web
class yahoo_reader():
def __init__(self):
self.provider = 'yahoo'
def getStock(self, stockname, start, end):
return web.DataReader(stockname.upper(), self.provider, start, end)
the task is this -
BUSINESS REQUESTYour supervisor has asked for your assistance integrating stock options data that will be used by your finance department to model a stock options hedge policy for the company. As a result, your supervisor made the followingrequest of you:"Thank you for pulling this data for our analysis. Your work was very helpful during my meeting. I would like your help running a regression on the data you pulled. I am thinking the Dow Jones Industrial Average (DIA) could be predicted by simply taking into consideration the stock values from IBM, Microsoft, and Google. Can you run an ordinary least squares (OLS) regression analysis and tell me what you think? I hope I am on the right track. I heard from others about multicollinearity, but I am not really sure if this is even applicable to what I want. Can you help?"
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started