The accompanying data file contains 40 observations on the response variable y along with the predictor variables x and d. Consider two linear regression models where Model 1 uses the variables x and d and Model 2 extends the model by including the interaction variable xd. Use the holdout method to compare the predictability of the models using the first 30 observations for training and the remaining 10 observations for validation.   y x d 70 11 1 102 19 1 76 12 1 83 14 1 61 17 0 62 13 0 67 20 0 98 16 1 84 11 1 101 15 1 51 16 0 108 16 1 32 13 0 71 15 1 101 17 1 90 15 1 112 19 1 88 13 1 110 18 1 95 17 1 44 14 0 51 19 0 112 17 1 113 17 1 52 13 0 61 10 1 100 16 1 78 14 1 90 16 1 57 16 0 59 15 0 53 15 0 119 19 1 109 18 1 68 11 0 104 19 1 45 18 0 67 17 0 65 15 0 74 14 1 1. Use the training set to estimate Models 1 and 2. Note: Negative values should be indicated by a minus sign. Round your answers to 2 decimal places.   2. Calculate the RMSE of the two models in the validation set. Note: Do not round intermediate calculations and round final answers to 2 decimal places.

College Algebra
7th Edition
ISBN:9781305115545
Author:James Stewart, Lothar Redlin, Saleem Watson
Publisher:James Stewart, Lothar Redlin, Saleem Watson
Chapter1: Equations And Graphs
Section: Chapter Questions
Problem 10T: Olympic Pole Vault The graph in Figure 7 indicates that in recent years the winning Olympic men’s...
icon
Related questions
Question

The accompanying data file contains 40 observations on the response variable y along with the predictor variables x and d. Consider two linear regression models where Model 1 uses the variables x and d and Model 2 extends the model by including the interaction variable xd. Use the holdout method to compare the predictability of the models using the first 30 observations for training and the remaining 10 observations for validation.

 

y x d
70 11 1
102 19 1
76 12 1
83 14 1
61 17 0
62 13 0
67 20 0
98 16 1
84 11 1
101 15 1
51 16 0
108 16 1
32 13 0
71 15 1
101 17 1
90 15 1
112 19 1
88 13 1
110 18 1
95 17 1
44 14 0
51 19 0
112 17 1
113 17 1
52 13 0
61 10 1
100 16 1
78 14 1
90 16 1
57 16 0
59 15 0
53 15 0
119 19 1
109 18 1
68 11 0
104 19 1
45 18 0
67 17 0
65 15 0
74 14 1

1. Use the training set to estimate Models 1 and 2.

Note: Negative values should be indicated by a minus sign. Round your answers to 2 decimal places.

 

2. Calculate the RMSE of the two models in the validation set.

Note: Do not round intermediate calculations and round final answers to 2 decimal places.

 

3. 

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
College Algebra
College Algebra
Algebra
ISBN:
9781305115545
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning