Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2016/iii/paper-206/5/e/solution

The null model's 99 residual degrees of freedom imply . Each predictor has a one-degree-of-freedom linear contribution in the parametric table, plus the reported nonlinear contribution. Consequently the termwise effective degrees of freedom are
Include the intercept once, giving about total effective degrees of freedom. The more precise residual degrees of freedom in the output give
There is no conflict: and are rounded, so they cannot recover the precise total. Individual unrounded termwise values are not provided.
The package's residual mean-square estimate of error variance is
matching the rounded in the table. The nonlinear experience contribution is highly significant, while the smaller nonlinear education contribution has approximate .
This calculation uses the effective residual degrees of freedom reported by this fit. For a general non-idempotent linear smoother , the noise contribution to expected RSS is , and the expectation can additionally contain squared smoothing bias. Thus dividing by is not a universal exact-unbiasedness theorem. The output's separation of linear and nonlinear term degrees of freedom is documented at cran.r-project.org/web/packages/gam/gam.pdf.

New to topics? Read the docs here!