Question #238933
Find the equation of the regression line when x is 77,50, 71,52, 81,94, 96,99, 67 while y is, 82,66, 78, 34,47, 85,99, 99,68
1
Expert's answer
2021-09-21T16:08:01-0400

To find the regression line, the method of least squares is applied. The regression line is given by, y(hat)=kx+my(hat)= k*x+m where, kk is the slope coefficient and mm is the intercept. In order to find the regression equation we first estimate kk and mm using the formula below,

k=(nsummation(xy)summation(x)summation(y))/(nsummation(x2)(summation(x))2)k=(n*summation(xy)-summation(x)*summation(y))/(n*summation(x^2)-(summation(x))^2)

m=mean(y)kmean(x)m=mean(y)-k*mean(x)

The above data can be summarized as follows,


n=9,summation(x)=687,summation(y)=658,summation(x2)=55077,summation(y2)=51980,summation(xy)=52578,mean(y)=summation(y)/n=76.333333,mean(x)=summation(x)/n=73.111111n=9, summation(x)=687, summation(y)=658, summation(x^2)=55077, summation(y^2)=51980, summation(x*y)=52578, mean(y)=summation(y)/n=76.333333, mean(x)=summation(x)/n=73.111111


k=((952578)(687658))/((955077)(687)2)=0.8918(4decimalplaces),m=76.333333(0.891873.1111111)=5.0405(4decimalplaces)k=((9*52578)-(687*658))/((9*55077)-(687)^2) =0.8918(4 decimal places), m=76.333333-(0.8918*73.1111111) =5.0405(4 decimal places)


Therefore, equation of the regression line is given as,

y(hat)=0.8918x+5.0405.y(hat)=0.8918*x+5.0405.



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS