Contains 20 observations on the response variable y along with the predictor variables x and d. y x d 26 80 1 16 80 1 24 59 0 13 51 0 17 55 0 16 55 1 8 20 0 15 35 1 21 48 0 17 42 0 20 78 1 14 52 1 20 62 0 15 32 0 23 45 1 6 27 0 17 65 0 22 59 1 8 21 0 15 30 1   a. Estimate a regression model with the predictor variables x and d, and then extend it to also include the interaction variable xd. What is the estimated regression coefficient for the predictor variable x in both models? (Negative values should be indicated by a minus sign. Round your answers to 2 decimal places.) ) Model 1(No Interaction) = Model 2 (Interaction)=   a-2. Use the preferred model to predict y. (Round coefficient estimates to at least 4 decimal places and final answers to 2 decimal places.) Predictor Variables           Predicted Y x=15, d=0                                       ? x=15, d=1.                                       ?

Linear Algebra: A Modern Introduction
4th Edition
ISBN:9781285463247
Author:David Poole
Publisher:David Poole
Chapter7: Distance And Approximation
Section7.3: Least Squares Approximation
Problem 31EQ
icon
Related questions
Question

Contains 20 observations on the response variable y along with the predictor variables x and d.

y x d
26 80 1
16 80 1
24 59 0
13 51 0
17 55 0
16 55 1
8 20 0
15 35 1
21 48 0
17 42 0
20 78 1
14 52 1
20 62 0
15 32 0
23 45 1
6 27 0
17 65 0
22 59 1
8 21 0
15 30 1


 

a. Estimate a regression model with the predictor variables and d, and then extend it to also include the interaction variable xd. What is the estimated regression coefficient for the predictor variable x in both models? (Negative values should be indicated by a minus sign. Round your answers to 2 decimal places.) )

Model 1(No Interaction) =
Model 2 (Interaction)=
 

a-2. Use the preferred model to predict y. (Round coefficient estimates to at least 4 decimal places and final answers to 2 decimal places.)

Predictor Variables           Predicted Y

x=15, d=0                                       ?

x=15, d=1.                                       ?

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Linear Algebra: A Modern Introduction
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill