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 2014 iii Paper 35 2 e 3 Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
The next beta distribution has conditional expected value and varianceFor large , its expected value approaches , while its variance is at most . The final draw therefore stays close to the first. These are prior distributions for the cup probabilities: the auxiliary count is a device for constructing dependence, rather than additional observed tea data.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 35 2 e 2 Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Conditional on , the auxiliary binomial distribution gives and . Thus large makes close to . The law of total variance also givesThe latent variable encodes the first draw increasingly accurately.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 35 2 e 1 Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Start with the beta distribution draw in the Beta-binomial exchangeable coupling. Write andThese are the expected value and variance of . The fixed in this coupling is a dependence parameter chosen by the investigator, not necessarily the observed number of cups. The four numbered stages together address the single printed correlation request.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 33 6 b ii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-14
Let mean membership in the structural-zero component. Under the fitted zero-inflated Poisson regression, , whereas . By Bayes' theorem, the posterior structural-zero probability isUsing the printed predictions for this patient givesThe fitted conditional probability is about . It is larger than the prior fitted structural-zero probability , because observing no episodes increases the probability of latent membership in that component. The interpretation “never at risk” is the model's structural class; an observed six-month zero alone does not identify the class with certainty.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 33 6 b i Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
There are two different effect scales in this zero-inflated Poisson regression. The count component describes the mean conditional on belonging to the susceptible component, including its possible zero outcomes. Its logarithmic link function coefficients exponentiate to ratios of those conditional means. The zero component describes the structural-zero probability ; its logit coefficients exponentiate to odds ratios, not probability ratios.
Holding the other covariates fixed, Centre B versus Centre A changes the susceptible count mean by the factoran increase of about . It simultaneously multiplies the odds of being a structural zero byThus Centre B is associated both with higher count intensity among susceptible patients and with greater odds of belonging to the never-at-risk class.
Use no personality disorder as the reference. For women, borderline disorder multiplies the susceptible count mean by , and other disorder multiplies it by . Because the count model has sex-by-disorder interaction terms, the corresponding male comparisons must add the interactions before exponentiating:These compare men with the stated disorder to otherwise comparable men without a disorder; the female comparisons use female reference patients. The interaction multipliers and alone are ratios of these sex-specific disorder ratios, not the overall male disorder effects.
In the zero component there is no sex-by-disorder interaction. Borderline and other disorders multiply the structural-zero odds relative to no disorder by and , respectively, holding centre fixed; these comparisons are the same for both sexes in the fitted zero model.
The marginal mean is . Therefore none of these count multipliers alone is the population-average change in expected episodes when the same covariate also changes . For a count coefficient change and zero-logit change from baseline zero predictor , the marginal mean ratio isFor centre use ; for disorder use its sex-specific count contrast and its zero contrast. This is the component and marginal effects in zero-inflated regression distinction needed to interpret these results carefully.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 33 5 b iv Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
The original PDF's age smooth is nearly flat, its uncertainty band includes zero across the age range, and its approximate p-value is . The exposure smooth is increasing and convex: it is fairly flat at low exposure and rises more steeply at high exposure. Its effective degrees of freedom suggest a modest departure from a straight line, rather than a highly oscillatory relationship.
A suitable simpler model is therefore the grouped quasibinomial regressionwith age omitted and dispersion estimated. A positive quadratic coefficient captures the convex exposure relationship; retaining the linear term respects the usual polynomial hierarchy. This model should be refitted, rather than assigning coefficients from the smooth plot. Compare its residual pattern and dispersion-adjusted fit with the additive model to check that the quadratic approximation is adequate. An exposure-only quadratic logit model is a justified parsimonious candidate, while the graph does not justify a sharp threshold or a zero-dispersion model.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 33 5 b iii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
The trace of the smoother's influence matrix is its total effective degrees of freedom. Include the unpenalized intercept as well as both centered smooth terms:The
Ref.df entries are for approximate significance calibration and must not be summed to obtain this trace. A consistency check using the generalized cross-validation form and scale estimate gives ; the small difference is explained by rounding in the displayed quantities. The required trace is about . Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 33 5 b ii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
The first model's residual deviance is on residual degrees of freedom, a ratio of about . This is far above the scale expected from a well-fitting dispersion-one grouped binomial regression. It suggests an inadequate mean function, overdispersion, or both. The linear age and exposure restrictions may miss nonlinear associations; the generalized additive model allows those shapes to be estimated through penalized cubic regression splines rather than assumed.
The very small exposure Wald p-value in the first fit suggests an association, but does not establish that a linear logit effect is adequate. Nor does the nonsignificant linear age term exclude every possible nonlinear age effect. Allowing estimated scale also addresses the excessive residual variation, which can arise from clustered data because several births belong to the same woman. The second model's estimated scale confirms that permitting smooth means has not removed all extra variation. The reason to proceed is poor initial fit and possible nonlinear effects, with dispersion-aware inference, not merely the wish to obtain more significant tests. These observational fits alone do not establish causation by the disaster.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 33 5 b i Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
For woman , write for the number of births, for the number with defects, for baseline age, and for exposure. Let be the common marginal defect probability for her births. The first fit is a grouped grouped-binomial logistic regression:It assumes independent women and, conditionally on their covariates, independent births with the same probability within each woman. The supplied birth totals are the binomial denominators; fitting the proportions with weights is equivalent to this grouped-binomial specification. The fitted linear predictor is .
The second fit is a generalized additive model with the same logit link function and the mean specificationThe functions are penalized cubic regression splines with natural boundary conditions. Centering constraints such as separate them from the intercept; the fitted centered intercept is . Their second derivative roughness penalties control complexity.
The call estimates a common scale rather than fixing it at one. Its working variance specification for the counts isEquivalently the variance of is . This is the working moment interpretation of an overdispersed binomial generalized additive model: the code uses binomial deviance for fitting and estimated scale for inference. With , it is not an exact independent-binomial sampling model. Women are still treated as independent groups, but within-woman dependence or unobserved heterogeneity can motivate the extra dispersion. The quasibinomial regression interpretation states what the scaled analysis assumes without inventing a full probability distribution for its counts.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 3 b iii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Under missing completely at random, the observed second-year outcomes form a random subsample, so the direct pooled complete-case analysis estimate isIt is valid under missing completely at random because dropout no longer changes the marginal distribution of second-year use. Pooling is simpler than reporting separate conditional probabilities, but MCAR alone does not make this estimate more efficient than the estimate in the previous part. The fully observed first-year variable carries useful outcome information and can improve precision even when dropout is completely random.
To make the qualification explicit, write , , and for the constant response probability. For patients the leading variance of the pooled estimator is . The standardization estimator in the preceding part has leading varianceIndeed its first-order centered contribution is : the two terms have zero covariance, and their variances give that expression. The law of total variance therefore yieldsThe inequality is strict when there is dropout and first-year use predicts second-year use, as the distinct conditional rates suggest here. Thus the requested universal efficiency claim needs qualification. In the unrestricted joint binary-outcome model, maximizing the observed-data likelihood under either missing at random or missing completely at random gives the same standardization estimate : the all-patient first-year proportion and the two observed conditional second-year proportions maximize its factored outcome likelihood. Restricting the distinct missingness parameters to a common response probability affects their factor, not this estimate. The pooled value is the simple valid MCAR answer; retaining the first-year information gives the efficient MCAR answer and does not require replacing the previous estimate.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 3 b ii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Apply MAR standardization over a fully observed covariate. All first-year statuses are known, so the estimated probabilities of no use and use in year one are and . Within those categories, missing at random lets the observed second-year probabilities represent the corresponding dropout outcomes as well. They are estimated by and .
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 3 b i Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Ask the doctor whether, among patients with the same first-year drug-use status, patients who dropped out would be more or less likely to have used the drug in the second year than those who remained. The comparison is within the observed first-year categories, not just between all dropouts and all completers.
If there is no remaining relationship with second-year drug use after conditioning on first-year use, missing at random is plausible for these recorded variables. If treatment-related difficulties, new medication or deterioration lead to dropout in a way not accounted for by the recorded first-year status, missing at random may fail. A different response rate in the two first-year categories is allowed under missing at random. The unobserved second-year outcomes mean that the observed table alone cannot establish this assumption; clinical knowledge or additional follow-up information is needed.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 1 a i Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
For a one-sided Wald test use the signed normal Wald statistic, rather than its square. The maximum-likelihood estimate is the sample mean , with exact variance , soA sum of independent normal random variables is normal, giving and hence . Under the null hypothesis its mean is zero:Thus its null distribution is exactly the standard normal distribution, without an asymptotic approximation. If the squared Wald statistic convention is used, has a chi-squared distribution with one degree of freedom; the signed form is needed to distinguish the two directions.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 27 5 c 2 Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Use the positive exponential Brownian martingaleThe strong law for Brownian motion, , makes its exponent tend to and hence . If , then . Part (b) gives, for ,Thus the maximum is exponentially distributed with rate :There is no atom at zero, by letting in the tail. This is the infinite-horizon crossing probability for Brownian motion with negative drift.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 27 5 c 1 Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Let denote this maximum and put . Brownian motion reaches almost surely: the Brownian reflection principle gives crossing probability . Continuity gives , with the strict-crossing infimum interpreted as in part (b). The processis a continuous nonnegative local martingale starting at one and tending to zero. Its maximum is . Apply part (b) at , for :Differentiating gives the maximum before a lower Brownian barrier densityThe tail tends to one as , so there is no atom at zero. The density integrates to one.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 26 3 3 iii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Fix . The event means that the future path through time one never exceeds the maximum already attained by time . Given , future increments form an independent Brownian motion , soHere the Brownian running maximum distribution is the one derived above. On , an event of probability , the finite quantity is strictly positive, so this conditional probability lies strictly between zero and one.
If were a stopping time, would be -measurable, and the displayed conditional expectation of its indicator would equal that indicator, taking only zero and one. The contradiction proves is not an -stopping time. Thus the Strong Markov property cannot be invoked at to assert a Brownian shifted process; the direct argument here does not assume that property at this random time.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 26 3 3 ii Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Put . Because is the maximum on ,The preceding part makes this a strictly positive random interval with probability one. A standard Brownian motion cannot have this path property. For each deterministic , the Brownian reflection principle gives . Taking the countable union over shows that the probability of staying nonpositive on any initial interval of positive length is zero.
Therefore is not a Brownian motion. This is the obstruction for Brownian motion shifted at its finite-horizon maximum. It concerns its path law, irrespective of any proposed filtration for the shifted process.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 26 3 3 i Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Continuity ensures that the maximum on is attained, so its first attainment time lies in . To exclude the endpoint, use Brownian time reversal on a finite interval:This is a standard Brownian motion on this interval. Indeed, its increments are increments of on disjoint intervals taken in reverse order, hence are independent centered normal variables with the required variances, and its paths are continuous.
If is the maximum, then for every . But by the Brownian reflection principle and symmetry,the running maximum of has the distribution of , whose probability of being zero is zero. In particular the event has probability zero. Thus with probability one. Uniqueness of the maximizing time is not needed for this proof.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 19 6 iv b Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
Use the displayed family to form the coherent-injection Aronszajn tree. A node at level is a restriction for some . Every such node differs only finitely from . There are countably many finite subsets of the countable domain and countably many assignments of natural-number values to each, so there are only countably many possible finite modifications. Hence each level is countable. It is nonempty because it contains .
Every shorter restriction of a node is again a node, and its predecessors have order type its domain ordinal. Thus this is a set-theoretic tree of height . If it had an uncountable chain in a partial order, its domain heights would be unbounded in , since the levels below any countable height contain only countably many nodes. The union of that chain in a partial order would be an injection , impossible. ThereforeThe countable-level proof uses coherence, whereas the no-branch proof uses injectivity; the two features play different roles.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 19 6 iv a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-06
We construct a stronger family: every injection will have coinfinite range, and coherence means agreement modulo finitely many arguments. Begin with the empty function. At a successor, extend by assigning the new argument a value outside its range; the range remains coinfinite, and coherence with earlier functions is unchanged.
At a countable limit , take cofinal in . We build injections , extending one another exactly, with differing from at finitely many arguments. Also reserve distinct numbers , never used by the eventual union. After constructing , choose outside its range and different from the earlier reserved numbers; its range is coinfinite since it differs finitely from that of .
To extend to , first use on the new arguments while keeping on the old ones. Only finitely many collisions can arise: and differ finitely by the inductive coherence hypothesis, so their image sets differ finitely. The candidate is otherwise injective. There are also only finitely many new arguments assigned a value among . Reassign these finitely many bad arguments to distinct fresh values outside the candidate image and the reserved finite set. Infinitely many fresh values are available because the candidate image differs only finitely from the coinfinite image of . The resulting is injective, extends , omits the reserved numbers, and differs finitely from .
Put . It is injective and omits all , so its range is coinfinite. For each , choose with . The restriction is , which differs finitely from , and hence from . Transfinite recursion now givesThese coherent coinfinite injections into omega solve the requested problem. Reserving infinitely many omitted values is important: a union of injections with individually coinfinite ranges need not itself have coinfinite range.
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





