Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 2 c Solution Created 2026-10-03 Updated 2026-10-06
Let and , where time homogeneity removes dependence on . A recorded state at the next clinic visit contributes a transition probability; an exactly observed death contributes a statistical probability density, not the probability of being dead at that time. If the last recorded living state is , the mixed panel and exact-death likelihood factor after an interval isThis sums over the unobserved living state immediately before death.
Conditioning on the recorded initial states, the contribution of the three displayed patient histories isIn this irreversible illness-death model, , and , simplifying it toThe factor is essential: the death time is known exactly. Replacing the final statistical probability density by would instead model interval observation of death and give a different likelihood.
The assumptions are independent patient histories with common rates; the Markov property; constant rates over calendar/follow-up time in this model; the stated absence of recovery and absorption at death; accurate state labels and death times; and an observation/follow-up mechanism that is noninformative for the latent process given the observed history. Clinic dates are conditioned on. The displayed living endpoints contribute only the shown observations, with noninformative right censoring if they are follow-up endpoints. Initial state probabilities are omitted by conditioning on them. Progression between visits can be unobserved, which is precisely why panel-observed multi-state likelihood uses the matrix exponential rather than assuming a transition occurs at a visit.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 2 d Solution Created 2026-10-03 Updated 2026-10-06
The mean holding time from a transition intensity matrix is . Apply this to the fitted exit rates and use monotonic inversion for each confidence interval:Thus the expected state durations are 86.96 months and 31.45 months, respectively. A confidence interval for a reciprocal rate reverses the endpoint order; the negative diagonal rates must first be converted to positive exit rates.
For the expected absorption time in an illness-death model, the time spent initially in the mild state is followed by an additional severe-state duration only if progression occurs before death. That probability is . ThereforeThis is an unconditional mean including both possible paths to death, not a mean conditional on progression.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 3 b iii Solution 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 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 c Solution Created 2026-10-03 Updated 2026-10-06
An ignorable missingness mechanism need not be absent from the data-generating process. It means that likelihood inference about the data-model parameters can omit the missingness factor, while still integrating over missing values.
Write the complete joint data statistical probability density as and the conditional missingness probability as . All values and only are observed. Under missing at random, is constant as varies with fixed. The actual observed-data likelihood is thereforeThe assumed distinctness is understood as independent variation of and . Maximizing over multiplies by a factor independent of ; likelihood ratios, scores and likelihood curvature for are therefore unchanged by omitting . This proves likelihood ignorability.
For implementation of the observed-data likelihood with a missing covariate, a linear regression model for must be accompanied by an appropriate model for the distribution of . For independent individuals, write for the regression statistical probability density and for the age statistical probability density. Up to the ignorable factor,Ignorability does not authorize discarding missing-age cases or assuming their ages have the distribution seen in the complete cases. It removes the need to model the observation mechanism for likelihood inference under the stated conditions, not the need to handle the missing covariates.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 5 Solution Created 2026-10-03 Updated 2026-10-06
For a proper continuous event time, the survival function is . The assumed invertibility of the cumulative hazard function gives, for ,ThereforeThis is the cumulative hazard probability transformation; it applies also conditionally on a subject's covariates, using that subject's correctly specified cumulative hazard function.
The fitted transformed times are Cox–Snell residuals. They retain their event/right censoring indicators, so a right-censored residual represents an exponential observation known only to exceed its displayed value. Under the fitted model and independent right censoring, calculate the Kaplan–Meier estimator of residual survival and compare it with , or calculate the residual Nelson–Aalen estimator and compare its cumulative hazard with the diagonal . Systematic departures reveal model inadequacy; sparse extreme residual risk sets and parameter estimation require caution. Treating all censored residuals as observed event times would invalidate this diagnostic.
Without right censoring, the residual mean should be approximately one. With right censoring, use the modified Cox–Snell residualFor a true unit-rate exponential distribution, the memoryless property gives . Thus an event keeps its known transformed time, while a censored observation is replaced by the conditional expected event time. Under independent right censoring, iterated expectation makes the mean of these adjusted values one when the true hazards are used, and approximately one when fitted hazards are used. These mean-imputed values do not themselves have an exponential distribution, so the survival-curve diagnostic should still use the original censored residual dataset. Moreover fitting equations can force the adjusted sample mean to one, making its mean alone a weak diagnostic.
For the proposed mixture of a finite right censoring time and no right censoring, andConsequentlyWhen right censoring has positive probability this choice is unique; if , no correction is needed and any has the same effect. Its independence from is the content of exponential memorylessness: the expected extra lifetime after any right censoring time is one. Conditioning on an arbitrary independent right censoring time proves the same correction beyond this special two-point mixture.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 6 a Solution Created 2026-10-03 Updated 2026-10-06
Conditional on an event and the immediately preceding history, probabilities are proportional to the three instantaneous hazards. Put . The two zero-covariate subjects each have weight one, and the one-covariate subject has weight . The common baseline hazard cancels. ThusEach individual with zero covariate has probability ; the first boxed probability is their combined probability. Conditioning on an event at a specified continuous time can be understood by the limiting conditional event probabilities in a short interval.
The hazard-weighted covariate mean is , so the Schoenfeld function at the true coefficient isMultiplying by the two conditional probabilities givesThis verifies the score-centering property directly for this risk set.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 6 b Solution Created 2026-10-03 Updated 2026-10-06
When the event comes from the one-covariate subject, the Schoenfeld function for a three-person binary risk set isHenceThese are limits where necessary. At a very negative coefficient the model assigns almost no event probability to the observed one-covariate subject, producing the largest positive discrepancy. At zero coefficient all three subjects have equal hazard functions, so the expected event covariate is and the discrepancy is . At a very positive coefficient the observed subject is predicted to have the event almost surely, so the discrepancy tends to zero. The function decreases strictly and stays positive at every finite coefficient: this one event alone favors increasing , while the other events in the complete Cox partial likelihood determine its overall estimate.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 7 a Solution Created 2026-10-03 Updated 2026-10-06
Write , with , and a finite . The competing risks model with transient surgical mortality has survival functionIntegrating the disease cause-specific hazard against this survival function givesThe first term accounts for disease deaths while both causes act; the second includes survivors of that period who then face only disease mortality. The probability of eventually dying from surgery isTaking the limit in gives , and thereforeThe ultimate-death conclusion uses the positive continuing disease hazard. If , the surviving fraction would instead live indefinitely in this model; the asserted conclusion is not valid in that boundary case.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 7 Solution 2026-10-06
For mutually exclusive event types, let be the first event time and its type. The cause-specific hazard for cause isIt is a rate conditional on having had no event of any cause. The cumulative incidence function, also called the cumulative risk function, is the actual probability .
The total hazard function is , giving . Surviving every cause to time and then experiencing cause givesIn competing risks, is generally not , because competing events remove individuals before they can experience cause . This formula does not require assuming independent latent failure times for the different causes.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 37 4 c Solution Created 2026-10-03 Updated 2026-10-06
Introduce nonnegative surplus variablesAt the proposed starting basic feasible solution, the basic variables are and the nonbasic variables are . Its simplex dictionary, with objective , isIncrease to decrease . The simplex ratio test gives limits from , from , and from . The smallest is , so enters and leaves. After this single pivot the dictionary isAll objective coefficients of nonbasic variables are strictly positive. Thus the simplex method has reached its unique optimum:The feasible dual vector has the same objective, providing an independent weak duality certificate. Normalization givesThese are all the equilibria: the dual's strict slack in row two forces , and the primal's strict slack in column two forces . Equality of the two active row and column payoffs then fixes the displayed probabilities. The value is the first player's expected net loss; the second gains .
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 37 4 d Solution Created 2026-10-03 Updated 2026-10-06
For a fixed number choice, increasing one's own stake changes only the amount lost when one loses. It does not change the amount won, which is the opponent's stake, or the zero payoff of a tie. Thus doubling is either weakly dominated by retaining the original stake or payoff-equivalent to it. This establishes that there is no strategic advantage in doubling, but does not imply strict harm in every equilibrium.
For the first player, each of the two equilibrium choices loses with positive probability: choice one loses against the second player's four, and choice four loses against their one. Doubling either therefore gives a strictly smaller expected payoff than . By contrast, against the first player's support , the second player's choices one and four either win or tie. Their own stake is never lost, so doubling it does not change their payoff.
More precisely, retain the first player's original-stake probabilities . The second player may split their total probability on choice one, and on choice four, arbitrarily between original and double stakes. The first player's unused choice two has payoff at most , even when the second player doubles their one stake. The doubled first-player choices are also worse. The second player's choice two, with either stake, is worse against the displayed first-player strategy. Hence these splits remain Nash equilibria of the enlarged zero-sum game.
The first player should not double; the second player is indifferent between doubling and retaining the original stakes on their equilibrium choices. This distinction is an example of weak domination does not exclude equilibrium strategies.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 37 5 b Solution Created 2026-10-03 Updated 2026-10-06
For a simple cooperative game, the Shapley value is the probability that a player is pivotal in a uniformly random ordering. Symmetry gives one value for permanent members and another for nonpermanent members.
A particular nonpermanent member is pivotal exactly when all five permanent members and exactly three of the other nine nonpermanent members precede them. The predecessor set then has size eight. There are such sets, each giving orderings. Their Shapley value is thereforeEvery ordering has exactly one pivotal member, since the empty coalition loses and the full coalition wins. This proves efficiency directly: , where is the value of each permanent member. HenceThe vector has five entries and ten entries . As a check, a permanent member is pivotal when they are last among the permanent members and occupy a position from nine to fifteen; counting those orderings gives the same .
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 37 6 c Solution Created 2026-10-03 Updated 2026-10-06
Use the usual nonempty-clause convention and normalize repeated literals within a clause; tautologies are always satisfied. If empty clauses are admitted, discard them first: they contribute nothing to any assignment or to the optimum. Let be the resulting number of clause occurrences.
Assign independent fair truth values. A singleton clause is satisfied with probability , a proper two-variable clause with probability , and a tautology with probability one. By linearity of expectation, the expected number satisfied is at least , hence at least .
To derandomize, use the method of conditional probabilities. After some variables have been fixed, let be the conditional expected number of satisfied clauses. For the next variable the two conditional expectations satisfy . Fix the value with the larger expectation. This never decreases . When all variables have been fixed, is the actual integer number of satisfied clauses, soCompute each conditional expectation by summing the probabilities of the clauses. Each has at most two variables, so its contribution is computed in constant time; scanning all clauses for each variable gives arithmetic operations. This is a polynomial-time approximation algorithm with approximation ratio .
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 37 6 d Solution Created 2026-10-03 Updated 2026-10-06
Apply the condition after the usual clause normalization, so each variable has at most one singleton clause. For a variable with such a clause, make its favored literal true with probability ; for other variables use a fair value. Make these choices independently. Then every singleton is satisfied with probability .
Each literal of a proper two-variable clause is true with probability at least . Independence bounds the probability that both are false by , so the clause is satisfied with probability at least . Tautologies have probability one. Thus the expected fraction satisfied is at least . One term increases and the other decreases, so their intersection maximizes this bound:The method of conditional probabilities also works with these biased probabilities: before fixing a variable, the current expectation is the weighted average of its two conditional expectations, so choosing the larger cannot decrease it. Each clause contributes a constant-degree expression in ; since , these expectations can be compared exactly in the fixed quadratic field with polynomial bit complexity. The final deterministic assignment therefore hasThis is the golden ratio approximation for MAX-2SAT, under the stated restriction on normalized singleton clauses. Arbitrary conflicting singleton clauses do not admit the same independent-bias guarantee.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 202 2 b Solution Created 2026-10-03 Updated 2026-10-06
For a continuous local martingale , its stochastic exponential isThe Itô formula gives and , so is a strictly positive local martingale. The finite-horizon Girsanov theorem says: if is a true martingale on and on , then for every continuous local martingale under ,For an infinite-horizon change of measure, assume is a uniformly integrable martingale and use its terminal density . In particular, if , the process is Brownian motion under the new probability measure, by the Lévy characterization of Brownian motion.
The quadratic variation cannot change. Adding the continuous finite-variation process leaves . Also the same pathwise partition sums defining have the same limit under an absolutely continuous change of measure; convergence in probability transfers by integrability of the density. Thus the bracket of the unchanged process , now a semimartingale, is also unchanged. The local martingale property itself need not survive. This is quadratic covariation under an absolutely continuous measure change.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 204 1 d Solution Created 2026-10-03 Updated 2026-10-06
The union bound gives . Hence some boundary graph vertex has percolation two-point connection probability at least . The rotations and reflections of the square lattice let us choose such a graph vertex as , . Reflection in the vertical line through sends to and fixes . ThereforeThe Harris-FKG inequality applied to these two increasing events proves the reflection lower bound for two-point percolation:Every graph path from to reaches , so . Taking roots givesBoth outside expressions have limit of a sequence , proving the even case. For , the Harris-FKG inequality with the last horizontal edge gives , and also . The lower bound has rootThe upper bound has the same limit of a sequence. At all positive-distance connection probabilities vanish. Thus for every .
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 204 2 c Solution Created 2026-10-03 Updated 2026-10-06
Let count -step self-avoiding walks on the square lattice from one fixed graph vertex. Splitting a self-avoiding walk after steps and dropping the avoidance constraint on its suffix gives . The Fekete lemma therefore gives the connective constant . The planar dual graph of the square lattice is a translated copy of it, so its connective constant is also .
Put and assume . Choose with . The definition of the connective constant provides a finite such that for every . A simple dual graph cycle of length surrounding has a graph vertex in a box of radius : its diameter is at most , and its coordinate ranges straddle the origin. Choose such a graph vertex as the starting point, orient the graph cycle, and omit its closing edge. The remaining self-avoiding walk has length . Consequently the number of these graph cycles obeysfor fixed finite constants. A specified graph cycle is open in dual bond percolation, equivalently all its crossed primal edges are closed, with probability . HenceTo make this tail argument valid for every , rather than only extremely small , use a finite modification of Bernoulli percolation. Condition all primal edges within to be open. This event has positive probability for . If the resulting percolation cluster of is finite, its outer boundary contains a simple closed dual graph cycle surrounding the whole box. Such a graph cycle has length tending to infinity with and crosses no forced-open edge. Under the conditioning its remaining edge states retain the original independent law, so its probability is still . Choose so that the above tail is less than . The conditional probability that belongs to an infinite percolation cluster is then at least , and thus .
This connective-constant Peierls bound proves that every is above or at the onset of positive percolation probability. Taking the infimum givesThe case is immediate. This proof uses the Peierls argument, without assuming the exact Harris-Kesten theorem.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 204 3 a Solution Created 2026-10-03 Updated 2026-10-06
The cubic lattice has graph vertices and an edge between when . In independent site percolation, every graph vertex is open with probability and closed with probability , independently. The open subgraph contains only open graph vertices and the edges between them. Let be the open connected component of a graph containing , with when is closed. The percolation probability isSince the cubic lattice is a locally finite graph, the König infinity lemma identifies an infinite open connected component of a graph with the existence of an infinite open graph ray from the origin. In particular, the origin itself must be open. The percolation critical probability is .
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 204 3 b Solution Created 2026-10-03 Updated 2026-10-06
Let be the event that the origin has an open graph path to the boundary of . The graph path can be stopped on its first boundary visit, so depends on only finitely many sites. Its probability is a finite sum of terms , and is therefore a continuous function of . Also , and the König infinity lemma gives . By continuity from above of a measure,The monotone coupling of Bernoulli percolation described below shows that is nondecreasing. For , its right limit of a function exists and is at least . For every fixed ,Taking the infimum in proves . This proves right continuity of percolation probability throughout ; at right continuity is understood relative to the parameter domain. The argument does not interchange two uncontrolled limits.