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 2021 iii Paper 219 2 a Solution by
Codex 0 2026-09-28
The squared chord distance isHence the restricted Gaussian process has covarianceIt depends only on , so it is stationary. It is periodic in either argument with period , and Gaussian-process realizations inherit that period almost surely because has zero variance.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 219 1 e Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 219 1 d Solution by
Codex 0 2026-09-28
The inverse-square law gives , so observation is equivalent toFor , integrating the Gamma density givesTherefore
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 219 1 c Solution by
Codex 0 2026-09-28
Writing , the log likelihood isHenceThe score variance and negative expected Hessian give Fisher informationSince is Gamma with mean and variance ,The estimator is unbiased and attains the Cramér-Rao lower bound.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 219 1 b Solution by
Codex 0 2026-09-28
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 219 1 a Solution by
Codex 0 2026-09-28
The expected number in a spherical shell is . Sincethe normalized radial density is the Gamma distribution
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 218 6 f Solution by
Codex 0 2026-09-28
The interval treats the selected model and estimated detrending and seasonal components as fixed, often assumes approximately Gaussian homoscedastic innovations, and ignores model-selection and parameter uncertainty. With only 100 observations these omissions can materially reduce coverage. A residual or parametric bootstrap that repeats decomposition, model selection, fitting, and forecasting can propagate those sources of uncertainty; time-series cross-validation can additionally assess empirical one-step coverage.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 218 6 e Solution by
Codex 0 2026-09-28
The first line searches candidate ARIMA models and selects the one with smallest Akaike information criterion. The second constructs a one-step-ahead point forecast and nominal 95-percent prediction interval from the fitted values of the selected model.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 218 6 d Solution by
Codex 0 2026-09-28
The sample autocorrelation has one substantial positive spike at lag one and then cuts off, while the partial autocorrelation tails off with alternating signs. This is the characteristic pattern of a moving-average process of order one.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 218 6 c Solution by
Codex 0 2026-09-28
A period-50 business cycle can be a stochastic cycle in the residual process and need not violate additive trend-plus-period-25 seasonality. Applying discards the first 50 of only 100 observations and introduces a noninvertible seasonal moving-average factor, creating strong artificial dependence and risking overdifferencing rather than modeling the cycle.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 218 6 b Solution by
Codex 0 2026-09-28
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 218 6 a Solution by
Codex 0 2026-09-28
A weakly stationary process has a constant finite mean and covariance depending only on lag . The plotted process is not stationary: it has a declining trend and a pronounced oscillation of period about , so its mean depends on time.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 218 5 d Solution by
Codex 0 2026-09-28
A weighted nearest-neighbours classifier predicts one whenwhere neighbours are distance ordered. Under the usual smooth-density and smooth-regression assumptions, asymptotically optimal weights downweight distant neighbours, for example normalized positive parts of . The optimal weighted-nearest-neighbour theorem gives smaller leading asymptotic regret than equal weights.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 218 5 c Solution by
Codex 0 2026-09-28
For each , the call to knn.cv performs leave-one-out nearest-neighbour classification and the third line stores the fraction of omitted observations misclassified. Choose a minimizer of ls, then fit the nearest-neighbour classifier with that to the full data.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 218 5 b Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
The K-nearest neighbors algorithm takes the majority label among the training features closest to the query, with a stated tie rule. Its data-dependent risk is the conditional test error given the training sample, and denotes its expectation over that sample.
For one nearest neighbour, condition on a feature value and couple the coincident nearest feature as . The two labels are conditionally independent Bernoulli, so their mismatch probability isIntegration over gives
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 218 5 a Solution by
Codex 0 2026-09-28
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 218 4 e Solution by
Codex 0 2026-09-28
A dead ReLU unit has nonpositive preactivation for every training input, so its output and gradient are always zero. Replace by the leaky ReLUIts negative-side derivative permits recovery while it remains nonsaturating, preserving the gradient advantage over sigmoid activation.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 218 4 d Solution by
Codex 0 2026-09-28
For all weights and biases collected in , fitUse backpropagation with stochastic gradient descent or a modern adaptive variant, treating the absolute-value derivative at zero as stated. Select by validation or cross-validation and refit using the selected pair.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 218 4 c Solution by
Codex 0 2026-09-28
Deep sigmoid networks suffer from vanishing gradients because derivatives become small in saturated units and multiply across layers. The ReLU has derivative one on its positive half-line and therefore propagates gradients more effectively there.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 218 4 b Solution by
Codex 0 2026-09-28
Multinomial logistic regression is the network with no hidden layer: followed by softmax. Binary logistic classification uses one logit followed by the sigmoid function.
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





