23-Chem-B3 Simulation, Modelling, and Optimization · December 2014
Question 5 of 7: Inference on a Least-Squares Linear Regression
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Exams — December 2014 — 04-Chem-B3, Simulation, Modelling & Optimization. Closed-book; any five of the seven questions constitute a complete paper (equal value). All seven are solved below as a study resource.
Reference texts: T. F. Edgar, D. M. Himmelblau & L. S. Lasdon, Optimization of Chemical Processes (2nd ed., McGraw-Hill) — unconstrained & constrained optimization and linear programming; S. S. Rao, Engineering Optimization: Theory and Practice (4th ed., Wiley); S. C. Chapra & R. P. Canale, Numerical Methods for Engineers (7th ed., McGraw-Hill) — root finding (Newton, bisection) and difference equations; D. C. Montgomery & G. C. Runger, Applied Statistics and Probability for Engineers (7th ed., Wiley) — linear regression and hypothesis testing; E. Kreyszig, Advanced Engineering Mathematics (10th ed., Wiley) — the error function and difference equations.
Question 5: Inference on a Least-Squares Linear Regression (20 marks)
Find. (a) test $H_0:\beta_1 = 0$; (b) test $H_0:\beta_0 = 0$ (whether the through-origin model suffices); (c) the correlation coefficient $r$.
Approach. Use $s = \sqrt{{s^2}}$ and standard errors $\operatorname{{se}}(b_j) = s\sqrt{{C_{{jj}}}}$ to form $t = b_j/\operatorname{{se}}(b_j)$ on $\nu=8$ d.o.f.; obtain $r$ from the variance partition $r^2 = SS_R/S_{{yy}}$.
Residual scale and d.o.f. $s = \sqrt{{0.468}} = 0.6841$ on $\nu = n-2 = 8$ d.o.f. (Check: $SS_E = S_{{yy}} - SS_R = 80.61 - 76.87 = 3.74$, and $SS_E/8 = 0.468$ — consistent with the stated error variance.)
(a) Test $H_0:\beta_1 = 0$. The slope $t$-statistic is
$$t = \frac{b_1}{s\sqrt{{C_{{11}}}}} = \frac{8.5168}{0.6841\sqrt{{0.94354}}} = \frac{8.5168}{0.6645} = \boxed{12.82}.$$
Since $12.82$ vastly exceeds every tabulated critical value (largest $= 1.860$ at $\alpha=0.10$), reject $H_0$: $Y$ depends significantly on $x$.
(b) Test $H_0:\beta_0 = 0$. The intercept $t$-statistic is
$$t = \frac{b_0}{s\sqrt{{C_{{00}}}}} = \frac{-0.8701}{0.6841\sqrt{{1.72911}}} = \frac{-0.8701}{0.8996} = \boxed{-0.967}.$$
Because $|{-0.967}| \lt 1.860$ (and indeed sits between the $\alpha=0.40$ and $\alpha=0.30$ criticals), we fail to reject $H_0:\beta_0=0$. The intercept is not significant, so the through-origin model $Y = \beta_1 x$ can replace the original.
(c) Correlation coefficient. From the variance partition,
$$r^2 = \frac{SS_R}{S_{{yy}}} = \frac{76.87}{80.61} = 0.9536 \;\Rightarrow\; r = +\sqrt{{0.9536}} = \boxed{0.9765},$$
positive because $b_1 \gt 0$.