Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The accompanying data file contains 40 observations on the response variable y along with the predictor variables x and d . Consider two linear regression

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.

a-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.

Predictor Variable Model 1(no interaction) Model 2(interaction)

Constant __________ __________

x __________ __________

d ___________ __________

xd ___________ __________

a-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.

Model 1 (no interaction) Model 2 (interaction)

RMSE __________ ___________

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
70 15 0
70 14 1

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

A First Course in Differential Equations with Modeling Applications

Authors: Dennis G. Zill

10th edition

978-1111827052

More Books

Students also viewed these Mathematics questions

Question

12. What is a marketing information system (MIS)?

Answered: 1 week ago