In a simple linear regression the following information is g
In a simple linear regression, the following information is given:
Calculate b1. (Negative value should be indicated by a minus sign. Round your answer to 2 decimal places.)
Calculate b0. (Round intermediate calculations to 4 decimal places and final answer to 2 decimal places.)
What is the sample regression equation? (Negative value should be indicated by a minus sign. Round your answers to 2 decimal places.)
Predict y if x equals 21.(Round intermediate coefficient values and final answer to 2 decimal places.)
Solution
Sum (Xi-Mean)*(Yi-Mean) = -855
Sum (Xi - Mean)^2 = 737
X Mean = -29 ; Y Mean= 48
a)
b1 = Sum Xi-Mean)*(Yi-Mean) / Sum (Xi - Mean)^2 = -855/737 = -1.17
b)
bo = Y Mean - b1 * X Mean = 48 - (-1.1601) * (-29) = 14.36
c)
regression equation = Y = bo + b1 X => Y = 14.36 - 1.17 * x
d)
When x = -21
Y = 14.36 - 1.17 * (-21) = 38.93
