NivaarExam PrepOfficial exam papers ↗

04-BS-2 · December 2016

Question 8 of 8

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

National Examinations, December 2016 — 04-BS-2, Probability and Statistics (2 hours, closed book except one hand-written information sheet and an approved calculator; any 5 of 8 questions constitute a complete paper — all 8 are answered here as a full study resource).

Reference texts: Walpole, Myers, Myers & Ye, Probability & Statistics for Engineers and Scientists, 9th ed. (Pearson) — sampling distributions, binomial/Poisson/hypergeometric models, confidence intervals, hypothesis tests, correlation and simple linear regression.

Question 8 (20 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given. $n=16$; $\sum X=384.0$, $\sum X^2=10{,}716.0$, $\sum Y=2{,}496.0$, $\sum Y^2=391{,}536.0$, $\sum XY=61{,}254.0$.

Find. (a) covariance and $r$; (b) 95% CI for $\rho$; (c) normal equations, $b_0$, $b_1$; (d) SSE and 95% CI for $\beta_1$.

Approach. Reduce every sum to the corrected sums of squares/cross-products $S_{xx},S_{yy},S_{xy}$; these feed the covariance, correlation, least-squares slope/intercept, error sum of squares, and (via the Fisher z-transform) the correlation confidence interval.

  1. Corrected sums. $S_{xx}=\sum X^2-\dfrac{(\sum X)^2}{n}=10{,}716.0-\dfrac{384.0^2}{16}=10{,}716.0-9{,}216.0=1{,}500.0$. $S_{yy}=391{,}536.0-\dfrac{2{,}496.0^2}{16}=391{,}536.0-389{,}376.0=2{,}160.0$. $S_{xy}=61{,}254.0-\dfrac{384.0(2{,}496.0)}{16}=61{,}254.0-59{,}904.0=1{,}350.0$.
  2. (a) Covariance and correlation. $\text{Cov}(X,Y)=\dfrac{S_{xy}}{n-1}=\dfrac{1{,}350.0}{15}=\boxed{90.0}$. $r=\dfrac{S_{xy}}{\sqrt{S_{xx}S_{yy}}}=\dfrac{1{,}350.0}{\sqrt{1{,}500.0(2{,}160.0)}}=\dfrac{1{,}350.0}{1{,}800.0}=\boxed{0.75}$.
  3. (b) 95% CI for ρ via Fisher's z-transform. $z_r=\dfrac12\ln\!\left(\dfrac{1+r}{1-r}\right)=\dfrac12\ln(7)=0.9730$, $\text{SE}(z_r)=\dfrac1{\sqrt{n-3}}=\dfrac1{\sqrt{13}}=0.2774$. $z_r\pm1.96(0.2774)=0.9730\pm0.5436\Rightarrow(0.4294,1.5166)$. Back-transforming $\rho=\dfrac{e^{2z}-1}{e^{2z}+1}$: $\boxed{0.405<\rho<0.908}$.
  4. (c) Normal equations and least-squares estimates. The normal equations are $nb_0+b_1\sum X=\sum Y$ and $b_0\sum X+b_1\sum X^2=\sum XY$, i.e. $16b_0+384b_1=2{,}496.0$ and $384b_0+10{,}716b_1=61{,}254.0$. Slope $b_1=\dfrac{S_{xy}}{S_{xx}}=\dfrac{1{,}350.0}{1{,}500.0}=\boxed{0.900}$. Intercept $b_0=\bar Y-b_1\bar X=\dfrac{2{,}496.0}{16}-0.900\!\left(\dfrac{384.0}{16}\right)=156.0-0.900(24.0)=156.0-21.6=\boxed{134.4}$. Check: $16(134.4)+384(0.9)=2{,}150.4+345.6=2{,}496.0$ ✓.
  5. (d) Error sum of squares and 95% CI for β₁. $\text{SSE}=S_{yy}-b_1S_{xy}=2{,}160.0-0.900(1{,}350.0)=2{,}160.0-1{,}215.0=\boxed{945.0}$. $\text{MSE}=\dfrac{\text{SSE}}{n-2}=\dfrac{945.0}{14}=67.5$. $\text{SE}(b_1)=\sqrt{\dfrac{\text{MSE}}{S_{xx}}}=\sqrt{\dfrac{67.5}{1{,}500.0}}=0.2121$. $b_1\pm t_{0.025,14}\,\text{SE}(b_1)=0.900\pm2.145(0.2121)=0.900\pm0.4550$, giving $\boxed{0.445<\beta_1<1.355}$ (thousands of $/year of experience).
Question 8 — final results
PartQuantityValue
(a)Cov(X,Y); r90.0; 0.75
(b)95% CI for ρ(0.405, 0.908)
(c)b₀; b₁134.4; 0.900
(d)SSE; 95% CI for β₁945.0; (0.445, 1.355)
Back to the paper →