Tutorials › Marginal Structural Models › Inverse Censoring Intensity Weights in Continuous Time

Censoring and Informative Dropout · Tutorial 227 of 501

Inverse Censoring Intensity Weights in Continuous Time

Learn how a continuous-time censoring hazard determines the survival probability and the inverse weight, and when weighting can recover information lost to censoring.

Advanced 10 min read

What You'll Learn

  • Relate a conditional censoring intensity to cumulative hazard and censoring survival.
  • Derive the continuous-time inverse survival weight from its defining differential equation.
  • State the assumptions needed for inverse censoring weights to recover full-history expectations.
  • Calculate weights for constant, time-varying, and history-specific censoring intensities.
  • Diagnose practical warning signs and distinguish continuous-time weights from discrete-time IPCW.

From a Censoring Intensity to a Weight

In continuous time, censoring can occur at any moment during follow-up. The probability of remaining uncensored therefore changes continuously, and the corresponding inverse probability weight depends on the entire censoring hazard accumulated up to the time of interest. The central calculation is simple: integrate the conditional censoring intensity, convert that cumulative hazard to a survival probability, and take its reciprocal for people still observed.

Let \(C\) be a censoring time and let \(H(t-)\) denote the measured history available immediately before time \(t\). Write \(\lambda_C(t\mid H(t-))\) for the conditional censoring intensity among individuals still uncensored. An intensity is a conditional instantaneous rate: over a short interval of length \(dt\), the conditional probability of censoring is approximately \(\lambda_C(t\mid H(t-))dt\), given the history and continued observation up to \(t\). The history may include baseline covariates and time-varying measurements.

Definition: The cumulative censoring hazard through time \(t\), conditional on a specified history path \(h\), is $$ \Lambda_C(t\mid h)=\int_0^t \lambda_C(s\mid h(s-))\,ds. $$ When the conditional censoring law has this intensity, has no point masses, and the intensity is integrable on the interval considered, the conditional probability of remaining uncensored through \(t\) is $$ G(t\mid h)=P(C\ge t\mid h)=\exp\{-\Lambda_C(t\mid h)\}. $$

The notation \(h\) here represents the history information relevant to the censoring law through \(t\). For a time-varying history, the integral uses the values of that history at each time, not just its value at the end of follow-up. In applications, the intensity is specified by a model conditional on the observed history; the validity of using that model for weighting also requires the independent-censoring and positivity conditions discussed below.

Deriving the Survival Probability

The exponential formula follows from the definition of a hazard, rather than being an extra modeling convention. Fix a history path \(h\), and abbreviate \(G(t\mid h)\) to \(G(t)\) and \(\lambda_C(t\mid h(t-))\) to \(\lambda(t)\). In the absence of censoring atoms, the conditional probability of censoring in a short interval, given survival to its start, is \(\lambda(t)dt+o(dt)\). Consequently,

$$ G(t+dt)=G(t)\{1-\lambda(t)dt+o(dt)\}, \qquad \frac{dG(t)}{dt}=-\lambda(t)G(t) $$

for almost every \(t\), with \(G(0)=1\). To solve this differential equation, define \(A(t)=\int_0^t\lambda(s)\,ds\). The product \(e^{A(t)}G(t)\) is absolutely continuous, and its derivative is

$$ \frac{d}{dt}\{e^{A(t)}G(t)\} =e^{A(t)}\{\lambda(t)G(t)+G'(t)\}=0 $$

almost everywhere. An absolutely continuous function whose derivative is zero almost everywhere is constant. Its value at time zero is one, so \(e^{A(t)}G(t)=1\), which gives \(G(t)=e^{-A(t)}\). This argument requires an integrable intensity and an absolutely continuous survival function; if censoring has point masses, the exponential-of-integral formula alone does not represent its survival law.

Derived result: Under the preceding conditions, the continuous-time inverse censoring weight for an individual still uncensored at time \(t\) is $$ W_C(t)=\frac{I(C\ge t)}{G(t\mid H)} =I(C\ge t)\exp\{\Lambda_C(t\mid H)\}. $$ The indicator makes the weight zero after censoring; among those observed through \(t\), the weight is the reciprocal of their conditional probability of remaining uncensored.

Worked Calculations

Worked Example: Constant Censoring Intensity

Suppose the conditional censoring intensity is constant at \(0.08\) per year through year 3, with no censoring atoms. Calculate the probability of remaining uncensored and the weight at year 3.

The cumulative hazard is $$ \Lambda_C(3)=\int_0^3 0.08\,ds=0.24. $$ Therefore $$ G(3)=e^{-0.24}=0.786627861\ldots, \qquad \frac{1}{G(3)}=e^{0.24}=1.271249150\ldots. $$

Thus a person observed through year 3 receives weight about \(1.2712\), using the exact inverse survival probability before rounding. A person censored before year 3 has \(I(C\ge3)=0\), and hence weight zero for a year-3 quantity. The conditional mean of the year-3 weight is exactly one: $$ P(C\ge3)\frac{1}{G(3)}+P(C<3)(0) =G(3)\frac{1}{G(3)}=1. $$ If instead one reciprocates the rounded display \(0.7866\), the result is about \(1.2713\); the small difference is only rounding.

Worked Example: A Time-Varying Intensity

Suppose the intensity over the first four years is \(\lambda_C(t)=0.04+0.02t\) per year, with time \(t\) measured in years. Find the year-4 survival probability and inverse weight.

Integrating the time-varying rate gives $$ \Lambda_C(4)=\int_0^4(0.04+0.02t)\,dt =0.04(4)+0.02\frac{4^2}{2} =0.16+0.16=0.32. $$ Hence $$ G(4)=e^{-0.32}=0.726149037\ldots, \qquad G(4)^{-1}=e^{0.32}=1.377127764\ldots. $$

The intensity at year 4 is \(0.12\) per year, but using \(0.12\) as if it were the rate throughout all four years would give the wrong cumulative hazard: it would produce \(0.48\), rather than \(0.32\). The weight uses the integral of the rate over follow-up, not the rate at the endpoint.

Worked Example: History-Specific Weights and Recovery

Suppose a measured baseline history has two categories. Category A has probability \(0.6\), outcome value \(Y=10\), and constant censoring intensity \(0.10\) per year. Category B has probability \(0.4\), outcome \(Y=20\), and intensity \(0.30\) per year. Assume censoring is independent of the outcome conditional on category. Calculate the two-year weights and show how they recover the full-history mean outcome.

For A, the cumulative hazard is \(0.10(2)=0.20\), so \(G_A(2)=e^{-0.20}=0.818730753\ldots\) and the inverse survival weight is \(e^{0.20}=1.221402758\ldots\). For B, the cumulative hazard is \(0.30(2)=0.60\), so \(G_B(2)=e^{-0.60}=0.548811636\ldots\) and the weight is \(e^{0.60}=1.822118800\ldots\).

The full-history mean is \(0.6(10)+0.4(20)=14\). Among those observed at two years, the expected weighted outcome contribution from A is $$ 0.6G_A(2)\frac{1}{G_A(2)}(10)=6, $$ and the contribution from B is $$ 0.4G_B(2)\frac{1}{G_B(2)}(20)=8. $$ Their sum is \(6+8=14\), exactly the full-history mean. Without weighting, the expected observed outcome contribution would instead be \(0.6(0.818730753)(10)+0.4(0.548811636)(20)\), approximately \(9.3029\). The lower unweighted value reflects selective loss to follow-up in this example.

When Does Inverse Survival Weighting Work?

The preceding recovery calculation depends on assumptions, not merely on the algebra of taking a reciprocal. Let \(\mathcal F^*\) denote the information in the full measured history relevant to the target quantity through time \(t\), including information that would have been observed had follow-up continued. For a full-history quantity \(Q\), a key condition is that, given \(\mathcal F^*\), remaining uncensored through \(t\) has probability \(G(t\mid\mathcal F^*)\). This is the continuous-time form of independent censoring conditional on measured history. It rules out residual dependence of censoring on the target quantity after conditioning on the specified history.

Also require consistency between the recorded history and its full-history counterpart while observed, a correctly specified or consistently estimated censoring survival law, and censoring positivity: \(G(t\mid\mathcal F^*)>0\) for histories and times in the target population. For stable population expectations, the relevant weighted quantity must be integrable; for standard large-sample inference, additional moment and regularity conditions are typically needed. Positivity is not secured just because a fitted model returns positive numbers: the true survival probability must not be zero in a target stratum.

Theorem: Suppose \(Q\) is integrable and measurable with respect to \(\mathcal F^*\). Suppose \(P(C\ge t\mid\mathcal F^*)=G(t\mid\mathcal F^*)>0\) almost surely, with the conditional independence and consistency conditions just stated. Then $$ E\left[\frac{I(C\ge t)Q}{G(t\mid\mathcal F^*)}\right]=E[Q]. $$

To prove the result, take the conditional expectation given \(\mathcal F^*\). Since \(Q\) and \(G(t\mid\mathcal F^*)\) are measurable with respect to that information, they can be taken outside the conditional expectation:

$$ E\left[\left.\frac{I(C\ge t)Q}{G(t\mid\mathcal F^*)}\right|\mathcal F^*\right] = \frac{Q}{G(t\mid\mathcal F^*)} E[I(C\ge t)\mid\mathcal F^*] = \frac{Q}{G(t\mid\mathcal F^*)}G(t\mid\mathcal F^*)=Q. $$

Taking expectations of both sides gives the result by the law of iterated expectations. Integrability ensures these expectations are defined; positivity ensures the denominator is nonzero. If \(Q\) can be negative, the argument applies to its positive and negative parts when both have finite expectation. \(\square\)

Diagnostics, Alternatives, and Limitations

In practice, the conditional survival probability is estimated, and its inverse may be highly variable. Inspect estimated survival probabilities over time and across important histories, along with the distribution of the resulting weights. Very small estimated \(G\) values, unusually large weights, or a few observations dominating weighted summaries are warnings of weak positivity or a poorly supported model. Comparing observed history patterns among those still followed with the patterns represented after weighting can reveal discrepancies, but no diagnostic can establish conditional independent censoring from the observed data alone.

The continuous-time expression is closely related to discrete-time IPCW: in discrete time, one multiplies inverse conditional probabilities of surviving each interval; in continuous time, the cumulative hazard integrates the instantaneous rates and the survival probability is its exponential. A discrete-time approximation can be useful when observation times naturally form intervals, but its accuracy depends on interval width and the model for within-interval censoring. Complete-case analysis is simpler, but it generally does not recover the full-history distribution when censoring depends on measured prognostic history.

Inverse censoring weights cannot repair censoring that depends on unmeasured predictors of the outcome after conditioning on the modeled history. Nor do they create information in strata with zero probability of remaining observed. Even with correct assumptions, extreme weights can make finite-sample estimates unstable; truncating weights may reduce variance but changes the estimating procedure and can introduce bias. These are reasons to report the censoring model, the support of estimated survival probabilities, and sensitivity to influential weights, not reasons to treat a fitted inverse survival probability as automatically valid.

1
Specify the history.
Identify the measured information available before each time and the history needed to make censoring conditionally independent of the target quantity.
2
Model the intensity.
Use a nonnegative conditional censoring intensity appropriate to the time scale and measured history; check that its cumulative hazard is finite over the target interval.
3
Convert and inspect.
Integrate the fitted intensity, exponentiate its negative to obtain survival, and inspect positivity and the resulting inverse weights.

Common Pitfall

A frequent error is to use the reciprocal of the censoring intensity at time \(t\) as the weight. An intensity has units of inverse time and describes an instantaneous rate; it is not the probability of remaining uncensored through \(t\). The correction is to integrate the intensity from the start of follow-up, form \(G(t)=\exp\{-\Lambda_C(t)\}\) under the stated continuous-hazard conditions, and then use \(1/G(t)\) for an individual still uncensored. A second error is to interpret the conditional mean-one identity as proof that the weight model is correct. That identity follows only when the conditional survival probability and the independent-censoring assumptions hold.

Check Your Understanding

Answer each question, then compare with the solutions.

  1. A constant censoring intensity is \(0.05\) per month. What are the cumulative hazard and inverse survival weight after 6 months?
  2. Why is the intensity at the endpoint insufficient to calculate the inverse weight when the intensity varies over time?
  3. State the conditional expectation step that proves the inverse-weight identity for a full-history quantity \(Q\).
  4. What does a fitted survival probability near zero indicate, and why is it a concern?

Solutions. (1) The cumulative hazard is \(0.05(6)=0.30\), so \(G(6)=e^{-0.30}\) and the weight is \(e^{0.30}\approx1.3499\). (2) Survival depends on the accumulated hazard \(\int_0^t\lambda_C(s)\,ds\), not only on the instantaneous rate at the endpoint. (3) Conditional on full history, \(Q\) and \(G\) are fixed, while \(E[I(C\ge t)\mid\mathcal F^*]=G(t\mid\mathcal F^*)\); therefore the conditional expectation of \(I(C\ge t)Q/G\) equals \(Q\). (4) It indicates that few comparable histories are expected to remain uncensored, making inverse weights very large and the estimate unstable; it may also signal a positivity violation.

Clinical Biostats