Compute the least square regression line for a sample of 6 pairs of observations, given that
xi = 5, 4, 6, 3, 8, 7, Ʃy = 150, Ʃxy = 404, (y-ybar)2=37, (y-yhat)2=15
Also calculate the Co-efficient of determination and interpret the result.
We obtain the parameters of the least square equation by solving the simultaneous equations
Therefore, we have
------- equation i
-------- equation ii
From equation i
Substitute c in equation ii
Therefore
The least square equation is given as
Coefficient of determination
This means that the random variable x explains 59.44% of the variation in variable y. Other factors not considered in the least square regression are responsible for the remaining 40.56% of the variations in y
Comments