Find the equation of the line of best fit for the following data.
XY255768811101212161417
y=1.07x +2.15
xyx−¯x(x−¯x)2(y−¯y)(x−¯x)(y−¯y)25−6.1437.7−5.8635.9857−3.149.86−3.8612.1268−2.144.58−2.866.12811−0.140.020.14−0.021011.863.461.142.1212163.8614.95.1419.8414175.8634.346.1435.98∑=57∑=76∑=104.86∑=112.14
¯x=∑xn=577=8.14
¯y=∑yn=767=10.86
M=∑ni=1(xi−¯x)(yi−¯y)∑ni=1(xi−¯x)2=112.14104.86=1.07
B=¯y−M¯x=10.86−1.07×8.14=2.15
∴y=1.07x+2.15