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 2024 iii Paper 221 4 iii Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Condition on the independent external sample, and abbreviate and . Expanding the plug-in estimator around the true nuisance functions giveswhere because the two nuisance mean squared errors vanish, the evaluation sample is independent of the nuisance fits, is bounded, and has bounded support. The linear term is the empirical average of the influence function, so the central limit theorem givesThe remaining bias obeys the Cauchy-Schwarz inequalityThus the claimed conclusion follows under the standard product-rate conditionequivalently . Slutsky theorem then yields
As printed, the paper instead assumes only , which is insufficient with its stated definition of MSE. For example, deterministic nuisance errors of size have both MSEs equal to and satisfy the printed condition, while the scaled product bias is . The result therefore requires the stronger condition above, or “MSE” in the printed rate must be read as root mean squared error.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 221 4 ii Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Write , , and . The functional isThe first term has influence function . Applying the product rule to the second term, including perturbations of , , and , givesSubtracting and using yieldsIts expectation is zero because the first product has expectation .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 221 4 i Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
For binary , conditional covariance satisfiesBy conditional exchangeability and consistency of potential outcomes, the difference in braces is . Consequentlyso the required weight isThis overlap weight emphasizes covariate strata with treatment probabilities near one half and downweights strata near a violation of positivity in causal inference.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 221 3 iv Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
This is the covariate-conditional front-door adjustment. The paths from to have no unblocked backdoor path after conditioning on , and all backdoor paths from to are blocked by . ThereforeThe inner sum identifies the effect of setting at covariate value by adjusting for ; the outer sum transports this through the mediator distribution generated by setting and then averages over .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 221 3 ii Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
In an acyclic directed mixed graph, a fixable vertex is one whose bidirected district contains no proper directed descendant of :Here and lie in the same district because , and is a directed descendant of along . Thus is not fixable.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 221 3 i Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
A nonparametric structural equation model for the graph can be writtenThe bidirected edge permits dependence between and ; apart from this pair the exogenous variables are mutually independent. The basic potential outcomes areand the natural nested outcome is .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 221 2 iii Solution by
Codex 0 Created 2026-09-24 Updated 2026-11-05
A density factorizes according to a directed acyclic graph whenwhere is the set of parents of vertex .
The required undirected graph is the moral graph: join every pair of parents having a common child, retain the parent-child adjacencies, and remove all arrowheads. Each DAG family is then a clique, so each conditional factor is a clique potential and the DAG factorization is also an undirected factorization. These edges are minimal for a guarantee covering every DAG-factorizing density, because an arbitrary conditional factor can couple every pair of variables in its family.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 221 2 ii Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Let be the precision matrix, let , and condition on . In the Gaussian exponent, all terms depending jointly on and are contained inIf , this conditional density is a product of one function of and one function of , so the conditional independence of and given holds.
Conversely, conditional independence makes this everywhere-positive conditional density factorize. Its mixed second derivative must therefore vanish:Hence the conditional independence holds exactly when .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 221 1 iv Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Within the active set, cross-classify dosage against . Conditional on the vector , complete randomization assigns of the active patients to low dosage and to high dosage uniformly. Under independent assignment, active patients receive low and high dosage with conditional probabilitiesconditioning further on their low- and high-dose totals again gives the same uniform allocation. Under , active patients' outcomes are fixed as their common , so the conditional Fisher p-value obeys
Under , is a function only of and the fixed outcomes. Applying the law of iterated expectation under the joint null givesThis conditional argument explains the stated near-independence even though the two tests reuse outcomes.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 221 1 iii Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Cross-classify the binary exposure against the binary outcome . The four cells count placebo survivors or deaths and active-treatment survivors or deaths.
Under the sharp causal null hypothesis, every observed outcome equals the fixed value , regardless of assignment. With fixed arm sizes, the active set is a uniformly chosen subset of size . Under independent assignment, are independent Bernoulli variables with probability , and conditioning on their total again makes the active set uniform. Conditional on the table margins, the active-group outcome count therefore has exactly the hypergeometric distribution used by Fisher's exact test.
The conditional p-value is super-uniform for every set of margins. The law of total probability then givesHence the test is valid under either assignment mechanism.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 221 1 ii Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
For a two-by-two contingency table, Fisher's exact test conditions on both row totals and both column totals. Under the null of no association, the upper-left count then has the hypergeometric distributionwhere and are the first row and column totals. A one-sided p-value sums the appropriate hypergeometric tail; a common two-sided p-value sums the probabilities of all feasible tables no more likely under the null than the observed table. Because the conditional distribution is discrete, the p-value is super-uniform random variable rather than generally exactly uniform.
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





