Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 207 6 b ii Solution Created 2026-10-03 Updated 2026-10-06
An individual has neither died nor been censored by time exactly when and . Under independent censoring, this has probability . Thus the probability of leaving observation by either route isThe two pieces agree at . The expression counts the first of death and censoring, so it does not double-count individuals who would eventually experience both.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 207 7 b iii Solution Created 2026-10-03 Updated 2026-10-06
With independent censoring, the at-risk process is . Independence and the common censoring survivor function give
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 207 4 b i Solution Created 2026-10-03 Updated 2026-10-05
Let be the distinct observed event times, the risk set size immediately before , and the events there. Under independent censoring, the Kaplan–Meier estimator isIt starts at one, jumps down at events, and is unchanged by a pure censoring time; right censoring removes people from subsequent risk sets. If events and censorings coincide, the convention here processes events before censoring, so those censored at the recorded time are included just before the event. The estimated median is the first time the curve reaches or falls below . If it never does during observation, the median is not estimable from the observed curve without tail assumptions.
With one remaining individual censored at , no event factor is introduced. HenceThis is the terminal observed step value. With an empty risk set after , continued horizontal plotting is a convention and supplies no information about the true later survivor function. The tail rests on one person and is imprecise; this is terminal censoring and survival-mean identifiability. If , the unrestricted mean cannot be obtained nonparametrically from this censored tail: extending the last positive step to infinity would give an infinite area, which does not establish an infinite population mean. A restricted mean survival time up to a suitably supported finite cutoff remains estimable.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 207 5 a Solution Created 2026-10-03 Updated 2026-10-05
A proportional hazards model assigns individual the hazard function , where is the baseline hazard for multiplier one and is a time-constant hazard multiplier. In a Cox proportional-hazards model, for a covariate vector and coefficient vector ; ratios are constant whenever the baseline is nonzero.
Assume independent individuals, independent censoring conditional on the covariates, and no tied events. Immediately before an event at , condition on its observed risk set and one event in a small time interval. The individual event probability is , while the total is . Their limiting ratio is . Multiplication over observed events gives the Cox partial likelihoodThe unspecified baseline hazard cancels. This is the usual successive conditional event contribution defining the partial likelihood, not the full event-time likelihood conditioned simultaneously on all event times.
For the four individuals the successive event risk sets are , and . Individual leaves at its right censoring time and contributes no event numerator. ConsequentlyThe last event contributes one and carries no further relative-risk information.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 207 5 b Solution Created 2026-10-03 Updated 2026-10-05
Because , the three possible complete event orders are , , and . Write and . Their partial likelihoods, with the final singleton factor omitted, are respectivelyAdding first and gives , and thereforeThusThis is Cox rank-likelihood deletion consistency: summing out the unobserved position of leaves the relative order information in the observed events. It is an algebraic marginalization of complete-order probabilities under time-constant hazard multipliers. It does not include the probability density function of the actual censoring time, establish the distribution of given all observed times, or justify informative censoring. Ignoring the censoring mechanism in the survival analysis still requires independent censoring given the modeled covariates.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 207 4 b ii Solution Created 2026-10-03 Updated 2026-10-05
An individual is right-censored at when follow-up establishes that the event has not occurred through , but does not reveal the subsequent event time. The observed information is for the continuous-time convention.
Knowing only the total number censored inside an interval does not specify the risk sets at the event times. For example, start with two individuals, one event and one censoring. If censoring precedes the event, the Kaplan–Meier estimator contributes ; if the event precedes censoring, it contributes . The totals are identical.
Therefore the timing of right censoring relative to the events is needed. Independent censoring is also required for these changing risk sets to yield a valid estimate of the underlying survivor function.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 207 4 c iii Solution Created 2026-10-03 Updated 2026-10-05
Let be the number of events at potential time and let be the size of the risk set immediately before that time, including observations censored at . Define the discrete conditional event probabilityUnder independent censoring, and ignoring the separate censoring distribution, the survival likelihood factorizes asThis follows by multiplying a survival factor for each individual at risk who does not fail at , and an event factor for each failure. The log factor is maximized at , with the corresponding boundary values when or .
The survival function is the product of successive conditional survival probabilities. ThereforeThis is the Kaplan–Meier estimator. A product over no event times is 1. If everyone remaining experiences an event, the product becomes zero and stays zero; subsequent empty risk sets supply no additional 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 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 v Solution Created 2026-10-03 Updated 2026-10-05
In the martingale residual is the observed event count up to the end of the individual's follow-up: 1 for a recorded event and 0 for right censoring. The second term is the fitted counting-process compensator, obtained by integrating that individual's fitted hazard function while they remain at risk:Thus the residual is observed events minus the fitted cumulative event intensity over follow-up. The fitted intensity is not an event probability and can exceed 1. Positive values indicate more events than predicted over that observed exposure; negative values indicate fewer. A right-censored individual has a nonpositive residual. With true model parameters and independent censoring, the underlying observed-minus-compensator process is a martingale; fitted terminal residuals are not independent identically distributed errors.
The Kaplan–Meier estimator requires independent censoring: conditional on modeled covariates, censoring must carry no information about the future event time. Censoring at a common administrative data cutoff satisfies this condition when calendar entry time is independent of prognosis. Under that assumption, the month-24 analysis has valid administrative censoring despite unequal follow-up caused by staggered entry.
Proportional hazards assumption test 2026-10-06
A proportional hazards assumption test assesses whether fitted covariate coefficients remain constant over time. A common implementation uses trends in scaled Schoenfeld residuals, with separate covariate tests and a joint global test. Failure to reject is compatible with proportional hazards, but does not establish the correct covariate functional form or independent censoring.
Suppose the recorded durations retain an exponential distribution of rate , but an independent fraction are relabelled as failures and the rest as right-censored. Applying the ordinary survival likelihood gives , rather than . A censoring flag chosen independently of the recorded duration does not establish independent censoring of a latent failure time. Genuine simulation instead draws an event time and an independent censoring time and records their minimum.
Restricted mean survival time Created 2026-10-05 Updated 2026-10-07
The restricted mean survival time to a fixed cutoff is for a nonnegative event time. This follows by the tail integral formula for moments. Unlike the unrestricted mean, it uses no tail beyond ; under independent censoring it can be estimated by integrating a Kaplan–Meier estimator over adequately observed follow-up.
Right censoring Created 2026-09-24 Updated 2026-10-14
An unobserved survival time is right-censored when it is known to exceed the last event-free follow-up time. For a potential survival time and potential observation-ending time , recordWhen , the occurrence was observed at ; when , only is known. An intact machine at the study's closing date and an event-free subject who stops attending follow-up can both yield right censoring, but the reasons for stopping matter for independent censoring. A subject right-censored at year two has contributed two years to person-time at risk and belongs to earlier risk sets. Neither recording a failure at year two nor discarding that subject preserves this information.
Under independent censoring and separate parameters for the observation mechanism, the part of the survival likelihood involving an absolutely continuous probability distribution for is . Thus a right-censored observation contributes the survival function , rather than the event probability density function . See Lu Tian's Stanford notes, Section 2.1, equations (2.1)–(2.2). The Kaplan–Meier six-subject cohort shows exactly how this distinction changes the calculation.
Stratified log-rank statistic 2026-10-07
Compute observed-minus-expected event contributions within each stratum's risk set, then add them across independent strata. Under the null, the corresponding conditional variances add. Standardizing gives an approximate normal distribution test, or its square gives a one-degree-of-freedom chi-squared distribution test. The comparison requires the usual exchangeability and independent censoring assumptions within strata.