Find. (a) $b_0,b_1,b_2$; (b) ANOVA $F$-test for the whole model; (c) $\hat y$, 95% CI (mean) and 95% PI (observed) at $x_1=20,x_2=1000$.
Approach. Build the design matrix $X=[1\ x_1\ x_2]$, compute $\hat\beta=(X'X)^{-1}X'y$ directly from the raw data (cross-checking the exam's own partial $(X'X)^{-1}$), then run the regression ANOVA $F$-test and the standard interval formulas at the requested point $x_0$.
(a) Fit by matrices. Computing $(X'X)^{-1}$ directly from the 6 rows above gives $$\left(X'X\right)^{-1}=\begin{pmatrix}8.595096 & 0.080958 & -0.009867\\ 0.080958 & 0.002102 & -0.000127\\ -0.009867 & -0.000127 & 0.0000123\end{pmatrix}$$ — matching the exam's given partial matrix once symmetrized. Then $\hat\beta=(X'X)^{-1}X'y$ gives $$\boxed{\hat y = 350.99 - 1.272\,x_1 - 0.154\,x_2}$$
(b) ANOVA $F$-test. $SST=\sum(y_i-\bar y)^2=14{,}112.0$; using $SSE=1950.42$ (recomputed value matches the given $1950.422$), $SSR=SST-SSE=12{,}161.58$. With $k=2$ predictors, $n-k-1=3$: $$F=\frac{SSR/k}{SSE/(n-k-1)}=\frac{12{,}161.58/2}{1950.42/3}=\frac{6080.79}{650.14}=\boxed{9.35}$$ $F_{0.05,2,3}=9.552$; since $9.35\lt 9.552$ ($p=0.051$), the model is not quite significant at the conventional $\alpha=0.05$ level — a borderline result driven by the very small sample ($n=6$, only 3 error df).
9.35 < $F_{crit}=9.55$ ($p=0.051$) — borderline, not significant at $\alpha=0.05$
$\hat y_0$ at (20, 1000)
171.6
95% CI (mean wear)
(135.9, 207.4)
95% PI (observed wear)
(83.0, 260.3)
Check — the given (X'X)⁻¹ needs recomputing, not plugging in directly Multiplying the exam's rounded matrix entries (6 decimal places, e.g. $0.000012$ for the $(3,3)$ entry) directly by $X'y$ gives wildly wrong coefficients (an SSE in the hundreds of thousands) because $x_1$ and $x_2$ are strongly correlated here, which amplifies rounding error. Recomputing $(X'X)^{-1}$ at full machine precision from the raw data and cross-checking against the given $SSE=1950.422$ (reproduced to 3 decimals) confirms the fit above is correct.