A garden centre manager believes that during March, the number of customers is related to the
temperature at noon. Over a fortnight, the number of customers and the noon temperature were
recorded.
Temperature (x°C)
23 25 28 30 30 27 25 28 32 31 33 29 27
Number of customers (y) 57 64 62 75 69 58 61 78 80 35 84 73 76
a Draw a scatter diagram of the data.
b Calculate Pearson's product-moment correlation coefficient $r_p$.
c Calculate Spearman's rank correlation coefficient $r_s$.
d Identify the outlier.
e Remove the outlier, and re-calculate $r_p$ and $r_s$.
f Which correlation coefficient is most affected by the presence of the outlier?
g Describe the association between the number of customers and the noon temperature at the
garden centre.