In: Statistics and Probability
In a certain dormitory, for various nights, we compare the
number of residents who go to bed with their shoes on with the
number who wake up in the morning with headaches.
#sleep with shoes | 10 | 12 | 8 | 20 | 16 | 5 | 15 | 21 |
#headaches | 12 | 9 | 5 | 15 | 12 | 3 | 11 | 17 |
Find the correlation between these two variables:
sum of X's:
sum of X squared's:
sum of Y's:
sum of Y squared's:
sum of X*Y's:
SS(X)=
SS(Y)=
SS(XY)=
All previous answers should be exact.
The correlation r= __ (to seven places after the decimal)
Compute the missing pieces of the linear regression line of
headaches on sleeping with shoes (to five places after the
decimal):
Y-hat = __X + __
For each x, write down the prediction y-hat (to one place after the
decimal):
For 13 people sleeping with their shoes on, we predict __
headaches.
For 19 people sleeping with their shoes on, we predict __
headaches.