Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 32 7 b Solution 2026-10-06
Use the Aalen–Johansen estimator of the cumulative incidence function, updating the overall Kaplan–Meier estimator for either event:Right censoring changes subsequent risk sets, not the survival function by itself. Starting with the given estimates at , the complete calculation isThe middle event is of the competing type: it decreases overall survival while leaving the disease cumulative incidence function unchanged at that instant. The event-free intervals leave every estimate and risk set unchanged.
At the final time, both the event subject and the subject censored at that time are in the just-before risk set, so its denominator is eight. This is the usual event-before-censoring convention for recorded ties. After the event and right censoring, six subjects remain at risk. ConsequentlyThe nine numbered source items are the inputs to this single calculation, not nine further questions.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 33 5 b i Solution Created 2026-10-03 Updated 2026-10-06
The Kaplan–Meier estimator is , with event count and risk set size . Its median is the first event time with estimated survival at most . Since and , the estimated median completion time is minutes.
The original last event exhausts the final risk set, so the fitted survival function drops to zero at and its conventional full area is finite. Integrate the right-continuous step function: its height is one before time one, and after each event the height is the newly computed survival value. There are three-minute gaps from to and from to . ThusUsing the exact risk-set products rather than rounded printed survival values gives . This is not the sample mean of the observed event-or-censoring times; right censoring changes the estimated survival weights.
If the final observation at is instead censored, every earlier Kaplan–Meier estimator value is unchanged and no event factor is inserted at . The median remains minutes, but the curve stays at at the end of follow-up. By terminal censoring and survival-mean identifiability, a full unrestricted mean is no longer determined nonparametrically by these observations. Extending the final positive step forever would give an infinite integral, but that plotting convention does not establish an infinite population mean. Extra assumptions about the unobserved tail would be needed for a finite full-mean estimate.
The restricted mean survival time through is still minutes in either version: the two curves differ only at or after the endpoint, which does not affect the area up to it. All these interpretations require independent censoring. Giving up may be related to how long a person would have taken to finish, so that assumption needs scientific justification in this study.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 5 Solution Created 2026-10-03 Updated 2026-10-07
is the number in group still observed and event-free immediately before event time : its group-specific risk set size. Set . Under the common hazard function and conditional on exactly one event at that time, each at-risk individual has the same infinitesimal event probability. ThereforeThe indicator records whether the event came from group 1, while is its conditional expectation under equal hazards. Thus is the observed-minus-expected group-1 event count at that time. Under the null these are martingale differences, with conditional varianceThe log-rank statistic has null mean zero. Its predictable variance estimate is , so the equal-hazards test usesUse a two-sided large-sample log-rank test if no direction was prespecified; and adequate information are needed. The variance is the no-ties form. A positive indicates more group-1 events than expected. Independent censoring conditional on the model is required for these at-risk event intensities to describe the data.
Under the proportional hazards model, the total instantaneous group- rate is . Conditioning on the next event cancels the baseline hazard, givingKeep defined using its null probability , as in the question. Its conditional expectation under the alternative isIt is zero at , as required, and has the sign of when both groups remain at risk. Replacing inside the definition of with the alternative probability would give a different residual, whose mean would instead be zero under that alternative.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 6 1 Solution Created 2026-10-03 Updated 2026-10-06
The history contains the information observed strictly before : baseline characteristics, previous events and censoring, and therefore which individuals are currently eligible and under observation. Formally it is the pre- information in the relevant filtration. The at-risk process is 1 if individual is observed and event-free immediately before , and 0 otherwise. Let and write for the cumulative hazard increment.
The counting-process intensity in survival analysis givesThe common conditional hazard function is assumed to remain applicable after conditioning on the observed history, as under suitable independent censoring. Summing gives the conditional mean of the total event increment:On times with , invert this relation to estimate the hazard increment:The last sum is for untied events. This is the Nelson–Aalen estimator; for ties replace 1 by the number of events at that time. No increment can be estimated once the risk set is empty.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 6 3 Solution Created 2026-10-03 Updated 2026-10-06
Put . A binary event increment has conditional variance . Since , its squared mean is of second order, givingTreating the predictable risk set size as known given the history, the Nelson–Aalen estimator increment therefore has first-order varianceSubstitute for to obtain the estimated increment variance . Summing these estimated predictable variances gives the usual Nelson–Aalen variance estimator:The martingale has orthogonal increments, which justifies accumulating the predictable variances of the estimation error. This is an estimated sampling variance on the observed at-risk range, not a claim of exact finite-sample unbiasedness after the risk set becomes empty. For multiple events at an event time the usual extension replaces the numerator 1 by the event count.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 35 7 2 Solution Created 2026-10-03 Updated 2026-10-06
Multiply survival to by the conditional type-A event probability in the next infinitesimal interval. The unconditional type-A increment probability isEquivalently, its exact value over a positive interval of length is . The factor is essential because a prior B event removes an individual from the relevant risk set.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 207 4 Created 2026-10-03 Updated 2026-10-06
Throughout the survival questions, use the paper's notation for the survivor function, not for a cumulative distribution function. To construct the Kaplan–Meier estimator, sort the distinct observed event times . Let be the size of the risk set immediately before , and the number of events at that time. The estimated conditional chance of surviving that event time is . Multiplying these conditional probabilities givesA right censoring time reduces later risk sets but causes no jump itself. The usual interpretation as a population survivor function uses independent censoring.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 207 4 a Solution Created 2026-10-03 Updated 2026-10-06
The risk sets at the six event times are , each with one event: the censoring between and removes the seventh individual before the fourth event. Thus the survivor estimate after the fifth event isConditional on reaching , the event mass at is , that at is , and that at is . Hence the conditional event probabilities are
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 207 4 b Solution Created 2026-10-03 Updated 2026-10-06
Now treat the seventh observation as an actual event at , not as a censoring at that time. The risk sets are and the event counts are . The Kaplan–Meier estimator therefore givesConditional on reaching , the two events at that time have total probability . Surviving them has probability , which is then divided equally between the remaining two event times. Thus
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 207 4 c Solution Created 2026-10-03 Updated 2026-10-06
For fractional event imputation, let be the fractional event weight assigned to the seventh individual at . Its event contribution at is . It belongs to the risk set at that time precisely for allocations at or later, so its fractional risk set contribution is . This justifies both parts of the hint.
For , the fractional counts at the last three times areEarlier Kaplan–Meier estimator factors still give survival immediately before . ConsequentlyThe three values are , , and , in strictly increasing order. Spreading the censored individual's mass beyond raises the survivor estimate from the immediate-event imputation and moves it toward the original Kaplan–Meier estimator.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 207 5 a Solution Created 2026-10-03 Updated 2026-10-06
The transformed event time is unit exponential, and the transformed censoring time remains a censoring time because is increasing. Under independent censoring and a correctly fitted model, the Kaplan–Meier estimator of the survivor function for the Cox–Snell residuals should approximate .
Thus a logarithmic survivor plot should follow a straight line through the origin with slope minus one:The empirical plot is a step function around that line. Systematic curvature suggests model misspecification; the late part is less stable when the risk set is small. The retained event indicators must be used rather than treating censored residuals as complete event times.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 207 7 b i Solution Created 2026-10-03 Updated 2026-10-06
In the counting-process intensity in survival analysis, the counting process jumps once if an observed event occurs; the at-risk process is one immediately before only while individual is still observed and event-free. Conditional on that information, the chance of an event in a short interval is for an at-risk individual and zero otherwise. This is the meaning ofThe history is the filtration generated by the observed event and censoring histories, entry information, and available covariates strictly before . In particular, it determines the current risk set but does not reveal future event times. The right-hand side is the infinitesimal compensator of a counting process; the equality is interpreted as an intensity statement to first order in .
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 207 7 c Solution Created 2026-10-03 Updated 2026-10-06
Let and be the total observed counting process and size of the risk set. When the individual cumulative hazard functions are all , summing the conditional intensity equations givesReplace the expected increment by its observed value and divide by the predictable risk set size. Thus the Nelson–Aalen estimator in integral form iswith the integrand defined as zero when . This is an integral against the step counting process, so each event time contributes its event count divided by the risk set just before that time. The Nelson–Aalen estimator estimates integrated hazard over times with observable risk; it does not supply information after observation has ended.