Question 8 of 8: Correlation and Simple Linear Regression
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Examinations, December 2015 — 04-BS-2 Probability and Statistics (2 hours, closed book except one hand-written information sheet and an approved calculator). Statistical tables of the Normal, t, chi-square and F distributions are supplied with the exam. The rubric states "Any 5 questions constitute a complete paper"; every question is answered.
Reference texts: Walpole, Myers, Myers & Ye, Probability & Statistics for Engineers and Scientists, 9th ed. (Pearson) — used throughout for normal/binomial/Poisson/hypergeometric probability, confidence intervals, hypothesis tests, and simple linear regression.
Check — source defect in Question 4. As literally printed, K/y cannot integrate
to a finite value over (1, ∞), so the density as given is not valid. This solution
reconstructs the intended density as f(y) = 1/y² for y > 1 — the unique
minimal correction (recovering one dropped exponent) that makes the function integrate to 1 on the stated
domain, and it is the standard "infinite mean" example from this course's own textbook (Walpole). This choice is disclosed here rather than presented as certain.
Question 8: Correlation and Simple Linear Regression (20 marks)
Find. (a) covariance, r; (b) 95% CI for ρ; (c) normal equations, b₀, b₁; (d) SSE and 95% CI for β₁.
Approach. Reduce every quantity to the corrected sums of squares/cross-products $S_{xx}, S_{yy}, S_{xy}$, then read off covariance, correlation, and the least-squares slope/intercept directly; use the Fisher z-transform for the CI on ρ, and the regression-SE formula for the CI on β₁.
(a)(i)–(ii) Covariance and correlation.
$$\text{Cov}(X,Y)=\dfrac{S_{xy}}{n-1}=\dfrac{27.0}{20}=\boxed{1.35},\qquad r=\dfrac{S_{xy}}{\sqrt{S_{xx}S_{yy}}}=\dfrac{27.0}{\sqrt{80.0\times13.0}}=\boxed{0.837}.$$
(b) 95% CI for ρ (Fisher z-transform).
$$z_r=\tfrac12\ln\dfrac{1+r}{1-r}=\tfrac12\ln\dfrac{1.837}{0.163}=1.212,\qquad \sigma_z=\dfrac{1}{\sqrt{n-3}}=\dfrac{1}{\sqrt{18}}=0.2357.$$
$$z_r\pm1.96\sigma_z=1.212\pm0.462\ \Rightarrow\ (0.750,\ 1.674).$$
Transforming back with $\rho=\tanh(z)$:
$$\boxed{0.635<\rho<0.932}.$$
(c) Normal equations and least-squares estimates. The normal equations of the least-squares line $\hat Y=b_0+b_1X$ are
$$\Sigma Y = n\,b_0+b_1\Sigma X,\qquad \Sigma XY = b_0\Sigma X+b_1\Sigma X^2,$$
i.e. $168.0=21b_0+588.0\,b_1$ and $4{,}731.0=588.0\,b_0+16{,}544.0\,b_1$. Solving (equivalently, $b_1=S_{xy}/S_{xx}$ and $b_0=\bar Y-b_1\bar X$):
$$b_1=\dfrac{S_{xy}}{S_{xx}}=\dfrac{27.0}{80.0}=\boxed{0.3375},\qquad b_0=\dfrac{168.0}{21}-0.3375\times\dfrac{588.0}{21}=8.0-9.45=\boxed{-1.45}.$$
So $\hat Y=-1.45+0.3375X$.
(d) Error sum of squares and 95% CI for β₁.
$$SSE=S_{yy}-b_1S_{xy}=13.0-0.3375(27.0)=\boxed{3.8875},\qquad MSE=\dfrac{SSE}{n-2}=\dfrac{3.8875}{19}=0.2046.$$
$$s_{b_1}=\sqrt{\dfrac{MSE}{S_{xx}}}=\sqrt{\dfrac{0.2046}{80.0}}=0.05057,\qquad t_{0.025,19}=2.093.$$
$$b_1\pm t_{0.025,19}\,s_{b_1}=0.3375\pm2.093(0.05057)=0.3375\pm0.1059.$$
$$\boxed{0.232<\beta_1<0.443}$$