Question #207454

The marks obtained by 6 students in two class tests denoted by x and y, are as follows : 

x 6 5 8 10 4 9 

y 8 6 7 10 6 8 

Obtain the least square regression line of y on x.


Expert's answer

y=mx+by=mx+b


m=N(xy)xyNx2(x)2m=\frac{N\sum (xy)-\sum x\sum y}{N\sum x^2-(\sum x)^2}


b=ymxNb=\frac{\sum y-m\sum x}{N}


Using calculator www.socscistatistics.com, we get:

m=0.536,b=3.75m=0.536, b=3.75


y=0.536x+3.75y=0.536x+3.75


LATEST TUTORIALS
APPROVED BY CLIENTS