Answer on Question#71918 – Math – Statistics and Probability
Question. Consider a set of 10 data points:

Derive the simple linear regression model.
Solution. We must calculate the coefficients a and b in the equation y=a+bx. Now we calculate the next values:
xˉ=101+2+3+4+4+5+5+6+6+7=4.3;yˉ=107+8+9+8+9+11+10+13+14+13=10.2;xy=101⋅7+2⋅8+3⋅9+4⋅8+4⋅9+5⋅11+5⋅10+6⋅13+6⋅14+7⋅13=47.6;σx2=10(1−4.3)2+(2−4.3)2+(3−4.3)2+(4−4.3)2+(5−4.3)2+(6−4.3)2+(7−4.3)2=3.21.
Now we can obtain the coefficients using the following formulas:
(see https://www.easycalculation.com/statistics/learn-regression.php)
b=σx2xy−xˉ⋅yˉ=1.165;a=yˉ−bxˉ=5.19.
The regression equation for the given data is y=5.19+1.165⋅x.
Answer. y=5.19+1.165⋅x.
Answer provided by www.AssignmentExpert.com
Comments