Question 8 of 8: Study Hours vs. Exam Mark — Correlation & Regression
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Examinations, May 2014 — 04-BS-2 Probability and Statistics (2 hours, closed book except one hand-written information sheet and an approved calculator; any 5 of the 8 questions constitute a complete paper — all 8 are answered below as a full study resource).
Reference texts: Walpole, Myers, Myers & Ye, Probability & Statistics for Engineers and Scientists, 9th ed. (sampling distributions, estimation, hypothesis testing, correlation/regression); standard Normal, t, χ² and F tables as supplied with the exam.
Question 8: Study Hours vs. Exam Mark — Correlation & Regression (20 marks)
Find. (a) Cov(X,Y), r; (b) test H0: ρ=0.9; (c) the normal equations and b0, b1; (d) SSE and the 95% CI for β1.
Approach. Reduce every sum to the corrected sums of squares/cross-products $S_{xx}$, $S_{yy}$, $S_{xy}$ first; every later quantity (r, b1, SSE) is built from these three numbers. Test ρ=0.9 (a nonzero null) with Fisher's z-transform, since the simple $t=r\sqrt{n-2}/\sqrt{1-r^2}$ statistic is only valid for testing ρ=0.
(a) Sample covariance and correlation.
$$\mathrm{Cov}(X,Y)=\dfrac{S_{xy}}{n-1}=\dfrac{13300}{20}=\boxed{665.0},\qquad r=\dfrac{S_{xy}}{\sqrt{S_{xx}S_{yy}}}=\dfrac{13300}{\sqrt{24500(8000)}}=\boxed{0.95}.$$
(b) Test H0: ρ=0.9 via Fisher's z-transform. Since 0.9≠0, transform both r and ρ0:
$$z_r=\tfrac12\ln\dfrac{1+0.95}{1-0.95}=1.8318,\qquad z_{\rho_0}=\tfrac12\ln\dfrac{1+0.9}{1-0.9}=1.4722,$$
$$Z=\dfrac{z_r-z_{\rho_0}}{1/\sqrt{n-3}}=\dfrac{1.8318-1.4722}{1/\sqrt{18}}=\boxed{1.525}.$$
The two-sided critical value is $z_{0.025}=1.960$. Since $1.525<1.960$, fail to reject H0: the true correlation is not significantly different from 0.9.
(c) Normal equations and least-squares estimates. The normal equations for $\hat y=b_0+b_1x$ are
$$\sum y=nb_0+b_1\sum x,\qquad \sum xy=b_0\sum x+b_1\sum x^2.$$
Solving (equivalently, $b_1=S_{xy}/S_{xx}$ and $b_0=\bar y-b_1\bar x$):
$$b_1=\dfrac{13300}{24500}=\boxed{0.5429}\ \text{marks/hr},\qquad b_0=70.0-0.5429(140.0)=\boxed{-6.00}.$$
So $\hat y=-6.00+0.5429x$: each extra hour of study is associated with roughly 0.54 more exam marks.
(d) Error sum of squares and 95% CI for β1.
$$\mathrm{SSE}=S_{yy}-b_1S_{xy}=8000-0.5429(13300)=\boxed{780.0},\qquad \mathrm{MSE}=\dfrac{\mathrm{SSE}}{n-2}=\dfrac{780.0}{19}=41.05.$$
$$\mathrm{SE}(b_1)=\sqrt{\dfrac{\mathrm{MSE}}{S_{xx}}}=\sqrt{\dfrac{41.05}{24500}}=0.04093,\qquad t_{0.025,19}=2.093.$$
$$b_1\pm t\,\mathrm{SE}(b_1)=0.5429\pm2.093(0.04093)=0.5429\pm0.0857\ \Rightarrow\ \boxed{0.457<\beta_1<0.629}.$$