Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using the data in mowers.csv, Using R ,Run a regression model with Sales as the response variable, and Temperature, Advertising, and Discount, as the predictor
Using the data in "mowers.csv,"
- Using R ,Run a regression model with "Sales" as the response variable, and "Temperature," "Advertising," and "Discount," as the predictor variables.
- Comments on the results.
- Drop one variable at a time and see which model provides the best fit based on adjusted-R2.
- Repeat Part C. Which model provides the best fit based on F-test.
- THE data is provided below
Sales | Temperature | Advertising | Discount |
17235 | 33 | 15 | 5.0 |
19854 | 42 | 25 | 5.0 |
45786 | 58 | 40 | 10.0 |
49745 | 67 | 70 | 20.0 |
65894 | 73 | 75 | 20.0 |
64145 | 78 | 72 | 15.0 |
57845 | 82 | 67 | 15.0 |
54250 | 83 | 65 | 10.0 |
61764 | 76 | 68 | 20.0 |
59875 | 69 | 72 | 20.0 |
38123 | 56 | 35 | 15.0 |
21237 | 45 | 20 | 10.0 |
19567 | 31 | 17 | 5.0 |
20451 | 41 | 24 | 7.5 |
46896 | 56 | 43 | 12.5 |
51487 | 68 | 72 | 25.0 |
68975 | 72 | 79 | 25.0 |
66412 | 79 | 76 | 20.0 |
59874 | 81 | 65 | 12.5 |
53651 | 84 | 63 | 12.5 |
62478 | 77 | 70 | 15.0 |
59678 | 67 | 69 | 25.0 |
37123 | 55 | 37 | 15.0 |
22571 | 44 | 21 | 5.0 |
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