← Wiki Index / Public Health & Global Health / Greenwood's Formula
🏥 Public Health & Global Health

Greenwood's Formula

Greenwood's formula is a classical biostatistical estimator of the asymptotic variance of actuarial life-table and Kaplan–Meier survival functions, derived by British epidemiologist Major Greenwood in 1926.

Greenwood's formula is the standard biostatistical estimator used to compute the asymptotic variance and standard error of non-parametric survival probability curves, including actuarial life tables and the Kaplan–Meier estimator. Derived in 1926 by British physician and epidemiologist Major Greenwood in a British Ministry of Health report evaluating the "natural duration" of untreated cancer, the formula precedes the 1958 Kaplan–Meier product-limit estimator by more than three decades. By applying the first-order delta method to a product of conditional binomial survival probabilities, Greenwood's formula quantifies how estimation uncertainty accumulates across sequential failure times in right-censored epidemiological cohorts.

Mathematical Formulation and Delta-Method Derivation

Product-Limit Variance Expression

Consider a survival cohort with ordered observed event times t1 < t2 < ··· < tk. At each event time ti, let ni represent the number of individuals at risk just before ti, and let di represent the number of observed deaths or failures at ti. The Kaplan–Meier estimator estimates the probability of surviving beyond time t as the cumulative product of conditional survival proportions p̂i = 1 − (di / ni):

Ŝ(t) = ∏ti ≤ t (1 − di / ni) = ∏ti ≤ t p̂i

Greenwood's formula estimates the variance of Ŝ(t) at any follow-up time t as:

VarG(Ŝ(t)) = [Ŝ(t)]2 · ∑ti ≤ t [di / (ni (ni − di))]

Taking the square root of VarG(Ŝ(t)) yields the Greenwood standard error SE(Ŝ(t)), which enters directly into pointwise confidence intervals for S(t), median survival time confidence bounds (via the Brookmeyer–Crowley method), and the variance of restricted mean survival time.

Step-by-Step Derivation via the Delta Method

Conditioned on the risk set size ni at time ti, the number of deaths di follows a binomial distribution Binomial(ni, qi), where qi = 1 − pi is the conditional failure probability. The conditional variance of the survival proportion p̂i = (ni − di) / ni is therefore:

Var(p̂i | ni) = [pi (1 − pi)] / ni ≈ [p̂i (1 − p̂i)] / ni = [di (ni − di)] / ni3

To convert the product Ŝ(t) = ∏ p̂i into an additive sum, take the natural logarithm:

ln Ŝ(t) = ∑ti ≤ t ln(p̂i)

Applying the first-order Taylor expansion (the delta method), where Var(ln X) ≈ [1 / E(X)2] · Var(X), the variance of each logarithmic increment is:

Var(ln p̂i) ≈ (1 / p̂i2) · Var(p̂i) = [ni / (ni − di)]2 · [di (ni − di) / ni3] = di / [ni (ni − di)]

Because martingale increments across distinct non-overlapping time intervals are uncorrelated, the variance of the sum equals the sum of the variances:

Var(ln Ŝ(t)) ≈ ∑ti ≤ t [di / (ni (ni − di))]

Finally, applying the delta method a second time to invert the logarithm via Ŝ(t) = exp(ln Ŝ(t)), where Var(exp(Y)) ≈ [exp(Y)]2 · Var(Y), multiplies the sum by [Ŝ(t)]2 and yields Greenwood's formula. When single untied deaths occur in continuous time (di = 1) and ni is large, the summation term di / [ni(ni − di)] closely approximates di / ni2, which is Aalen's martingale variance estimator for the Nelson–Aalen estimator of cumulative hazard.

Confidence Interval TransformationScale Function g(S)Asymptotic Variance Var(g(Ŝ(t)))Bounds Always Inside [0, 1]?Statistical Coverage in Small Samples
Linear (Plain Greenwood)S[Ŝ(t)]2 ∑ [di / (ni(ni − di))]No (can fall < 0 or exceed 1.0)Poor in tails or when ni < 25
Logarithmic (Cumulative Hazard)ln(S) = −H∑ [di / (ni(ni − di))]Lower bound > 0, upper bound can exceed 1Moderate
Complementary Log-Log (Kalbfleisch–Prentice)ln(−ln(S))[ln Ŝ(t)]−2 ∑ [di / (ni(ni − di))]Yes, always bounded within (0, 1)High accuracy across full range (standard default)
Arcsine-Square-Rootarcsin(√S)(1/4) [Ŝ(t) / (1 − Ŝ(t))] ∑ [di / (ni(ni − di))]Yes, after truncation to [0, π/2]High accuracy near boundaries
Peto's Effective Sample SizeS[Ŝ(t)]2 [1 − Ŝ(t)] / niNoConservative (overestimates variance in right tail)

Confidence Interval Transformations and Tail Behavior

Linear versus Complementary Log-Log (cloglog) Intervals

The naive linear (Wald-type) 95% confidence interval for survival at time t is Ŝ(t) ± 1.96 · SEG(Ŝ(t)). However, near Ŝ(t) = 1 or Ŝ(t) = 0, the sampling distribution of Ŝ(t) is skewed, and linear intervals frequently produce impossible survival probabilities above 1.0 or below 0.0.

To ensure confidence bounds always respect the probability range (0, 1) and accelerate convergence to asymptotic normality, John D. Kalbfleisch and Ross L. Prentice (1980) introduced the complementary log-log (cloglog) transformation, g(S) = ln(−ln S(t)) = ln H(t). By the delta method, the standard error on the cloglog scale is:

SE(ln(−ln Ŝ(t))) = √[∑ti ≤ t (di / [ni (ni − di)])] / |ln Ŝ(t)|

If θ̂ = SE(ln(−ln Ŝ(t))), the back-transformed (1 − α) confidence interval on the survival probability scale is:

CI1−α(S(t)) = [Ŝ(t)exp(+z1−α/2 · θ̂) , Ŝ(t)exp(−z1−α/2 · θ̂)]

Tail Instability and Peto's Effective Sample Size Adjustment

Between distinct event times ti and ti+1, even if numerous participants are right-censored and the risk set n(t) shrinks substantially, Greenwood's variance estimate VarG(Ŝ(t)) remains completely flat because it updates only when a new death di > 0 occurs. Consequently, in the far right tail of a survival curve where few patients remain at risk, Greenwood's formula can underestimate true sampling variability. To guard against overconfident tail intervals, Richard Peto and colleagues (1977) proposed the conservative effective-sample-size variance approximation VarPeto(Ŝ(t)) = [Ŝ(t)]2 [1 − Ŝ(t)] / n(t), which widens the confidence band dynamically as censoring reduces the current risk set n(t). In generalized competing risks analysis, Greenwood's variance extends via the Aalen–Johansen covariance matrix to provide standard errors for cumulative incidence functions.

Frequently Asked Questions

How could Greenwood's formula be published in 1926 if the Kaplan–Meier estimator was invented in 1958?

Major Greenwood derived his variance formula in 1926 for actuarial life tables divided into fixed annual intervals. When Edward L. Kaplan and Paul Meier took the continuous-time limit of the life-table estimator in 1958 by shrinking the intervals around each individual death time, Greenwood's discrete product variance formula carried over directly without structural modification.

Why are complementary log-log confidence intervals preferred over linear Greenwood intervals?

Linear confidence intervals of the form Ŝ(t) ± 1.96 · SE can exceed 100 percent survival at early follow-up times or drop below 0 percent survival at late follow-up times. The complementary log-log transformation maps the bounded interval (0, 1) onto the entire real line (−∞, +∞) before applying the normal approximation, guaranteeing back-transformed confidence limits that stay inside (0, 1).

What happens to Greenwood's formula if the last remaining person in the cohort dies?

If the final individual at risk experiences an event (dk = nk), then both Ŝ(tk) = 0 and the denominator nk − dk = 0, making the standard Greenwood fraction 0 / 0 indeterminate. Statistical software packages either carry forward the variance from the immediately preceding time point or apply the Nelson–Aalen estimator variance di / ni2, which remains finite when dk = nk.

References

  1. Greenwood, M. (1926). A Report on the Natural Duration of Cancer (Reports on Public Health and Medical Subjects, No. 33, pp. 1–26). His Majesty's Stationery Office, London. https://wellcomecollection.org/works/w69pqcc2
  2. Kaplan, E. L., & Meier, P. (1958). Nonparametric estimation from incomplete observations. Journal of the American Statistical Association, 53(282), 457–481. https://doi.org/10.1080/01621459.1958.10501452
  3. Kalbfleisch, J. D., & Prentice, R. L. (2002). The Statistical Analysis of Failure Time Data (2nd ed.). John Wiley & Sons. https://doi.org/10.1002/9781118032985
  4. Sawyer, S. (2003). The Greenwood and Exponential Greenwood Confidence Intervals in Survival Analysis. Department of Mathematics, Washington University in St. Louis. https://www.math.wustl.edu/~sawyer/handouts/greenwood.pdf
🧬 Support Open Science
Explore interactive science games on LowKey Games or browse scientific apparel & accessories in the CRV Science Shop.
💡 Spot an inaccuracy or have primary literature to expand this article?
Submit a citation or revision note using your shared CRV Science / LowKey Games profile ID.
Suggest Revision