Question #110142
Use Linear Regression to find the slope-intercept formula for the best line passing through the following points:
x y
-2 7.398704
-1 10.79976
0 2.172701
1 7.447045
2 1.954988
3 -1.85296
4 -0.41138
5 -6.87151
6 -11.3635
7 -13.711
8 -13.6287
9 -21.6955
10 -15.7112
Equation for Best Line:
A) y = 2.5246*x - 5.8311
B) y = -5.8311*x + 2.5246
C) y = -2.5246*x + 5.8311
D) y = 5.8311*x - 2.5246
1
Expert's answer
2020-04-21T16:50:51-0400

Y=a+bxY=a+bx

a=(yx2)(xxy)nx2(x)2a=\frac{(\sum y \sum x^2)-(\sum x \sum xy)}{n\sum x^2-(\sum x)^2}

a=(55.4726×390)(52×(681.361))(13×390)522=5.8311a=\frac{(-55.4726×390)-(52×(-681.361))}{(13×390)-52^2}=5.8311

b=nxyxynx2(x)2b=\frac{n\sum xy-\sum x \sum y}{n\sum x^2-(\sum x)^2}

b=(13×(681.361))(52×(55.4726))(13×390)522=2.5246b=\frac{(13×(-681.361))-(52×(-55.4726))}{(13×390)-52^2}=-2.5246

Thus, Y=5.83112.5246xY=5.8311-2.5246x

The correct choice is (c).


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS