In: Statistics and Probability
Note: the second oldest SNL guest host was Miskel Spillman at age 80 (in 1977) who won a contest and is the only non-celebrity to host the show.
| 
 X  | 
 25  | 
 29  | 
 32  | 
 37  | 
 40  | 
 45  | 
 47  | 
 50  | 
 53  | 
 60  | 
 65  | 
| 
 Y  | 
 65  | 
 72  | 
 70  | 
 80  | 
 75  | 
 70  | 
 72  | 
 73  | 
 79  | 
 82  | 
 80  | 


### Answers:
a] scatterplot is attached above
b] linear correlation coefficient = 0.7191
to test the significance of linear correlation
test statistics is t =3.1047
p-value = 0.0126 <0.05
we reject the null hypothesis of non significance at 5% significanc level & conclude that there is significant linear correlation between x & y
c] line of best fit is y^ =61.1722 +0.3004x
d]for x=40
y^ =61.1722 +0.3004*40
y^ = 73.19
predicted value =73.19
d] residual =y-y^ = 75-73.19=1.81
residual =1.81