NivaarExam PrepOfficial exam papers ↗

04-BS-2 · May 2017

Question 8 of 8

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

Notes on this paper

2 hours, closed book (Casio/Sharp approved calculator + one hand-written 8.5"×11" information sheet, both sides). Any 5 of the 8 questions constitute a complete paper, all of equal value; every question is solved below in full as a study resource.

Reference texts: Walpole, Myers, Myers & Ye, Probability & Statistics for Engineers and Scientists, 9th ed. (Pearson) — sampling distributions (Ch. 6), discrete distributions (Ch. 5), estimation and hypothesis tests (Ch. 9–10), correlation and regression (Ch. 11).

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=28$ candidates; $\sum X=2{,}240.0$, $\sum X^2=190{,}000.0$, $\sum Y=1{,}848.0$, $\sum Y^2=124{,}155.0$, $\sum XY=151{,}971.0$.

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

Approach. Reduce to the corrected sums of squares/cross-products $S_{xx}, S_{yy}, S_{xy}$; these feed the covariance, $r$, the least-squares slope/intercept, and (via the residual sum of squares) the standard error needed for the CIs. $\rho$'s CI uses the Fisher $z$-transformation; $\beta_1$'s CI uses the $t$-distribution.

  1. Reduce to corrected sums. $\bar x=\dfrac{2240}{28}=80.0$, $\bar y=\dfrac{1848}{28}=66.0$. $S_{xx}=\sum X^2-\dfrac{(\sum X)^2}{n}=190{,}000-\dfrac{2240^2}{28}=10{,}800.0$. $S_{yy}=124{,}155-\dfrac{1848^2}{28}=2{,}187.0$. $S_{xy}=151{,}971-\dfrac{(2240)(1848)}{28}=4{,}131.0$.
  2. (a) Covariance and correlation. $\widehat{\text{Cov}}(X,Y)=\dfrac{S_{xy}}{n-1}=\dfrac{4131}{27}=153.0$. $r=\dfrac{S_{xy}}{\sqrt{S_{xx}S_{yy}}}=\dfrac{4131}{\sqrt{10800(2187)}}=\dfrac{4131}{4860.0}=0.850$. So $\boxed{\widehat{\text{Cov}}(X,Y)=153.0,\ r=0.850}$ — a strong positive linear association between study hours and mark.
  3. (b) 95% CI for ρ (Fisher z). $z'=\dfrac12\ln\!\left(\dfrac{1+r}{1-r}\right)=\dfrac12\ln\!\left(\dfrac{1.850}{0.150}\right)=1.2562$, with $\text{SE}=\dfrac{1}{\sqrt{n-3}}=\dfrac{1}{\sqrt{25}}=0.200$. $z'\pm1.96(0.200)=(0.8642,\,1.6482)$. Back-transforming $\rho=\dfrac{e^{2z'}-1}{e^{2z'}+1}$ at each limit gives $\boxed{0.698<\rho<0.929}$.
  4. (c) Normal equations and least-squares fit. The normal equations are $\sum Y=nb_0+b_1\sum X$ and $\sum XY=b_0\sum X+b_1\sum X^2$. Solving via the corrected sums, $b_1=\dfrac{S_{xy}}{S_{xx}}=\dfrac{4131}{10800}=0.3825$, $b_0=\bar y-b_1\bar x=66-0.3825(80)=35.40$. So $\boxed{\hat Y=35.40+0.3825X}$: each extra hour of study is associated with about $0.38$ extra marks.
  5. (d) Error sum of squares and CI for β₁. $\text{SSE}=S_{yy}-b_1S_{xy}=2187-0.3825(4131)=606.89$. $\text{MSE}=\dfrac{\text{SSE}}{n-2}=\dfrac{606.89}{26}=23.34$, so $s=4.831$. $\text{SE}(b_1)=\dfrac{s}{\sqrt{S_{xx}}}=\dfrac{4.831}{\sqrt{10800}}=0.04649$. With $t_{0.025,26}=2.056$: margin $=2.056(0.04649)=0.0956$. So $\boxed{0.287<\beta_1<0.478}$.
Question 8 — final results
PartQuantityValue
(a)Cov(X,Y); r153.0; 0.850
(b)95% CI for ρ(0.698, 0.929)
(c)b0; b135.40; 0.3825
(d)SSE; 95% CI for β1606.89; (0.287, 0.478)
Back to the paper →