Question #218741

.

If you want to fit a linear regression line y=a+bx from the above data, then what is the value of 'a'?

Single choice.


.

If you want to fit a linear regression line y=a+bx from the above data, then what is the value of 'a'?

Single choice.






1
Expert's answer
2021-07-26T14:35:31-0400

A linear regression line has an equation of the form: y = a+ bx

where 'Y' is called the dependent variable or response.

and 'X' is called independent variable or predictors or explanatory variable

'a' is the y-intercept of the line and

'b' is the slope of the line.




From the above data,

x=247y=486xy=20485x2=11409y2=40022n=6\sum x = 247\\\sum y=486\\\sum xy=20485\\\sum x^2=11409\\\sum y^2=40022\\n=6


Based on the above table, the following is calculated:

Xˉ=1nXi=2476=41.167\bar X=\dfrac{1}{n}\sum X_i=\dfrac{247}{6}=41.167


Yˉ=1nYi=4866=81 SSXX=Xi21n(Xi)2=11409(247)26=120.83\bar Y= \dfrac{1}{n}\sum Y_i=\dfrac{486}{6}=81\\\ \\SS_{XX}=\sum X_i^2-\dfrac{1}{n}(\sum X_i)^2=11409-\dfrac{(247)^2}{6}=120.83


SSYY=Yi21n(Yi)2=40022(486)26=656SS_{YY}=\sum Y_i^2-\dfrac{1}{n}(\sum Y_i)^2=40022-\dfrac{(486)^2}{6}=656


SSXY=XiYi1n(Xi)(Yi)=20485247×4866=478SS_{XY}=\sum X_iY_i-\dfrac{1}{n}(\sum X_i)(\sum Y_i)=20485 -\dfrac{247\times 486}{6}=478


Therefore, based on the above calculations, the regression coefficients (the slope b, and the y-intercept a) are obtained as follows:


b=SSXYSSXX=4781240.83=0.3852 a=YˉXˉb=8141.16×0.3852=65.14b=\dfrac{SS_{XY}}{SS_{XX}}=\dfrac{478}{1240.83}=0.3852\\\ \\a=\bar Y-\bar X\cdot b=81-41.16\times 0.3852=65.14


Therefore, we find that the regression equation is:


y=a+bxy=65.14+0.3852xy=a+bx\\y=65.14+0.3852x


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