Answer: y ≈ -0.212x + 7.784
Explanation:
I think...
first of all:
Calculate the means of the x-values (
) and y-values (
):
= (2 + 5 + 7 + 12 + 16) / 5 = 8.4
= (9 + 10 + 5 + 3 + 2) / 5 = 5.8
X -
: -6.4, -3.4, -1.4, 3.6, 7.6
Y -
: 3.2, 4.2, -0.8, -2.8, -3.8
Σ[(X -
)(Y -
)] = (-6.4 x 3.2) + (-3.4 x 4.2) + (-1.4 x -0.8) + (3.6 x -2.8) + (7.6 x -3.8) = -40.64
Σ[(X -
)^2] = (-6.4)^2 + (-3.4)^2 + (-1.4)^2 + (3.6)^2 + (7.6)^2 = 191.2
m = Σ[(X -
)(Y -
)] / Σ[(X -
)^2] = -40.64 / 191.2 ≈ -0.212
b =
- m x
= 5.8 - (-0.212 x 8.4) ≈ 7.784
y ≈ -0.212x + 7.784