Exponential survival risk over an interval 2026-10-14
Let the survival time have an exponential distribution with rate per year. Its hazard function is per year, its cumulative hazard is for in years, and its survival function is . For a subject still event-free after five years, the conditional probability of an occurrence within the next two years isThe original population's probability of an occurrence between those same endpoints is instead . Dividing by recovers the conditional answer. The memoryless property makes the two-year conditional answer independent of the preceding five years.
For just year, the exact conditional event probability is , close to the instantaneous approximation . For two years that approximation gives , whereas the exact answer is about . At the single exact time five, the event probability is zero. These are three different quantities: an instantaneous hazard function with inverse-time units, a short-interval approximation, and an exact finite-interval probability.
Failure probabilities for two independent lifetimes Created 2026-10-18 Updated 2026-10-20
For independent survival times with cumulative distribution functions , the probability both components have failed by time isThe probability at least one has failed isThe first equality uses independence of random variables; the second applies it to the complementary event that both survive. These are the distributions of the two extreme order statistics.
Marginal distributions alone do not determine these probabilities. Without independence, the Fréchet inequalities give , and inclusion-exclusion gives .
Hazard function Created 2026-09-24 Updated 2026-10-25
For a survival time with an absolutely continuous probability distribution, probability density function , and survival function , the hazard function iswhere , with the derivative identity holding almost everywhere. At points where the local limit exists, equivalentlyThe hazard function measures an instantaneous conditional rate. If time is in years, its units are inverse years, and its value can exceed one. A probability for a short interval is approximately , not ; for an absolutely continuous probability distribution, the probability of an occurrence at the single exact time is zero. The discrete hazard, by contrast, is a conditional probability at a possible event time.
The factorization distinguishes a probability density function for the original population from a hazard function for those still event-free. With an exponential distribution of rate per year, per year but per year: the latter also accounts for the probability of reaching year five. The exponential survival risk over an interval example computes finite-horizon probabilities from this rate.
Independent censoring Created 2026-09-28 Updated 2026-10-14
A simple sufficient independent censoring assumption is that the potential observation-ending time and survival time are independent random variables. More generally, appropriate conditional independence given the covariates used in the analysis can suffice for analysis within those conditions. The requirement concerns the potential times, rather than independence of the observed duration and event indicator : those recorded quantities ordinarily depend on each other.
For an ordinary pooled Kaplan–Meier estimator, the observed risk set must represent the future event experience of everyone still event-free at each time. Conditional independence given a covariate does not alone justify ignoring that covariate in a pooled calculation. Also, there must be a positive probability of remaining observed through the horizons being estimated. If follow-up ends at a common closing time, it supplies no observations to identify the later survival function. Independent subjects with a common survival distribution and independent censoring form the basic model in Lu Tian's STAT331 notes, Unit 3, pages 1–4.
For example, subjects who stop attending because their condition is deteriorating can produce informative censoring. A predetermined common closing date can instead give administrative censoring, provided calendar entry and other relevant conditions do not select future survival times. The reason for stopping observation must be justified from study design and context; the recorded event indicators alone cannot verify independent censoring.
Kaplan–Meier estimator Created 2026-09-24 Updated 2026-10-14
At distinct observed event times , let be the risk set size immediately before , and let count events at . The Kaplan–Meier estimator of the survival function isThe empty product is one. Each factor estimates a conditional survival probability among those still observed and event-free; their product joins the successive steps. This is nonparametric statistics: no specified shape for the survival distribution is imposed. Use independent censoring and the appropriate risk sets to interpret the result as an estimate for the intended population.
The Kaplan–Meier estimator is a right-continuous function with downward jumps at event times. Right censoring changes later denominators without causing a jump. A tick on the curve marks right censoring, rather than a failure. For a tied group of events, use the one factor ; subjects right-censored at that recorded time remain in for this factor. The fraction estimates a discrete hazard, not a continuous hazard function in inverse-time units. With no censoring, the factors telescope to the fraction of the original cohort whose observed survival times exceed , the complement of its empirical distribution function.
Edward L. Kaplan and Paul Meier published [ref]
https://doi.org/10.1080/01621459.1958.10501452. Nonparametric Estimation from Incomplete Observations, Journal of the American Statistical Association 53(282), 457–481 (1958)
. Their paper addresses lifetime estimation when observation ends before failure and explicitly calls attention to the assumption of independence between lifetime and potential observation loss. The date 1958 is the original publication year; the publisher's later online-posting date is not the discovery date.In his [ref]
https://garfield.library.upenn.edu/classics1983/A1983QS51100001.pdf. 1983 Citation Classic recollection
, Kaplan traces Meier's interest to cancer-duration data in 1952 and his own to the lifetimes of vacuum tubes in undersea telephone-cable equipment a year later. The journal encouraged them to combine their manuscripts. The shared mathematical question was how to estimate a survival function when some lifetimes are still running or disappear from observation. Kaplan–Meier six-subject cohort 2026-10-14
Consider six subjects observed from time zero. Recorded survival data are , , , , , and , with each pair giving in years. Thus have observed events, while are right-censored. The letters label subjects, not treatment groups. Here are all exit times, including rows without events:
| Time (years) | Risk set just before | At risk | Events | Right censoring count | Survival factor | Kaplan–Meier estimator |
|---|---|---|---|---|---|---|
At year one, . Removing at year two leaves the Kaplan–Meier estimator unchanged. Immediately before year three, are still in the risk set: the two events give . Only afterwards do leave, leaving alone. Removing before counting the tied events would incorrectly use and give . The event-first convention is part of the recorded-time interpretation; coarsely rounded timestamps do not reveal a hidden ordering within that time bin.
The exact Kaplan–Meier estimator is on , on , and on . The three right censoring ticks are , , and ; at a shared event time the tick is on the post-event step. Beyond year five the risk set is empty, so the horizontal endpoint does not determine later survival. The Kaplan–Meier median survival time is three years, since this is the first step at or below .
Now separate the tied events by changing only 's recorded event time from year three to year four. At year three the risk set still has four subjects, but , so . After the event and 's right censoring, only remain. At year four , giving . The intervening right censoring prevents the factors from telescoping to the original tied-event factor. If instead remained observed past year four, the factors would be , giving the original after both events. This is Kaplan–Meier telescoping across a censor-free interval in numbers.
Incorrectly counting every right-censored exit as an event estimates the distribution of observation-ending times , rather than survival times . For the original tied cohort, the spurious curve is at year one, at year two, at year three, and zero at year five. That zero asserts a failure for , whose only known information is .
Six observed histories and the effect of ties and right censoring on Kaplan–Meier steps
. Details. The computation uses the risk set and event-before-censoring convention in Lu Tian's STAT331 notes, Unit 3, pages 2–6; this six-subject example supplies its own exact counts.
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 28 4 b Solution Created 2026-10-03 Updated 2026-10-14
These are separate data, so results from the randomized trial must not be carried over. First inspect the construction of the survival response: a command creating a survival time object must pair follow-up in months with an event indicator, whose death/censoring coding should be checked explicitly. A censoring time is not an observed death time. Stratified product-limit fits would then summarize Kaplan–Meier estimators for the dose groups before adjusted regression.
If the fitted command is a Cox proportional-hazards model with dose, sex and age, its specification isThere is no separate intercept estimate because an intercept is absorbed into the unspecified baseline hazard . With the stated coding, compares high-dose with low-dose death hazards at equal sex and age; compares female with male hazards at equal dose and age; is the hazard multiplier for a one-year age increase. A negative treatment coefficient would correspond to a lower fitted hazard under high dose. A hazard ratio is not a ratio of survival probabilities, nor directly a ratio of survival times. Under this model the survivor function is .
The coefficient standard errors, Wald ratios and exponentiated confidence intervals should be read together. The common large-sample interval for a coefficient's hazard ratio isGlobal likelihood-ratio, score and Wald tests assess the included slopes jointly; for exactly these three one-coefficient terms their reference degrees of freedom are three. They need not coincide in a small sample. The Cox partial likelihood uses the event risk sets; the fitted log-likelihood is not a full likelihood for an estimated baseline survival curve. The method for tied event times should be recorded.
Check the proportional hazards assumption using scaled Schoenfeld residuals and time trends; check the functional form of age, influential subjects and independent censoring. Dose-by-age or dose-by-sex interaction terms are scientifically possible but require enough information and a stated model comparison. Adjustment can alter a crude dose association, and the allocation mechanism here is not specified as randomized. No coefficients, confidence limits, significance results, exact fitted calls or diagnostics for this dataset are recoverable without the output sheet. The displayed model is an interpretation template, not a claim that it was the exact missing command.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 40 1 b i Solution Created 2026-10-03 Updated 2026-10-14
Write and for the right-censored survival time and observed-failure indicator. Since the exponential distribution is continuous, including or excluding equality at makes no difference. Using the tail-integral expression for an expectation,Consequently the expected integrated hazard at the observed endpoint satisfiesAdministrative censoring therefore stops both the accumulated exposure and the opportunity to record a failure.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 44 1 a Solution Created 2026-10-03 Updated 2026-10-14
The paper uses for the survivor function, rather than for the cumulative distribution function. For a nonnegative survival time with an absolutely continuous probability distribution, defineWhere , the hazard function is the instantaneous event rate conditional on survival:The integrated hazard is . Since , integration gives . With the usual time origin and no event at zero, , soConversely, differentiating gives , so these relationships determine each of the survivor function, hazard function and integrated hazard from either of the others. A positive limiting survivor function is possible if the integrated hazard remains finite; a proper finite event time instead has .
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 34 3 a Solution Created 2026-10-03 Updated 2026-10-14
Assume independent individuals and independent censoring, with the censoring law not involving the event-rate parameters. If is the survival time and its censoring time, we observe and . The exponential distribution givesAn observed event contributes , while a right-censored observation contributes , because it only says the event has not occurred by . Multiplying these survival likelihood contributions and omitting censoring factors independent of the parameters givesWithout independent censoring the censoring factors cannot generally be discarded in this way.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 33 5 a ii Solution Created 2026-10-03 Updated 2026-10-06
For a continuous positive survival time, and the hazard function is wherever . ThereforeSince , integrating gives the cumulative hazard function identityAt an endpoint where survival reaches zero, the corresponding cumulative hazard is interpreted as and the exponential as zero.
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.
Survival analysis Created 2026-09-24 Updated 2026-10-13
Survival analysis studies the probability distribution of a survival time: how long from a specified starting point until a specified occurrence. The occurrence need not be death. It might be a machine's first breakdown, a customer's first renewal, or a person's recovery. The meaning of "survival" is simply that the chosen occurrence has not happened yet. Both the starting point and the outcome must be defined before interpreting a survival function.
The distinctive difficulty is incomplete observation. A machine still working when observation stops supplies a lower bound on its survival time, rather than an observed breakdown time. Right censoring lets us retain that information. The Kaplan–Meier estimator estimates a survival function using the changing risk sets, without choosing an exponential distribution or another particular survival distribution. A hazard function instead describes the current event rate among those still event-free; its cumulative hazard connects those local rates to the whole survival function.
This framework turns different follow-up lengths into usable evidence about waiting times. It supports questions such as the chance of remaining event-free for another year, or the restricted mean survival time within an observed horizon. Lu Tian's Stanford teaching materials introduce these interpretations in Survival Distributions, Hazard Functions, Cumulative Hazards, Section 1.1.
Survival function Created 2026-09-24 Updated 2026-10-14
For a nonnegative survival time , the survival function iswhere is the cumulative distribution function. Thus is the probability that the chosen occurrence is still in the future at time . We consistently use the strict inequality : a probability mass at has already left the survival function at itself. With this convention is a right-continuous function and a nonincreasing function taking values in . If , then ; if is finite with probability one, then as .
For and , conditional probability givesFor example, and mean that of those still event-free at year two remain event-free through year five. Their intervening event probability is , whereas the original population's probability of an occurrence in is . Conditioning changes the denominator.
The area under the survival function up to a horizon gives the restricted mean survival time. A positive terminal plateau in a plotted Kaplan–Meier estimator does not establish that the occurrence will never happen: terminal censoring and survival-mean identifiability explains why the unobserved tail remains undetermined.
Tail-sum formula Created 2026-09-24 Updated 2026-10-18
The tail-sum formula expresses an expected value as the area under a survival function. For every nonnegative random variable ,This Lebesgue integral and the expected value may both be ; a probability density function is unnecessary. For a random variable taking values in the nonnegative integers, the corresponding sum isThe events and coincide because takes integer values. Thus the strict sum starts at zero, while the inclusive sum starts at one.[ref]
Random: Probability, Mathematical Statistics, Stochastic Processes by Kyle Siegrist. Expected Value, §2 Additional Properties, Right Distribution Function: nonnegative tail integral and integer-valued tail sums
For an original example, let the probability mass function of beIts expected value computed directly is . The strict tail probabilities at thresholds are : their sum is again . There is no probability mass at two, yet the event still has probability . The survival function has heights on the successive intervals ; each interval has length one, so its integral is the same sum.
The same expected value from probability masses and survival columns
. The exact constructed probability mass function assigns to . The contribution appears in one survival column, while the contribution appears in three. Filled endpoints give the strict survival function at its jumps; open endpoints show the preceding height. The shaded area is . Details.The indexing matters numerically. Starting the inclusive sum at zero adds , giving for this example. Starting the strict sum at one omits , giving . For a general nonnegative random variable, replacing with inside the integral is harmless: the difference is , nonzero at only a countable set of thresholds. For each positive integer , at most thresholds can have probability mass at least ; their countable union contains all thresholds with positive probability mass and has Lebesgue measure zero. This reasoning concerns an integral, not equality of the two survival function conventions at every point.
For a continuous original example, take the uniform distribution on the interval . Its survival function is for and zero for . The area is a triangle of base four and height one:Directly integrating against the probability density function gives the same expected value, . The integral of the probability density function alone is one; it is the survival function whose area is the expected value.
The proof counts layers of each outcome. For a realized value , the indicator function equals one over an interval of length , soTonelli theorem permits the interchange because the indicator function is nonnegative; no finite expected value is assumed. Similarly, an outcome contributes one indicator random variable for each of the events that occur:Again Tonelli theorem applies to the nonnegative sum, or equivalently the monotone convergence theorem applies to its partial sums. This exchanges counting layers within each outcome with averaging across outcomes. The existing integer-valued hypothesis in the tail-sum formula explains what changes when the values are not integers; the tail integral formula for moments weights the layers to obtain higher moments.
For an integrable random variable that can have either sign, apply the nonnegative formula separately to its positive part and negative part :Integrability makes both integrals finite. More generally the difference defines an extended expected value when at least one is finite; if both are infinite, subtraction does not define an expected value.[ref]
Random: Probability, Mathematical Statistics, Stochastic Processes by Kyle Siegrist. Expected Value, §2 Additional Properties, A General Definition: positive and negative parts and the condition on their expectations
Tail probabilities are often easier to measure or bound than a whole probability density function. For a device's survival time, the survival function records the probability of still operating at each threshold; its integral gives the mean operating time. A finite observation window naturally gives the expected value of a capped nonnegative random variable. For a mathematical bound, for all implies . The tail-sum formula turns control of a whole family of events into control of an average.


