Signature
D = (R_0 + R_1) * (S_0 - S_1) / (S_0 + S_1); C = 2 * (S_1 * R_0 - S_0 * R_1) / (S_0 + S_1)
| Inputs | Definition | Unit |
|---|---|---|
R_0 | Number at risk printed under the curve at the start of the interval | people |
R_1 | Number at risk printed under the curve at the end of the interval; at most R_0 | people |
S_0 | Survival read off the curve at the start of the interval, 1 at time 0 | probability |
S_1 | Survival read off the curve at the end of the interval; at most S_0 and above 0 | probability |
D | Estimated number of events in the interval | people |
|---|---|---|
C | Estimated number censored in the interval; a negative value shows inconsistent inputs | people |
Function
Actuarial life table function from interval counts of deaths and withdrawals
Maps the counts of a follow-up table, the number entering each fixed interval with its deaths and withdrawals, to the effective number at risk, the conditional probabilities and the running survival (HE-FM-LTM-001) and Greenwood's standard error with a log-log interval (HE-FM-LTM-002). It also runs the relation backwards, taking numbers at risk and survival read off a published curve and returning estimated events and censorings (HE-FM-LTM-003). The Computational Function HE-CF-LTM-001 runs a whole table. The product step takes the form of the Kaplan-Meier step HE-FM-ADMC-002, whose n_j is the number under observation just before an event time (HE-VR-ADMC-010); the half count of withdrawals in grouped data is what differs here. Kaplan and Meier's two bounds on the factor are the HE-FM-ADMC-002 factor with n_j set to n or to n minus w (derived). Converting a one-year interval probability to another cycle length is HE-CF-TP-002, and the rescaling HE-FM-TP-003 covers any interval length. Using a rate is HE-FM-TP-001, the trapezoid area under the yearly survival points is the LY output of HE-CF-PSM-001 with its discount rate d of 0, and reading conditional probabilities back from a survival curve is HE-CF-MKA-001. Notation follows the Life Table Method article, with n_e for its n prime and S_prev for the survival carried into the interval.
Try this function
Implementations
Excel
Estimated events and censorings from named curve readings
The inputs are in cells named NumberAtRiskStart, NumberAtRiskEnd, CurveSurvivalStart and CurveSurvivalEnd. EstimatedEvents holds the first formula and EstimatedCensored the second. Filled down a table of time points, the end cells of one row become the start cells of the next. If both survival cells are blank the formulas return #DIV/0!.
=(NumberAtRiskStart+NumberAtRiskEnd)*(CurveSurvivalStart-CurveSurvivalEnd)/(CurveSurvivalStart+CurveSurvivalEnd); =2*(CurveSurvivalEnd*NumberAtRiskStart-CurveSurvivalStart*NumberAtRiskEnd)/(CurveSurvivalStart+CurveSurvivalEnd)
Assumptions
Constant censoring within each interval of the published curve
The solution assumes censoring is constant within each interval, as Hoyle and Henley state and as Tierney and colleagues state for this case in their section 11. Tierney and colleagues' section 10 and Guyot and colleagues' algorithm make the constant-rate assumption with censoring non-informative.
Curve readings and numbers at risk taken at the same times for one arm
R_0 and R_1 belong to the same arm as the curve and are printed at the times the survival is read. Hoyle and Henley note that intervals then link only the time points with printed numbers at risk, typically about 5 to 12, and they add readings at intermediate times with further expressions that this record does not cover.
Worked examples
Article illustration with 200 at risk at time zero
With 200 at risk at time 0, 150 at risk at one year and survival of 0.85 at one year, the method estimates 28.378 events and 21.622 censorings, which sum to the 50 who left the risk set, as in the article. The inputs are illustrative.
R_0 = 200; R_1 = 150; S_0 = 1; S_1 = 0.85; D = 28.378; C = 21.622
Kidney table first year recovered from its own survival
Feeding the kidney table's numbers entering and its survival into the formula returns the 47 deaths and 19 withdrawals of the table (computed here), the round trip with HE-FM-LTM-001.
R_0 = 126; R_1 = 60; S_0 = 1; S_1 = 0.59657; D = 47; C = 19
Kidney table second year with survival carried at the start
In the second year S_0 is the first-year 0.59657 and the formula returns the table's 5 deaths and 17 withdrawals (computed here).
R_0 = 60; R_1 = 38; S_0 = 0.59657; S_1 = 0.53865; D = 5; C = 17
Limiting case of a curve interval with no censoring
When the numbers at risk fall in the same proportion as the curve, 200 to 170 with survival of 0.85, C is 0 and all 30 who left are events (derived). The inputs are illustrative.
R_0 = 200; R_1 = 170; S_0 = 1; S_1 = 0.85; D = 30; C = 0
Common errors
Using survival of 1 at the start of every curve interval
Leaving S_0 at 1 in a later interval treats the curve value as conditional on the interval start. On the second year of the kidney table, with S_1 of 0.53865, it gives 29.38 events and minus 7.38 censorings in place of 5 and 17 (derived).
Accepting a negative censoring estimate from a curve reading
C is negative whenever S_1 / S_0 is below R_1 / R_0 (derived), so the numbers at risk fell by less than the deaths the curve implies. With 200 and 180 at risk and survival of 0.85 the formula gives minus 10.81 censorings and 30.81 events. It points to a misread curve or a mismatch of time points, and setting C to 0 without changing D leaves the counts adding up to more than the fall in the risk set.
Treating reconstructed counts as observed data
D and C inherit reading error from the curve. On the first year of the kidney table, reading survival as 0.6066 in place of 0.5966 moves the estimates to 45.54 events and 20.46 censorings (derived, illustrative), a shift of about 1.45 people, or 3% of D. That share depends on the curve readings and not on the numbers at risk, so it grows where the curve is low or falls little (derived). The same 0.01 misreading of S_1 in year 3 of the table, with S_0 of 0.5386 and S_1 of 0.5033, moves D by about 0.58 from 2, or 29% (derived), and a fitted curve built on such intervals carries that error.
Sources
Hoyle and Henley on reconstructing events and censorships from a curve
Hoyle MW, Henley W. Improved curve fits to summary survival data: application to economic evaluation of health technologies. BMC Medical Research Methodology. 2011;11:139. doi:10.1186/1471-2288-11-139. Methods, section 1, Method of curve fitting, Step A, equations 1a and 1b, which give S(t + 1) and R(t + 1) under constant censoring within each interval and solve them for D(t, t + 1) and C(t, t + 1); the attribution to Parmar et al. and Williamson et al., the statement that Tierney et al. provided a spreadsheet, the note that numbers at risk are typically given at about 5 to 12 time points, and the intermediate time point extension in equations 2 and 3.
Tierney and colleagues on constant censoring in summary survival data
Tierney JF, Stewart LA, Ghersi D, Burdett S, Sydes MR. Practical methods for incorporating summary time-to-event data into meta-analysis. Trials. 2007;8:16. doi:10.1186/1745-6215-8-16. Section 11, on a report with a Kaplan-Meier curve and the numbers at risk, which assumes that the level of censoring is constant within each interval; Step 2 and Step 3 give the number of events and the number censored in the form of HE-FM-LTM-003. Section 10, on a report with a Kaplan-Meier curve and information on follow-up, estimates censoring in another way, and its Step 2 assumes that censoring is non-informative and that patients are censored at a constant rate within a given time interval.
Guyot and colleagues on constant censoring in curve reconstruction
Guyot P, Ades AE, Ouwens MJ, Welton NJ. Enhanced secondary analysis of survival data: reconstructing the data from published Kaplan-Meier survival curves. BMC Medical Research Methodology. 2012;12:9. doi:10.1186/1471-2288-12-9. Section The algorithm for the 'all information' case, which assumes that censoring occurs at a constant rate within each of the time intervals and calls this reasonable if the censoring pattern is non-informative.
Canonical Identity
Stable URI · Machine-readable · Resolvable · CC BY 4.0
