In: Statistics and Probability
The following sample observations were randomly selected. (Round intermediate calculations and final answers to 2 decimal places.)
x | 4 | 5 | 4 | 6 | 9 |
y | 4 | 6 | 3 | 7 | 7 |
a.The regression equation is ŷ = .............................. +................................x
b.When X is 8 this gives ŷ =...................................
We need to find the regression equation for the data. To do that, we need the squares and cross products of individual x and y's and we form the table below to do that.
4 | 4 | 16 | 16 | 16 | |
5 | 6 | 25 | 36 | 30 | |
4 | 3 | 16 | 9 | 12 | |
6 | 7 | 36 | 49 | 42 | |
9 | 7 | 81 | 49 | 63 | |
Total | 28 | 27 | 174 | 159 | 163 |
Here we have n=5,
The mean of x
The mean of y,
Calculate
The regression coefficient is given by
The intercept is estimated by
a) The regression equation is
b) When X is 8 this gives