Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 207 4 d Solution Created 2026-10-03 Updated 2026-10-05
Choose the potential right-censoring times to include every observed right censoring time up to , and also the endpoints 0 and . Then no individual is censored strictly inside . Use an explicit endpoint convention: let count individuals still event-free after any events at , but before censoring at . If events occur in , the number at the beginning of that interval, after censoring at its left endpoint, is .
The no-censoring interval estimate from the preceding parts is therefore . The possible event mass at zero contributes . Multiplying yieldsFor a continuous event-time distribution, normally . Within interval , put and let its successive event counts be . Its Kaplan–Meier estimator factors telescope:The same calculation at zero provesThe paper's phrase “at risk at ” does not specify its side of an event at that endpoint. If it denotes the conventional pre-event risk set size instead, and events occur exactly at , substitute . The interval factor is then ; at zero it is . This keeps the events-before-censoring convention consistent. After an empty risk set, stop the product; if the fitted survival has reached zero, retain zero rather than creating a factor.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 207 5 a Solution Created 2026-10-03 Updated 2026-10-05
Define the event counting process and at-risk process byUnder a common hazard function and independent censoring, the conditional event rate is . Equivalently, the counting-process compensator satisfies . Estimate a cumulative hazard increment by the observed event increment divided by the current risk set:With no ties, has mass at , and . Thus the Nelson–Aalen estimator isOnly event times contribute, so no empty risk set is divided into an event count. Right-censored observations contribute time to the risk sets, but no event increment.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 207 5 b iii Solution Created 2026-10-03 Updated 2026-10-05
Within the risk set , the Cox proportional-hazards model makes the conditional failure probabilities proportional to . ThusThe score function sums observed minus expected covariates at event times. At a finite interior maximum of the Cox partial likelihood,The balance holds in aggregate, not separately at every event. The log partial likelihood is concave becauseWhen there is informative covariate variation in the risk sets, this gives a unique finite solution if it exists. A completely separated event pattern can instead have its maximum only as ; the question's finite implicitly excludes that case.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 207 5 b ii Solution Created 2026-10-03 Updated 2026-10-05
Taking logarithms of the Cox partial likelihood givesDifferentiate each term, using the chain rule for the logarithm:This score function is the sum over failures of the observed covariate minus its current risk-weighted mean. Define that mean as ; observations with have no direct event term, although they occur in the relevant risk sets.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 207 5 b i Solution Created 2026-10-03 Updated 2026-10-05
Let be the risk set at an observed event time . In the Cox proportional-hazards model, conditional on one member of this set failing then and on the preceding history, the probability that it is individual isThe baseline hazard cancels. Multiplying these conditional contributions gives the Cox partial likelihoodThe no-ties assumption avoids the need for a tied-event approximation. This construction assumes independent censoring conditional on the modelled covariates. The printed phrase calling a scalar parameter is read as a scalar observed covariate ; is the unknown regression parameter.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 207 5 b vii Solution Created 2026-10-03 Updated 2026-10-05
Insert the Breslow estimator into the fitted cumulative intensities and interchange the finite sums:Every observed event contributes exactly one after summing its fitted contribution over its risk set. ThereforeThis identity is algebraic and holds for any finite coefficient used consistently in the relative hazards and the Breslow estimator; it does not require the score equation to be solved exactly. It can fail if the baseline hazard is estimated or smoothed by a different procedure.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 207 5 Solution 2026-09-28
A proportional hazards model has , with a time-independent hazard ratio. In the Cox proportional-hazards model, and the baseline hazard is unspecified. At each untied event time, conditioning on the identity of the person who fails given the current risk set produces the factorMultiplying these factors gives the Cox partial likelihood. It is called partial because it uses the conditional event ordering information that identifies while discarding the part of the full likelihood involving the unspecified baseline hazard.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 207 6 a Solution 2026-09-28
At each distinct event time , let events occur among people in the risk set. The Kaplan–Meier estimator iscensorings remove people from later risk sets but create no factor.
Left truncation, or delayed entry, means that an individual is observed only after surviving to an entry time. A registry assembled from patients alive when a clinic opens is a practical example. Adapt Kaplan–Meier by admitting each person to the risk set only at their entry time.
Period survival analysis is useful when recent prognosis is desired but complete long-term follow-up of a recent diagnosis cohort is unavailable. For a chosen calendar year, intersect every patient's observed follow-up with that year. Express the surviving pieces on the time-since-diagnosis scale, treat the beginning of the calendar window as delayed entry and its end as right censoring, and apply Kaplan–Meier with those entry and exit times.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 207 4 a Solution Created 2026-09-28 Updated 2026-10-03
The expected Treatment A deaths are at month 1, at month 2, and at the three tied deaths at month 5. ThusThis is not half of the five deaths because right censoring changes the treatment proportions in successive risk sets. For Treatment B, and . One observed-to-expected relative-risk estimate is therefore
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 207 4 Solution 2026-09-28
At event time , let be the two risk set sizes, , and let be the event counts with . Under the null hypothesis of equal hazards, conditioning on the risk set and total number of events gives a hypergeometric distribution, soandThe log-rank statistic and its estimated null variance areUnder the null, is asymptotically standard normal, or is asymptotically chi-squared with one degree of freedom.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 207 4 a i Solution Created 2026-09-28 Updated 2026-10-03
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 207 5 iv Solution Created 2026-09-28 Updated 2026-10-03
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 207 4 a ii Solution Created 2026-09-24 Updated 2026-09-25
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 207 4 a i Solution Created 2026-09-24 Updated 2026-09-25
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 207 4 c iv Solution Created 2026-09-24 Updated 2026-09-25
The variance of an estimated hazard increment is large when its group has few individuals in the risk set. The log-rank weights are near zero when either or is small and are largest when both groups retain substantial information. They therefore suppress noisy late-event comparisons and weight each observed-minus-expected event by its available information. Unit weights would instead give equal influence to unstable increments from depleted risk sets.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 207 5 c ii Solution Created 2026-09-24 Updated 2026-09-25
Letand let be the common partial likelihood contribution from the first observations. Since , the three possible complete-data tail orderings and their partial likelihoods areTheir sum isWhen individual is right-censored at , that individual leaves the risk set before the event at , so the directly calculated Cox partial likelihood is also . Summing over the unobserved compatible event orderings therefore reproduces the censored-data partial likelihood.