Use the given data to find the equation of the regression li
Use the given data to find the equation of the regression line. X (round to two decimal place as needed.)
Solution
FIRST WE HAVE TO FIND THE X*Y AND XX THAT IS X^2
Find the sum of every column:
X=10 , Y=10 , XY=28 , X2=24
Use the following equations to find a and b:
a=YX2XXY / nX2(X)2 = 102410285241022
b=XYXY / nX2(X)2=5281010524(10)22
Substitute a and b in regression equation formula
y = a + bx
Y = 2 + 2x
| X | Y | XY | XX |
| 3 | 3 | 9 | 9 |
| 2 | 2 | 4 | 4 |
| 3 | 5 | 15 | 9 |
| 1 | -1 | -1 | 1 |
| 1 | 1 | 1 | 1 |
