Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 4 Use R to predict Cost based upon all other variables in the data set drugcost from the package alr4. You may look at

image text in transcribed

Question 4 Use R to predict Cost based upon all other variables in the data set drugcost from the package "alr4". You may look at the help file for drugcost for details of what each variable is. You do not need to submit RMarkdown, nor produce the R output directly in your submission for this question. (Hint: Histograms may be useful tools.) Answer the following questions regarding the results: a) Discuss whether you think the overall model fits well. Provide two pieces of evidence from the output of your model. b) Does at least one of the predictors have a statistically significant slope? Address this with a single hypothesis test (reporting the test statistic and p-value). c) Report 8 and the p-values associated with each t-test. What predictors are statistically significant? For each statistically significant predictor, briefly comment on whether you think it is practically significant. Question 4 Use R to predict Cost based upon all other variables in the data set drugcost from the package "alr4". You may look at the help file for drugcost for details of what each variable is. You do not need to submit RMarkdown, nor produce the R output directly in your submission for this question. (Hint: Histograms may be useful tools.) Answer the following questions regarding the results: a) Discuss whether you think the overall model fits well. Provide two pieces of evidence from the output of your model. b) Does at least one of the predictors have a statistically significant slope? Address this with a single hypothesis test (reporting the test statistic and p-value). c) Report 8 and the p-values associated with each t-test. What predictors are statistically significant? For each statistically significant predictor, briefly comment on whether you think it is practically significant

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

Data Management Databases And Organizations

Authors: Richard T. Watson

2nd Edition

0471180742, 978-0471180746

More Books

Students also viewed these Databases questions

Question

5. How would you suggest resolving the conflict?

Answered: 1 week ago