Topics (206k) Articles (211k) Users (302) Discussions (237) Comments (383) Files (716) New article
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 207 1 d Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Use a three-state continuous-time multi-state model with transient infected state and absorbing recovered and dead states and . If recovery and death have constant transition intensities and , its Q-matrix iswith state order . This is also a competing risks model: recovery and death are the two mutually exclusive first events.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 207 1 a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
The first subscript in is the calendar time , and the second is the infection age , the time elapsed since the source individual became infected. Thus is the rate at which an individual of infection age generates infections at time . The corresponding discrete infectious disease renewal equation isup to a separately modelled term for imported infection. The upper limit may instead be a fixed maximal infectious age, with unavailable terms set to zero.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 5 b Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
The leave-one-out residual identity for a linear smoother, obtained from the block matrix inverse or the Sherman–Morrison formula, isHence
Compute once the spectral decomposition in operations and the vector in . For each , setThen computeBoth calculations take operations per tuning parameter, after which the displayed leave-one-out formula costs . All scores therefore require operations.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 5 a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
The kernel ridge regression estimator isBy the representer theorem, . If , substitution and differentiation giveThusThe matrix is the kernel-ridge hat matrix.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 4 d Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Let and . Each with is a valid p-value by the argument in part c. If the Holm step-down procedure selects any index from , let be the rank of the first such index. All earlier selections belong to , soSelection through rank impliesConsequentlyThus the procedure controls the familywise error rate without requiring independence among the p-values.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 4 c Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
If , then for every at least one of and is true. Sincevalidity of the p-value for whichever component null is true implies . Therefore the union bound givesThis is the Bonferroni correction for the composite intersection alternatives.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 4 b Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
One standard construction uses the Debiased Lasso. Starting from the Square-root Lasso estimate , estimate a vector that approximately inverts the th column of the empirical Gram matrix , for example by a Nodewise Lasso. Defineand estimate by . The approximate two-sided level- test rejects whenwhere is a standard normal quantile.
Sufficient high-dimensional conditions include a Compatibility condition for the Lasso bounded away from zero, , , andtogether with the corresponding sparsity and consistency conditions for the nodewise inverse-Gram estimate. Under these assumptions the Debiased-Lasso asymptotic normality makes the rejection probability under tend to .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 4 a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
The Square-root Lasso estimator with regularization parameter isUnlike the ordinary Lasso, its tuning parameter does not require prior knowledge of the noise standard deviation .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 3 d Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Part b places in the Lasso cone condition. Keeping the prediction-error term in the same argument giveswhere the second step is the Cauchy-Schwarz inequality. The restricted eigenvalue condition givesfor nonzero in this cone. Division by provesThe result is immediate when .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 3 c Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
For each column , the normalized score isThe errors are independent Rademacher random variables, and . The Hoeffding lemma therefore makes a sub-Gaussian random variable with variance proxy , soThe union bound with givesFor this becomesIn particular, if , the lower bound tends to one as .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 3 b Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Write . On , Hölder's inequality givesSince , the triangle inequality givesSubstitution in the Basic inequality for the Lasso, followed by discarding the nonnegative prediction-error term, yieldsTherefore , the Lasso cone condition.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 3 a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
With the normalization used here, the Lasso estimator minimizesOptimality at relative to the feasible point givesThe columns of are centered, so and the centered noise produces the same score function as . Expanding the two squared norms and cancelling the noise norm yields the standard Basic inequality for the LassoThus the displayed inequality in the question has a factor-of-two typo: its left side should be , or both terms on its right should be doubled. No scaling of the usual squared-error Lasso objective produces the three displayed coefficients simultaneously. Parts b and d explicitly ask us to use the stated inequality, so their requested constants follow from that stated version.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 2 d Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Let solve the th diagonal-block problem and setIts inverse is block diagonal. On each diagonal block, the Graphical-Lasso Karush-Kuhn-Tucker conditions hold by the definition of . On the off-diagonal blocks chooseThe assumed inequalities ensure that every entry lies in , exactly the allowed subgradient at a zero entry of .
Thus on every block. The KKT conditions and the fact that the objective is strictly convex prove that , giving the claimed block decomposition.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 2 c Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Multiply the Karush-Kuhn-Tucker conditions on the right by and take the matrix trace:Symmetry and the defining property of the subgradient of the absolute value giveConsequently the last two terms in the objective sum to , and hence
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 2 b Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
The differential of the log-determinant is . The subdifferential of the entrywise norm consists of symmetric matrices withThe Karush-Kuhn-Tucker conditions for the Graphical Lasso are thereforeBecause is strictly convex on the positive-definite matrices, these conditions characterize the unique minimizer whenever it exists.
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





