In: Statistics and Probability
Problem
You will complete a question about Correlation
Examples and complete a Simple Linear
Regression. For the Simple Linear
Regression, make sure to complete the following steps:
Protein, x |
20 |
22 |
23 |
26 |
26 |
27 |
28 |
30 |
31 |
33 |
33 |
Fat, y |
18 |
20 |
19 |
18 |
16 |
17 |
17 |
15 |
16 |
14 |
14 |
X | y | (x-xbar)^2 | (x-xbar)(y-ybar) |
20 22 23 26 26 27 28 30 31 33 33 |
18 20 19 18 16 17 17 15 16 14 14 |
51.579 Sum: 189.636 |
-9.140 Sum: -75.455 |
B) regression equation
Sum of X = 299
Sum of Y = 184
Mean X = 27.1818
Mean Y = 16.7273
Sum of squares (SSX) = 189.6364
Sum of products (SP) = -75.4545
Regression Equation = ŷ = bX + a
b = SP/SSX = -75.45/189.64 =
-0.39789
a = MY - bMX = 16.73 -
(-0.4*27.18) = 27.54267
ŷ = -0.39789X + 27.54267
Predicted value