Given. Six batches, basement temperature (°C) and fermentation time (days):
Batch
1
2
3
4
5
6
Temp (°C)
14
18
21
19
16
17
Time (days)
19
18
19
20
18
19
Find. (a) mean/variance of each; (b) $\mathrm{Cov}$; (c) $r$ and its interpretation; (d) 95% CI for mean fermentation time; (e) 95% PI for basement temperature.
Approach. Sample moments from the six pairs, then the standard $t$-based CI (for the population mean) and PI (for one future individual observation), both with $n-1=5$ degrees of freedom.
(a) Means and variances. $\bar T=17.5\,{}^{\circ}\text{C}$, $s_T^2=5.9$ (so $s_T=2.429$). $\bar t=18.833$ days, $s_t^2=0.5667$ (so $s_t=0.7528$).
(c) Correlation. $$r=\frac{s_{Tt}}{s_T s_t}=\frac{0.500}{2.429\times 0.7528}=\boxed{0.2735}$$ Testing $H_0:\rho=0$: $t=r\sqrt{(n-2)/(1-r^2)}=0.569$, $df=4$, $t_{0.025,4}=2.776$; since $|t|\ll t_{crit}$, the correlation is not statistically significant — on this sample, basement temperature is only weakly (and not demonstrably) associated with fermentation time.
(d) 95% CI for mean fermentation time. $t_{0.025,5}=2.5706$. $$\bar t\pm t_{0.025,5}\frac{s_t}{\sqrt n}=18.833\pm 2.5706\frac{0.7528}{\sqrt6}=\boxed{(18.043,\ 19.623)\ \text{days}}$$
(e) 95% PI for basement temperature. A prediction interval for one future individual temperature draw uses $\bar T\pm t_{0.025,5}\,s_T\sqrt{1+1/n}$: $$14.5+3.0\pm 2.5706\times2.429\sqrt{1+\tfrac16}=\boxed{(10.756,\ 24.244)\ {}^{\circ}\text{C}}$$