Why censoring weights depend on contribution time
Censoring removes information about what would have happened later, not necessarily at random. If people with different observed characteristics have different chances of remaining under follow-up, an unweighted summary of the observed histories may overrepresent those who are easier to follow. Inverse probability of censoring weighting (IPCW) gives greater weight to observed histories that represent people with a lower estimated chance of still being observed.
The central practical question is which probability belongs in the denominator for each observed contribution? The answer is the estimated probability of remaining uncensored through the time of that contribution, conditional on the history used in the censoring model. This is a time-specific rule. In a first-event analysis, an absorbing event ends the trajectory being analyzed. In a multi-state model, a transition need not end follow-up, so later observed contributions need their own weights through their later times.
The censoring probability is usually built from conditional probabilities of remaining observed over successive intervals. Write \(q_{ij}\) for the probability that individual \(i\), uncensored through visit \(j\), remains uncensored up to visit \(j+1\), conditional on the measured history available for that interval. With \(G_i(0)=1\),
Thus an IPCW is the inverse of a cumulative probability, not generally the inverse of just the censoring probability for the current interval. If the censoring model uses only baseline covariates, the same subject-specific model can supply probabilities at successive visits. If it uses time-varying covariates, each interval probability can depend on the measured history available before that interval. Do not use information recorded only after censoring or after the contribution time to construct that contribution's weight.
Assumptions behind the weight
Weighting is not a correction that works merely because a censoring model has been fitted. Its interpretation depends on the assumptions linking censoring, observed history, and the event process.
- Conditional independent censoring: given the measured history \(H_i(k)\) used in the model, remaining observed through visit \(k\) is independent of the full-data contribution of interest at that visit. In practical terms, the included history must capture the predictors needed to make censoring conditionally unrelated to the outcome contribution.
- Positivity: for histories represented in the target population, the probability \(G_i(k)\) must be greater than zero at the times of interest. If some histories have essentially no chance of remaining observed, the corresponding inverse weights are undefined or extremely large.
- Correct estimation of \(G_i(k)\): the censoring model must adequately estimate the relevant conditional probabilities. A model that omits important predictors or misrepresents their time pattern can leave residual selection bias.
- Consistent observation and timing: censoring and event dates must follow the analysis's stated ordering convention. The censoring model must also use covariate history measured in the way assumed when it was fitted.
Conditional independent censoring is an assumption about the information included in the model; fitting a flexible model does not establish that the assumption is true. The earlier material on independent censoring and censoring survival probabilities gives the setting for estimating \(G_i(k)\). Here the focus is how to turn those estimates into weights and attach them to observed histories.
Worked Example: Turning Interval Probabilities Into Weights
Suppose a hypothetical study follows people at visits 1, 2, and 3. A fitted censoring model estimates that, for a particular measured history, the probabilities of remaining observed from visit 0 to 1, from 1 to 2, and from 2 to 3 are \(q_{i0}=0.90\), \(q_{i1}=0.80\), and \(q_{i2}=0.75\). Assume this history is correctly represented by the model and that conditional independent censoring and positivity hold for the contribution under consideration.
The probabilities of remaining uncensored through each visit are
Therefore, the weights for observed contributions at the three visits are
If the person's history is observed through visit 2 but censoring occurs before visit 3, that person can contribute observed information at visits 1 and 2 with weights 1.111 and 1.389, but not at visit 3. The weight 1.852 is used only for a contribution observed through visit 3. These are weights attached to contributions at particular times, not a single permanent weight attached to the person.
Assigning weights to observed histories
At a given visit \(k\), an observed risk-set or event-history contribution is multiplied by \(1/G_i(k)\). For example, if \(D_i(k)\) indicates a particular observed event at visit \(k\), the weighted event contribution is \(R_i(k)D_i(k)/G_i(k)\). Since \(D_i(k)\) can be observed only when \(R_i(k)=1\), an actually observed event contributes \(1/G_i(k)\); an event not observed because the person was censored contributes no recorded event term at that visit. This weighting does not mean that the censored person is known to have had an event.
For a first-event competing-risks analysis, the first event of any type ends the first-event trajectory. Weight the observed event contribution through its event visit, and do not assign that trajectory later first-event risk-set contributions. A person censored before a visit contributes only at visits for which the required history was observed. By contrast, in a multi-state model a transition can lead to a new non-absorbing state, with follow-up continuing. The transition at one visit and later state or transition contributions are distinct contributions: a later observed contribution is weighted using the censoring probability through its own later visit, conditional on the history available then.
Worked Example: First-Event Histories
Consider four hypothetical participants in a first-event competing-risks analysis. Use \(G(1)=0.90\), \(G(2)=0.72\), and \(G(3)=0.54\), as above. Suppose participant A has a cause 1 event at visit 1; B has a cause 2 event at visit 2; C is observed event-free through visit 2 and is censored before visit 3; and D is observed event-free through visit 2 and has a cause 1 event at visit 3. Assume the censoring model is appropriate for each participant's measured history and the stated positivity and conditional-independence assumptions hold.
A's observed event contribution is at visit 1, so its weight is \(1/G(1)=1/0.90=1.111\). B's cause 2 event contribution is at visit 2, so its weight is \(1/G(2)=1/0.72=1.389\). C has no observed visit-3 contribution: the fact that C was observed through visit 2 does not justify assigning a visit-3 outcome or a visit-3 weight to an unobserved outcome. D's cause 1 event contribution is at visit 3, so its weight is \(1/G(3)=1/0.54=1.852\).
The weights correspond to each person's observed first-event contribution time. A and B do not receive later first-event contributions after their events, because the first-event outcome has occurred. This example does not imply that every transition in a general multi-state process terminates follow-up.
Why inverse weighting can recover a full-data contribution
The basic justification is an expectation identity. Let \(Z_i(k)\) be a contribution that would be available at visit \(k\) under complete follow-up, and suppose censoring through \(k\) is conditionally independent of \(Z_i(k)\) given the measured history \(H_i(k)\). Also suppose \(G_i(k)=P\{R_i(k)=1\mid H_i(k)\}>0\). Then, conditional on that history,
The second equality uses conditional independence; the last uses \(E\{R_i(k)\mid H_i(k)\}=G_i(k)\). Averaging over histories gives \(E\{R_i(k)Z_i(k)/G_i(k)\}=E\{Z_i(k)\}\). This explains the inverse: an observed contribution from a history with probability \(G_i(k)\) represents, on average, \(1/G_i(k)\) such full-data contributions. If conditional independence fails, the factorization in the second line is invalid and inverse weighting alone need not remove bias.
Worked Example: Continuing After a Non-Absorbing Transition
Suppose a hypothetical multi-state study records a participant in state 0 at visit 1, a transition from state 0 to state 1 at visit 2, and then a transition from state 1 to state 2 at visit 3. State 1 is not absorbing, so the participant remains under observation after the visit-2 transition. Suppose the fitted censoring model, conditional on the measured history available before each interval, gives \(q_{i0}=0.90\), \(q_{i1}=0.80\), and \(q_{i2}=0.75\). Assume those estimates are appropriate and conditional independent censoring and positivity hold at both contribution times.
The visit-2 transition contribution is observed through visit 2 and receives
The visit-3 transition is a later observed contribution. Because follow-up continued and the participant is observed through visit 3, its weight is
Thus the visit-2 and visit-3 contributions use different cumulative censoring probabilities. It would be incorrect to stop weighting the trajectory after the first transition merely because a transition occurred. If the transition had instead been an absorbing event in a first-event analysis, there would be no later first-event contribution for that trajectory.
Checks, alternatives, and limitations
Before applying weights, verify that the time indexing agrees across the event-history data and the censoring model. In the convention used here, \(G_i(k)\) is the probability of being uncensored through visit \(k\), so it includes the conditional interval probabilities leading up to that visit. If an analysis uses a different event/censor tie convention, the definition of the at-risk indicator and the probability in the denominator must be aligned with it. A common implementation error is to use the interval probability \(q_{i,k-1}\) alone instead of the cumulative probability \(G_i(k)\).
Also check whether the covariates in the censoring model are genuinely available before the interval they predict. A model that uses future state or covariate information can create look-ahead bias. Weights that become very large are a warning that some observed histories had small estimated probabilities of remaining under observation; they can make estimates unstable. Their distribution and the adequacy of the censoring model deserve scrutiny. Weight stabilization, truncation, and formal positivity diagnostics are separate procedures; they do not change the basic time-specific construction given here.
IPCW is one way to address censoring under conditional independent censoring. When censoring is independent without conditioning on covariates, an unweighted analysis designed for independent censoring may suffice. When censoring depends on measured history, conditional weighting can target the selection induced by that history, provided the model and positivity assumptions are credible. Neither weighting nor a more elaborate censoring model repairs dependence on unmeasured predictors of future outcomes. Model-based approaches make different assumptions about the event process, while IPCW makes its key adjustment through the observation process; neither is assumption-free.
- Wrong: “A participant's weight is the inverse of the probability of avoiding censoring in the current interval.” Correction: for a contribution at visit \(k\), use the inverse of the cumulative probability \(G_i(k)\) of remaining uncensored through that visit.
- Wrong: “Any observed transition ends the trajectory, so no later weights are needed.” Correction: that rule applies to an absorbing endpoint or a first-event analysis; in a multi-state model with continuing follow-up, weight each later observed contribution through its own time.
- Wrong: “A large weight proves that the person was censored informatively.” Correction: it indicates a small estimated probability of remaining observed under the fitted model. It calls for investigation, but by itself does not establish why censoring occurred.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions below.
- Conditional probabilities of remaining observed over three successive intervals are 0.95, 0.80, and 0.75. What are \(G(2)\) and the weight for a contribution at visit 2?
- A person has an observed transition at visit 2 and remains under follow-up for a later observed contribution at visit 3. Should the visit-3 contribution use the visit-2 weight or a visit-3 weight?
- State the condition that allows the expectation identity for \(R_i(k)Z_i(k)/G_i(k)\) to recover the mean full-data contribution.
- What does an estimated \(G_i(k)=0\) imply for the ordinary inverse weight, and which assumption is implicated?
Solutions. (1) \(G(2)=0.95(0.80)=0.76\), so the visit-2 weight is \(1/0.76=1.316\). (2) Use the visit-3 weight \(1/G_i(3)\), because it is a later contribution and must account for the probability of remaining observed through visit 3. (3) Conditional on the measured history used in the censoring model, censoring through \(k\) must be independent of the full-data contribution \(Z_i(k)\), and \(G_i(k)\) must be correctly specified and positive. (4) The inverse is undefined; positivity fails for that history and time under the estimated model.