Delta-method standard error of exponential mean survival from events and follow-up

Fits a constant hazard as events over total follow-up and takes mean survival as its reciprocal, the point values that HE-FM-BTH-003 and HE-FM-LTR-003 compute in their own settings. The new parts are the variances that Kearns and colleagues print, the hazard variance as the squared hazard over the number of events and the delta-method variance of mean survival as the hazard variance over the hazard to the fourth power, which is HE-FM-DELM-001 at slope -1 / lambda^2 (HE-EX-DELM-001). The standard error therefore depends on the number of events and not on the number of patients (derived). The natural-scale limits are the Wald form of HE-FM-AN-001. The log-scale limits use the relative standard error as the log-scale standard error (HE-EX-DELM-003) and take the form of HE-FM-HR-006, which computes it only for a log hazard ratio; the same form holds for log mean survival (derived, and the construction Zepeda-Tello and colleagues use for a risk ratio).

Signature

lambda = N_e / T; Var_lambda = lambda^2 / N_e; mu = 1 / lambda; Var_mu = Var_lambda / lambda^4; SE_mu = sqrt(Var_mu); mu_L = mu - z * SE_mu; mu_U = mu + z * SE_mu; SE_logmu = SE_mu / mu; mu_LL = exp(log(mu) - z * SE_logmu); mu_LU = exp(log(mu) + z * SE_logmu)
Inputs
InputsDefinitionUnit
N_eNumber of observed events in the arm; above zerocount
TSum of observed times of all patients in the arm, events and censored alike; above zeroperson-years
zStandard normal value for the chosen coverage, 1.96 for a two-sided 95% intervalnone
Output
lambdaMaximum likelihood estimate of the constant hazardevents per person-year
Var_lambdaSampling variance of lambda as printed by Kearns and colleaguesevents squared per person-year squared
muMean survival implied by the constant hazard, extrapolated for lifeyears
Var_muApproximate sampling variance of muyears squared
SE_muApproximate standard error of muyears
mu_LLower Wald limit for mean survival on the natural scaleyears
mu_UUpper Wald limit for mean survival on the natural scaleyears
SE_logmuApproximate standard error of the natural logarithm of mu, equal to 1 / sqrt(N_e) (derived)log years, no unit
mu_LLLower limit for mean survival built on the log scale and exponentiatedyears
mu_LUUpper limit for mean survival built on the log scale and exponentiatedyears

Function

First-order delta method variance of a function of estimated parameters

Takes a differentiable function g, its estimated inputs and their variances and covariances, and returns an approximate sampling variance and standard error for the output, by replacing g with its tangent at the estimates. Its result feeds the Wald interval of HE-FM-AN-001. The live ICER case is HE-FM-AN-002, with its Fieller alternative HE-FM-AN-003 and all three intervals in HE-CF-AN-001; net benefit, which is linear, is HE-FM-AN-004; the log risk ratio variance of one trial is HE-FM-PWMA-001, which equals the delta-method form Zepeda-Tello and colleagues derive (eq. 30, equal on a 144-point grid, derived); the variance of Hedges' g in HE-FM-HEDG-002 takes the same form with its correction factor J as a constant slope (derived). Those records fix the function, and this package holds the general rule with the slope or gradient as an input, plus one survival use. The second-order approximation to the mean of g is HE-FM-EV-002. Notation follows the Delta Method article.

Try this function

Implementations

  • Excel

    Exponential mean survival standard error and both intervals from named cells

    With EventCount, FollowUpTime and ZValue as inputs, the formulas go in order in cells named HazardEst, VarHazard, MeanSurv, VarMeanSurv, SeMeanSurv, MeanSurvLower, MeanSurvUpper, SeLogMeanSurv, MeanSurvLowerLog and MeanSurvUpperLog. A blank or zero EventCount gives a hazard of 0, and VarHazard then returns #DIV/0!, as does a blank or zero FollowUpTime at HazardEst.

    =EventCount/FollowUpTime; =HazardEst^2/EventCount; =1/HazardEst; =VarHazard/HazardEst^4; =SQRT(VarMeanSurv); =MeanSurv-ZValue*SeMeanSurv; =MeanSurv+ZValue*SeMeanSurv; =SeMeanSurv/MeanSurv; =EXP(LN(MeanSurv)-ZValue*SeLogMeanSurv); =EXP(LN(MeanSurv)+ZValue*SeLogMeanSurv)

Assumptions

  • Constant hazard for the exponential mean survival standard error

    The hazard is the same at every time, so lambda summarises the whole curve and mu extrapolates it for life. Kearns and colleagues describe the exponential distribution as assuming a constant hazard. HE-AS-BTH-006 shows what the fit misses when the hazard is not constant.

  • Events and total follow-up counted by the maximum likelihood rule

    N_e counts events only and T sums observed time for all patients, with delta equal to 1 for an event and zero otherwise, as in eq. 2 of Kearns and colleagues. Censoring is taken to be unrelated to the event, a condition for the fit that this formula does not test (derived). At least one event is needed, since the hazard is otherwise zero and the variance undefined.

  • Sampling uncertainty only in the mean survival intervals

    The intervals carry sampling uncertainty in the hazard through one function. They say nothing about the choice of model, and Kearns and colleagues show that the choice of parametric survival model can have a marked impact on estimates of uncertainty about lifetime mean survival.

Worked examples

  • Article's exponential arm with 100 deaths over 400 person-years

    The article's illustrative arm. The hazard is 0.25 per year with variance 0.000625, mean survival is 4 years with variance 0.16 and standard error 0.4, and the natural-scale interval is 3.216 to 4.784 years. The log-scale standard error is 0.1 and the interval 3.288 to 4.866 years, which is asymmetric. Simulating 200,000 normal draws of the hazard gives 2.5th and 97.5th percentiles of about 3.35 and 4.98 years, closer to the log-scale interval.

    N_e = 100; T = 400; z = 1.96; lambda = 0.25; Var_lambda = 0.000625; mu = 4; Var_mu = 0.16; SE_mu = 0.4; mu_L = 3.216; mu_U = 4.784; SE_logmu = 0.1; mu_LL = 3.288; mu_LU = 4.866
  • Same mean survival with only 10 deaths over 40 person-years

    An illustrative arm with the same hazard and a tenth of the events. The standard error rises to 1.2649 years, a factor of the square root of 10 (derived). The natural-scale interval runs 1.5208 to 6.4792 years and the log-scale interval 2.1522 to 7.4343 years, so the scale now moves the upper limit by about 0.96 years against about 0.08 with 100 events.

    N_e = 10; T = 40; z = 1.96; lambda = 0.25; Var_lambda = 0.00625; mu = 4; Var_mu = 1.6; SE_mu = 1.2649; mu_L = 1.5208; mu_U = 6.4792; SE_logmu = 0.3162; mu_LL = 2.1522; mu_LU = 7.4343
  • Large number of events as the limit where the two scales agree

    An illustrative arm with the same hazard and 10,000 events. The standard error falls to 0.04 years, and the two intervals differ by less than 0.001 years at either limit (derived). The case checks an implementation against the large-sample limit.

    N_e = 10000; T = 40000; z = 1.96; lambda = 0.25; Var_lambda = 0.00000625; mu = 4; Var_mu = 0.0016; SE_mu = 0.04; mu_L = 3.9216; mu_U = 4.0784; SE_logmu = 0.01; mu_LL = 3.9224; mu_LU = 4.0792

Common errors

  • Using the number of patients in place of the number of events

    The divisor in the hazard variance is N_e. If the 400 person-years came from 400 patients with a mean observed time of one year, dividing by 400 in place of the 100 deaths gives a standard error of 0.2 years, half the correct 0.4 (derived, illustrative).

  • Dividing the hazard variance by the squared hazard

    The slope of the reciprocal is minus 1 over the hazard squared, so its square has the hazard to the fourth power. Stopping at the second power returns the variance of the log hazard, 0.01, and a standard error of 0.1, which read in years is a quarter of the correct 0.4 (derived).

  • Reporting a natural-scale interval for mean survival with few events

    A reciprocal is skewed, and the natural-scale interval is symmetric by construction. With 10 deaths its lower limit of 1.52 years sits well below the log-scale 2.15 years, and its upper limit of 6.48 years below the log-scale 7.43 years. The figures are derived. The article also warns against quoting a standard error without the scale on which it was computed.

  • Applying the closed form to a model other than the exponential

    Kearns and colleagues state that exact analytical expressions of variance for the hazard and survival functions are not available for the other six commonly used parametric models. Var_lambda and SE_logmu here hold only for the constant hazard. A Weibull or other fitted curve needs the gradient and the fitted covariance matrix, as in HE-CF-DELM-001.

Sources

  • Kearns and colleagues on hazard variance and mean survival by the delta method

    Kearns B, Stevens J, Ren S, Brennan A. How uncertain is the survival extrapolation? A study of the impact of different parametric survival models on extrapolated uncertainty about hazard functions, lifetime mean survival and cost effectiveness. PharmacoEconomics. 2020;38(2):193-204. Methods, section Estimating Uncertainty About Hazard and Survival Estimates. Eq. 2 gives the estimate of the hazard as events over total observed time, eq. 3 its variance as lambda squared over N_e, eq. 4 mean survival as the reciprocal, and eq. 5 the delta-method variance as the hazard variance over lambda to the fourth, equal to 1 over lambda squared times N_e.

    View source →

  • Zepeda-Tello and colleagues on building an interval on the log scale

    Zepeda-Tello R, Schomaker M, Maringe C, Smith MJ, Belot A, Rachet B, Schnitzer ME, Luque-Fernandez MA. The Delta-method and influence function in medical statistics: a reproducible tutorial. arXiv preprint 2206.15310v1; 30 June 2022. Preprint section 3.4 works with the natural logarithm of a risk ratio, applies the delta method to it, forms a Wald-type interval and exponentiates the limits. The records apply the same construction to log mean survival (derived).

    View source →

Canonical Identity

This formula is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/formula/delta-method-standard-error-of-exponential-mean-survival-from-events-and-follow-up

Delta-method standard error of exponential mean survival from events and follow-up | HealthEconomics.wiki