NivaarExam PrepOfficial exam papers ↗

04-BS-2 · May 2016

Question 8 of 8

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

Notes on this paper

National Examinations, May 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 data (n=16)
ΣX911.0
ΣX²52,245.0
ΣY1,313.0
ΣY²128,283.0
ΣXY77,196.0

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

Approach. Reduce the raw sums to the corrected sums of squares/cross-products $S_{xx},S_{yy},S_{xy}$, from which the covariance, correlation, and regression coefficients all follow directly; use Fisher's $z$-transform for the correlation interval and the standard regression-inference formulas for $\beta_1$.

  1. Corrected sums and means. $\bar x=911/16=56.9375$, $\bar y=1313/16=82.0625$. $S_{xx}=52{,}245-911^2/16=374.94$. $S_{yy}=128{,}283-1313^2/16=20{,}534.94$. $S_{xy}=77{,}196-(911)(1313)/16=2{,}437.06$.
  2. (a) Covariance and correlation. $\widehat{\text{Cov}}(X,Y)=\dfrac{S_{xy}}{n-1}=\dfrac{2437.06}{15}=162.47$. $r=\dfrac{S_{xy}}{\sqrt{S_{xx}S_{yy}}}=\dfrac{2437.06}{\sqrt{374.94(20534.94)}}=\boxed{0.8783}$.
  3. (b) 95% CI for ρ via Fisher's z-transform. $z_r=\tfrac12\ln\!\left(\dfrac{1+r}{1-r}\right)=1.3683$, $\sigma_z=\dfrac{1}{\sqrt{n-3}}=0.2774$. $z_r\pm1.96\sigma_z=(0.8247,\,1.9119)$. Back-transforming $\rho=\dfrac{e^{2z}-1}{e^{2z}+1}$ gives $\boxed{0.678<\rho<0.957}$.
  4. (c) Normal equations and least-squares estimates. The normal equations are $\Sigma y_i=nb_0+b_1\Sigma x_i$ and $\Sigma x_iy_i=b_0\Sigma x_i+b_1\Sigma x_i^2$. Solving via the corrected sums: $b_1=\dfrac{S_{xy}}{S_{xx}}=\dfrac{2437.06}{374.94}=6.500$, $b_0=\bar y-b_1\bar x=82.0625-6.500(56.9375)=\boxed{-288.03}$, so $\hat y=-288.03+6.500x$.
  5. (d) Error sum of squares and CI for β1. $SSE=S_{yy}-b_1S_{xy}=20534.94-6.500(2437.06)=4{,}694.23$. $MSE=\dfrac{SSE}{n-2}=\dfrac{4694.23}{14}=335.30$, $s=18.311$. $SE(b_1)=\dfrac{s}{\sqrt{S_{xx}}}=\dfrac{18.311}{\sqrt{374.94}}=0.9457$. $t_{0.025,14}=2.145$. $b_1\pm t\cdot SE(b_1)=6.500\pm2.028$, so $\boxed{4.47<\beta_1<8.53}$.
Question 8 — final results
PartQuantityValue
(a)Cov(X,Y); r162.47; 0.8783
(b)95% CI for ρ(0.678, 0.957)
(c)b₀, b₁−288.03, 6.500
(d)SSE; 95% CI for β₁4,694.23; (4.47, 8.53)
Back to the paper →