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.
y=mx+by=mx+by=mx+b
m=N∑(xy)−∑x∑yN∑x2−(∑x)2m=\frac{N\sum (xy)-\sum x\sum y}{N\sum x^2-(\sum x)^2}m=N∑x2−(∑x)2N∑(xy)−∑x∑y
b=∑y−m∑xNb=\frac{\sum y-m\sum x}{N}b=N∑y−m∑x
Using calculator www.socscistatistics.com, we get:
m=0.536,b=3.75m=0.536, b=3.75m=0.536,b=3.75
y=0.536x+3.75y=0.536x+3.75y=0.536x+3.75
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments