Tutorials › Marginal Structural Models › Right-Censoring Adjustments in Failure-Time G-Estimation

Structural Nested Models and g-Estimation · Tutorial 348 of 501

Right-Censoring Adjustments in Failure-Time G-Estimation

Learn how ordinary right censoring changes failure-time g-estimation equations, how censoring weights recover their target moments, and when those weights cannot repair a lack of follow-up.

Advanced 12 min read

What You'll Learn

  • Define the observed failure-time and censoring data used in a one-decision SNFTM.
  • Derive the inverse-probability-of-censoring weighted g-estimation equation.
  • Distinguish actual loss to follow-up from artificial censoring induced by a candidate blip.
  • Identify the conditional independence and positivity assumptions required for weighting.
  • Diagnose unstable weights and recognize when the failure-time effect is not identified.

Why ordinary right censoring changes the estimating equation

Failure-time g-estimation uses a candidate blip parameter to transform a treated subject’s failure time to the time that would have occurred without treatment. With complete failure-time data, the transformed time can be evaluated for every subject. With ordinary right censoring, however, some failure times are only known to exceed the end of follow-up. Treating the censoring time as if it were the failure time changes the data and generally biases the estimating equation.

This tutorial considers one treatment decision at baseline. Let \(A\) be a binary treatment, \(L\) measured baseline covariates, \(T\) the factual failure time, and \(C\) the censoring time. The observed follow-up and event indicator are \(U=\min(T,C)\) and \(\Delta=I(T\le C)\). For an accelerated failure-time blip with parameter \(\psi\), define the candidate no-treatment failure time \(T^0_\psi=T\exp(-\psi A)\). At the true parameter, the structural model says that this transformation recovers the relevant no-treatment failure time.

Definition: Ordinary right censoring means that when \(\Delta=0\), the event time is not observed; the data tell us only that \(T>C=U\). For a candidate \(\psi\), a failure is observed at \(T^0_\psi=U\exp(-\psi A)\) only when \(\Delta=1\). The observed censoring time is not a failure time and must not be substituted for one.

Write \(p(L)=P(A=1\mid L)\), and let \(G(t\mid A,L)=P(C\ge t\mid A,L)\) be the censoring survival probability. The left-limit notation \(G(t-\mid A,L)\) denotes the probability of remaining uncensored through an event at time \(t\), including the event-time boundary under the convention \(\Delta=I(T\le C)\). In continuous-time settings without ties, this is the usual censor survival probability evaluated at the event time.

The censoring-weighted g-estimation equation

Suppose \(q(t,L)\) is a chosen scalar function, or a vector of functions, used to form an estimating equation. At a candidate \(\psi\), an observed failure contributes its transformed time \(U\exp(-\psi A)\). Its inverse-probability-of-censoring weight is the reciprocal of the probability that censoring would allow an event at the observed time to be seen.

Estimating equation: For independent subjects \(i=1,\ldots,n\), a censoring-weighted g-estimating equation is
$$ \frac{1}{n}\sum_{i=1}^n \frac{\Delta_i}{\widehat G(U_i-\mid A_i,L_i)} \{A_i-\widehat p(L_i)\} q\!\left(U_i\exp(-\psi A_i),L_i\right)=0. $$
Here \(\widehat G\) and \(\widehat p\) are estimates of the censoring survival function and treatment propensity. With a vector-valued \(q\), the equation is solved as a system of moment equations.

The equation is motivated by two distinct requirements. First, treatment must be conditionally unconfounded for the no-treatment failure time: \(A\) and \(T^0\) are independent given \(L\), where \(T^0=T^0_{\psi_0}\) at the true parameter \(\psi_0\). Second, censoring must be independent of the failure time conditional on the variables in the censoring model, here \(A,L\). Treatment positivity requires \(0<p(L)<1\) on the covariate support of interest. Censoring positivity requires \(G(t-\mid A,L)>0\) wherever the failure-time moments are to be identified. The blip model and the chosen moments must also identify the target parameter; a valid weighted equation need not have a unique root.

Worked Example: Calculating One Weighted Contribution

Suppose a subject has \(A=1\), \(p(L)=0.4\), and an observed failure at \(U=4\), so \(\Delta=1\). Take \(\psi=\log(2)\), \(q(t,L)=t\), and \(G(4-\mid A=1,L)=0.5\). Calculate this subject’s contribution to the estimating equation.

The candidate blipped-down time is \(4\exp[-\log(2)]=4/2=2\). The treatment residual is \(1-0.4=0.6\), and the censoring weight is \(1/0.5=2\). Therefore the contribution is

$$ \frac{1}{0.5}(1-0.4)(2)=2(0.6)(2)=2.4. $$

Without the censoring weight, the contribution would be \(0.6(2)=1.2\). That difference is not an arbitrary inflation: among otherwise comparable subjects, only half are expected to remain uncensored through time 4, so observed failures at that time represent a larger group. A subject censored before failure has \(\Delta=0\) and contributes no observed-failure term to this particular equation.

Why inverse censoring weights recover the target moment

The key weighting identity explains why the event indicator and censoring weight appear together. Assume that, conditional on \(A,L\), \(C\) is independent of \(T\), and that \(G(T-\mid A,L)>0\) on the event-time support. For any integrable function \(h(T,A,L)\), the observed-data contribution \(\Delta h(U,A,L)/G(U-\mid A,L)\) has the same expectation as the full-data quantity \(h(T,A,L)\).

Result: Under conditional independent censoring and censoring positivity,
$$ E\!\left[ \left. \frac{\Delta h(U,A,L)}{G(U-\mid A,L)} \right|T,A,L \right] =h(T,A,L). $$

Proof. Conditional on \(T,A,L\), an event is observed exactly when \(C\ge T\). On that event, \(U=T\); otherwise \(\Delta=0\). Conditional independence gives \(P(C\ge T\mid T,A,L)=G(T-\mid A,L)\). Hence

$$ E\!\left[ \left. \frac{\Delta h(U,A,L)}{G(U-\mid A,L)} \right|T,A,L \right] = \frac{h(T,A,L)}{G(T-\mid A,L)} P(C\ge T\mid T,A,L) =h(T,A,L). $$

Taking expectations on both sides gives equality of the unconditional moments, provided the quantities are integrable. The positive-survival condition is needed for the division to be defined. \(\square\)

Applying this identity with \(h(T,A,L)=\{A-p(L)\}q(T\exp(-\psi_0 A),L)\) recovers the complete-data g-estimation moment. At \(\psi_0\), write \(T^0=T\exp(-\psi_0 A)\). Conditional on \(L\), treatment unconfoundedness gives independence of \(A\) and \(T^0\), so

$$ \begin{aligned} E[\{A-p(L)\}q(T^0,L)\mid L] &=E[A-p(L)\mid L]E[q(T^0,L)\mid L]\\ &=0. \end{aligned} $$

The first factor is zero because \(E[A\mid L]=p(L)\). Thus the censoring-weighted moment has expectation zero at the true blip parameter. This argument establishes the population moment under the stated assumptions; consistency of a sample root additionally requires suitable regularity, correct nuisance estimation, and an identifying moment.

Worked Example: Checking the Moment in a Discrete Population

Let \(A\) be randomized with \(P(A=1)=0.5\), and let the common no-treatment time \(T^0\) equal 2 or 6 with probability 0.5 each. Suppose \(\psi_0=\log(2)\), so factual times are 2 and 6 for controls, and 4 and 12 for treated subjects. Let the censoring survival probabilities at those event times be 0.9 and 0.6 for controls, and 0.8 and 0.4 for treated subjects. Censoring is independent of failure conditional on treatment. Use \(q(t)=t\).

For controls, the weighted expected transformed-time contribution conditional on \(A=0\) is

$$ 0.5(0.9)\frac{2}{0.9}+0.5(0.6)\frac{6}{0.6} =0.5(2)+0.5(6)=4. $$

For treated subjects, the transformed times are \(4/2=2\) and \(12/2=6\), so the corresponding conditional expectation is

$$ 0.5(0.8)\frac{2}{0.8}+0.5(0.4)\frac{6}{0.4} =0.5(2)+0.5(6)=4. $$

The treatment residual is \(A-0.5\): it equals \(0.5\) for treated subjects and \(-0.5\) for controls. The population estimating moment is therefore \(0.5(0.5)(4)+0.5(-0.5)(4)=1-1=0\). Without censoring weights, the treated and control transformed-time averages would instead be \(0.5(0.8)(2)+0.5(0.4)(6)=2.0\) and \(0.5(0.9)(2)+0.5(0.6)(6)=2.7\). Their difference would not vanish; censoring has distorted the unweighted observed-failure moment.

Actual censoring is not artificial censoring

Ordinary right censoring is a feature of the observed data: follow-up ends before the event, and the subject’s failure time is unknown beyond that point. In contrast, artificial censoring is introduced by an estimator at a candidate blip value. It is a construction used by certain procedures to define comparable transformed risk sets or to avoid relying on unsupported transformed follow-up. Its role depends on the procedure; it is not evidence that the subject’s actual follow-up ended.

For example, if \(A=1\), \(\psi=\log(2)\), and actual follow-up ends at \(C=5\), the corresponding censoring point on the candidate transformed-time scale is \(5\exp[-\log(2)]=2.5\). This transformed point does not turn the censored subject into a failure at 2.5. If an actual failure is observed at factual time \(T=4\), its candidate transformed failure time is 2, but its censoring weight is based on the probability of being uncensored through factual time 4, namely \(G(4-\mid A,L)\), not simply on \(G(2.5\mid A,L)\). The time scale and censoring model must match the estimator’s definition.

A procedure that also imposes candidate-dependent artificial censoring needs to follow its own risk-set and weighting construction. An ordinary censoring weight corrects for actual loss to follow-up; it does not automatically undo artificial censoring. Nor does multiplying two weights automatically give a valid estimator: that step requires the relevant conditional independence assumptions and a derivation for the combined observation process.

Worked Example: A Positivity Failure

Suppose the fitted probability of remaining uncensored through a relevant event time is \(\widehat G=0.05\). An observed event with treatment residual \(0.5\) and \(q(T^0,L)=3\) contributes

$$ \frac{1}{0.05}(0.5)(3)=20(1.5)=30. $$

The large contribution reflects that only about 5% of comparable subjects are expected to remain observable that long. If instead \(G=0\) beyond a particular time, the weight is undefined there: no observed data reveal the event-time distribution beyond that point. Truncating large weights may reduce variance, but it changes the estimating equation and generally introduces bias; it does not restore information where censoring positivity fails.

Diagnostics, alternatives, and limitations

Diagnostics should examine both the censoring model and the consequences of its weights. Inspect estimated censoring survival across treatment and important covariate groups, the distribution and maximum of the inverse weights, and how much the result depends on a small number of heavily weighted failures. Check whether event times needed by the analysis lie in regions with positive estimated censoring survival. A model that omits predictors of censoring can leave residual dependence between censoring and failure, invalidating the weighting identity.

Complete-case g-estimation discards censored subjects and is generally not justified merely because the equation is otherwise correctly specified: event observation is selected by follow-up. A correctly specified likelihood for the joint event and censoring data is a different alternative, but it entails its own modeling assumptions. IPCW retains an estimating-equation approach and makes the censoring assumption explicit, at the cost of potentially high variance and sensitivity to the censoring model. If censoring depends on observed predictors beyond \(A,L\), the censoring probability must condition on an adequate set of those predictors; conditioning only on baseline variables is not sufficient by default.

The weights address missing failure times under the stated censoring assumptions. They do not solve unmeasured confounding, a misspecified failure-time blip, a misspecified treatment model, or weak identification of \(\psi\). Estimated propensities and censoring probabilities also add uncertainty; treating them as known can give incorrect standard errors. The earlier material on g-estimation and failure-time blips supplies the complete-data moment and transformation; the essential change here is to recover that moment from observed failures using censoring weights.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions.

  1. Why is a subject censored at time 5 not treated as having a failure at time 5?
  2. If \(\Delta=1\) and \(G(U-\mid A,L)=0.25\), what inverse-probability-of-censoring weight is used?
  3. For a candidate \(\psi=\log(2)\), a treated subject has observed failure time 8. What is the candidate blipped-down time?
  4. Name one consequence of censoring positivity failure that weight truncation cannot fix.

Solutions. (1) Censoring at 5 tells us only that \(T>5\); it does not reveal the failure time. (2) The weight is \(1/0.25=4\). (3) It is \(8\exp[-\log(2)]=8/2=4\). (4) If \(G=0\) on a relevant time region, no failures there can be observed, so the failure-time distribution beyond that region is not identified from these data; truncating weights cannot create the missing information.

Clinical Biostats