Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 4 b Solution by
Codex 0 2026-09-28
The softmax non-identifiability already proves that the coefficient vector is not unique. For any and , replace both rows of by and both output biases by . Every logit then gains the same value , so all softmax probabilities, classifications, and losses remain unchanged. Permuting the two hidden units supplies another non-uniqueness.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 4 a Solution by
Codex 0 2026-09-28
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 3 f Solution by
Codex 0 2026-09-28
Model 3 directly specifies the conditional mean and variance of the positive response on its observed scale. Its coefficients give multiplicative effects on mean record time, its prediction intervals concern time itself, and its likelihood can be compared directly with other original-scale models.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 3 e Solution by
Codex 0 2026-09-28
The ordinary least squares equations for model 2 areFor the Gamma generalized linear model, and , so its score equation under the logarithmic link isWhen is close to ,by the first-order Taylor expansion of the exponential function. The Gamma score equations then become the model-2 normal equations, so their coefficient estimates are close.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 3 d Solution by
Codex 0 2026-09-28
The printed values appear to favor model 2 because . They are not directly comparable: model 2 reports the Gaussian likelihood of , whereas model 3 reports a density for . The change-of-variables formula for a probability density givesso the transformed model's AIC on the original response scale isBecause the standardized predictors have zero sample means and the ordinary-least-squares residuals sum to zero,Thereforewhich is slightly worse than model 3's .
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 3 c Solution by
Codex 0 2026-09-28
For a likelihood with estimated parameters, the Akaike information criterion iswhere is the maximum-likelihood estimator. Among likelihoods for the same observed response and reference measure, smaller AIC estimates smaller expected out-of-sample Kullback-Leibler divergence up to a model-independent constant.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 3 b Solution by
Codex 0 2026-09-28
Model 1's residuals have a systematic curved pattern and a spread that grows strongly with fitted time. This indicates an incorrect linear mean on the original scale and heteroscedasticity; several observations are also influential or outlying. The constant-variance assumption is therefore implausible.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 3 a Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 2 c Solution by
Codex 0 2026-09-28
The selected zero-mean autoregressive moving-average process isThe reported maximum-likelihood estimates areUsing the displayed asymptotic standard error gives the Wald confidence intervalThis normal interval is unreliable and likely too narrow because the series has only about twenty observations, the moving-average estimate is near the noninvertibility boundary , and the same data were used to select the model. The finite-sample likelihood is consequently skewed and model-selection uncertainty is omitted.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 2 b Solution by
Codex 0 2026-09-28
At lag , the plot shows the sample autocorrelation functionUnder a white noise process, each fixed nonzero-lag sample autocorrelation is approximately , so the dashed pointwise reference lines are approximately .
The first nonzero-lag bar is well above the upper line, which contradicts the zero autocorrelation expected from white noise. Since the plot then largely cuts off, an moving-average process of order one is a plausible model; with the sampling interval as the time unit this is an model.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 2 a Solution by
Codex 0 2026-09-28
A process is weakly stationary when it has finite second moments, a time-independent mean , and an autocovariance functionthat depends only on the lag.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 1 f Solution by
Codex 0 2026-09-28
Because models 1 and 3 are full likelihood models for the same response, one can compare their Akaike information criterion values; that favors model 1. One can also compare held-out count prediction by K-fold cross-validation, using a common loss such as Poisson deviance or negative log predictive density.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 1 e Solution by
Codex 0 2026-09-28
The generalized linear mixed model tries to explain overdispersion by replacing the fixed minority coefficient with a Gaussian random intercept. Conditional on the group effect ,
This is a poor use of a random effect because minority has only two levels. Two realized intercepts contain almost no information about a random-effects distribution or its variance, and the two levels are substantively fixed categories rather than a sample from a population of groups. The model also has worse Akaike information criterion than model 1, , and its fit does not establish that the original overdispersion has disappeared.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 1 d Solution by
Codex 0 2026-09-28
The Quasi-Poisson standard errors are trustworthy only if observations are independent, the log-linear mean is correct, and the variance is proportional to the mean with one common dispersion. Dependence, zero inflation, or covariate-dependent dispersion can invalidate this covariance formula.
A parametric bootstrap under model 1 proceeds as follows. Fit the Poisson model once and retain and the fitted means . For bootstrap repetition , independently drawrefit the same Poisson regression to , and save its gender estimate . The sample standard deviation of these estimates over many repetitions estimates the model-1 standard error. This bootstrap deliberately measures uncertainty under the fitted Poisson model; it does not repair real overdispersion unless the resampling model is enlarged to represent its cause.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 1 c Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
With having rows and , the quasi-score equation isIt is the same coefficient equation as for Poisson maximum likelihood, explaining why the two models have identical coefficient estimates.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 218 1 b Solution by
Codex 0 2026-09-28
The researcher computed the Pearson chi-squared statisticand compared it with a distribution, using residual degrees of freedom. Under an adequate large-sample Poisson regression, should be roughly the residual degrees of freedom. The reported tail probability rounds numerically to zero and gives strong evidence of overdispersion.
Possible causes include unobserved heterogeneity or omitted covariates, dependence among respondents, excess zeros, or an incorrect mean function. The conclusion that the Poisson variance assumption fails is well supported, although this test alone does not identify the cause or establish that the Quasi-Poisson regression variance is correct.
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





