What happens to the predicted percentage return today

Assignment Help Other Subject
Reference no: EM133373862

For this assignment you will be analyzing the Weekly data frame in the ISLR package, which contains 9 features for 1089 weeks of S&P 500 stock index returns from 1990-2010. The goal of this assignment is to become more familiar with linear and logistic regression. All analyses must be performed in R using tidyverse and other packages discussed in class. Provide your responses (with R code pasted in text format) in designated spaces in this Word document, and then save it as a pdf and upload it to Canvas.

Question 1. Fit a linear regression model to predict the percentage return today from the percentage return for the five previous weeks. Print a summary of the model output to the console. Which feature is most statistically important in the model? What happens to the predicted percentage return today as you increase the value of this feature? How well does the model fit the training data? Explain your reasoning for all three answers.

Question 2. Use the linear regression model from question 1 to predict with 95% confidence the percentage return today when the percentage return for each of the five previous weeks is -10%. What is the mean predicted percentage return today? Are you able to predict whether the percentage return today will be positive or negative with 95% confidence, and how do you know? Last, based on your findings from questions 1 and 2, would you trust this model for predicting S&P 500 stock returns with your own money? Why or why not?

Question 3. Fit a logistic regression model to predict whether the percentage return today will be positive or negative from the percentage return for the five previous weeks. Make sure to recode the response classes so that true and predicted classes can be easily compared in the next question. Print a summary of the model output to the console. Which feature is most statistically important in the model? How well does the model fit the training data? Explain your reasoning for both answers.

Question 4. Use the logistic regression model from question 3 to predict classes for the training data. Print a confusion matrix and an estimate of classification training accuracy to the console. Use these findings to explain whether the model produces balanced classifications. Also, based on your findings from questions 3 and 4, would you trust this model for predicting S&P 500 stock returns with your own money? Why or why not?

Reference no: EM133373862

Questions Cloud

What else did africa provide to help industrial revolution : What impact has this had on the population of the USA? Besides slaves, what else did Africa provide to help the Industrial Revolution?
Ethical issues had on today healthcare research : What impact have past ethical issues had on today's healthcare research?
Human resources management strategies : What are the different healthcare organizations' annual reports and their representation of their human resources management strategies?
Describe the process innovation solution : Explain how cultural differences and socioeconomic factors relate to current healthcare trends and Describe the process innovation solution
What happens to the predicted percentage return today : What happens to the predicted percentage return today as you increase the value of this feature? How well does the model fit the training data
What type of preprocessing was applied to the raw input data : What type of preprocessing was applied to the raw input data? Why was it necessary to do so? Does your model suffer from overfitting? If so, what would you
How comfortable do you feel with probability and statistics : Provide some background on your knowledge and experience in "Statistics". How comfortable do you feel with probability and statistics?
Describe five of the latest gdpr non-compliance fines : Describe five of the latest GDPR non-compliance fines. For each one, including what happened, how much it cost the business, and how it could have been
How would decide between using internal or external style : How would you decide between using internal or external style sheets on your web page? When is one more appropriate than the other?

Reviews

Write a Review

Other Subject Questions & Answers

  BUS 475 Business and Society Assignment

BUS 475 Business and Society Assignment Help and Solution - Strayer University, USA - Homework Help - Challenges in the Business Environment

  Write a brief response summary about banning abortions

How would you write a brief response summary about banning abortions and explain whether or not you believe there has been a breach of civil liberties/rights

  Discuss in detail dual-diagnosis from your readings

Discuss in detail dual-diagnosis from your readings, then incorporate how such coexisting disorders impact the addiction cycle discussed in Module/Week's 6 presentation. How does your biblical worldview impact the way in which you see the possibil..

  Analyze factors influencing human development

You are being tasked with writing 2 sample exam questions for each of the 5 Course Outcomes for this class, and to briefly explain how/why you think the.

  What are the consequences of not treating aids

Each paragraph must be no less than 3 sentences and no more than 6 sentences. What are the consequences of not treating AIDS?

  Photography in action

A warning sign in use at one or more businesses; and/or A "not responsible" sign in use at one or more businesses.

  Discuss tangible and intangible resources

Discuss tangible and intangible resources and their impact with the strengths and weaknesses of a firm.

  Compare and interpret the results

Construct a 99% confidence interval estimate of the mean body mass index for men. Compare and interpret the results.

  Why is the united states highlighted

Why is the United States highlighted as being in genocide denial?

  Six steps involved in developing a project strategy

Describe each of the six steps involved in developing a project strategy.

  Interaction of supply and demand

Prices for commodities such as frozen orange juice or gold bullion are set by the interaction of supply and demand, whereas those for goods and services are set by the seller.

  Define the doctoral community network

Berman and Hassell (2014) define the Doctoral Community Network (DC) as a learner driven, scholarly community designed to help online doctoral learners successfully complete their dissertation and program of study. The DC provides a comprehensive ..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd