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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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