Consider a linear regression model where y represents the response variable and x, d₁, and d2 are the predictor variables. Both dy and da are dummy variables, each assuming values 1 or 0. A regression model with x, d₁, d2, and didy, where did is the interaction variable, is estimated as -1.340.82x 3.08d1 - 1.2002 0.58dydy.. a-1. Compute y for x 5,d₁ 1, and d₂0. Note: Round your answer to 2 decimal places. a-2. Compute y for x-5, dy 1, and dy 1. Note: Round your answer to 2 decimal places. b-1. Compute for x-5, d₁0, and d₂ - 0. Note: Round your answer to 2 decimal places.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Subject: statistics 

Consider a linear regression model where y represents the response variable and x, d₁, and d2 are the predictor variables. Both di and
d₂ are dummy variables, each assuming values 1 or 0. A regression model with x, d₁, d2, and did, where did is the interaction
variable, is estimated as -1.34 + 0.82x + 3.08d₁1.20d2+ 0.58d1d2.
a-1. Compute y for x 5, d₁=1, and d₂ = 0.
Note: Round your answer to 2 decimal places.
a-2. Compute y for x-5, d = 1, and dy = 1.
Note: Round your answer to 2 decimal places.
b-1. Compute for x 5, d₁0, and d2 - 0.
Note: Round your answer to 2 decimal places.
Transcribed Image Text:Consider a linear regression model where y represents the response variable and x, d₁, and d2 are the predictor variables. Both di and d₂ are dummy variables, each assuming values 1 or 0. A regression model with x, d₁, d2, and did, where did is the interaction variable, is estimated as -1.34 + 0.82x + 3.08d₁1.20d2+ 0.58d1d2. a-1. Compute y for x 5, d₁=1, and d₂ = 0. Note: Round your answer to 2 decimal places. a-2. Compute y for x-5, d = 1, and dy = 1. Note: Round your answer to 2 decimal places. b-1. Compute for x 5, d₁0, and d2 - 0. Note: Round your answer to 2 decimal places.
b-1. Compute y for x=5, d₁= 0, and d₂ = 0.
Note: Round your answer to 2 decimal places.
b-2. Compute y for x=5, d₁= 0, and d₂ = 1.
Note: Round your answer to 2 decimal places.
Transcribed Image Text:b-1. Compute y for x=5, d₁= 0, and d₂ = 0. Note: Round your answer to 2 decimal places. b-2. Compute y for x=5, d₁= 0, and d₂ = 1. Note: Round your answer to 2 decimal places.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 6 steps

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman