Tutorials › Competing Risks and Multi-State Models › Marginal and Conditional Independent Censoring

Practical Handling of Censoring · Tutorial 538 of 699

Marginal and Conditional Independent Censoring

Learn when independent censoring must hold marginally, when it can hold conditional on observed covariates, and what additional assumptions make a conditional analysis valid.

Advanced 11 min read

What You'll Learn

  • Define marginal and conditional independent censoring using event and censoring times.
  • Explain why conditional independence does not generally imply marginal independence.
  • Identify how censoring can change the covariate composition of pooled risk sets.
  • Calculate the bias in a simple pooled Kaplan–Meier risk-set example.
  • Use covariate-specific survival estimates and standardization to target a population survival probability.
  • Check positivity, covariate measurement, and model assumptions needed for valid conditional analyses.

Why the Level of Independence Matters

Right censoring hides an event time when follow-up ends before the event is observed. The key question is not simply whether censoring occurs, but whether people who remain under observation represent those who have been censored with respect to their event experience. That question can have different answers before and after accounting for observed covariates.

For example, a baseline measure of disease severity might predict both earlier events and earlier withdrawal. Within severity groups, withdrawal could be unrelated to event time, while the groups with more withdrawal also have different event risks. A pooled analysis can then have distorted risk sets even though censoring is independent within each group.

Definition: Let \(T\) be the event time of interest, \(C\) the right-censoring time, and \(X\) a vector of observed covariates measured before follow-up. The observed time is \(Y=\min(T,C)\), and the event indicator is \(\Delta=I(T\le C)\). Marginal independent censoring means \(T\) and \(C\) are independent, written \(T\perp C\). Conditional independent censoring means they are independent given the observed covariates, written \(T\perp C\mid X\). These statements concern the event and censoring times, not whether the censoring rate is numerically the same across covariate groups.

Marginal independence is a stronger claim than conditional independence in the sense relevant to analysis: it asserts independence without conditioning on \(X\). Conditional independence does not generally imply marginal independence. If \(X\) predicts both event risk and censoring, mixing over \(X\) can create an association between \(T\) and \(C\), even when they are independent within every value of \(X\).

The independence assumption is not established just because censoring is administrative, or because censoring times are recorded accurately. It is an assumption about the relation between censoring and the event process. Covariates used to make that assumption plausible should be observed before the relevant follow-up and should capture shared predictors of event risk and censoring. Conditioning on a variable that is itself affected by prior follow-up requires a more careful analysis than the baseline-covariate setting considered here.

What Conditioning Changes

A marginal survival probability at time \(t\) is \(S(t)=P(T>t)\). If \(X\) has covariate values \(x\), then this target is a population average of the covariate-specific survival probabilities \(S(t\mid x)=P(T>t\mid X=x)\). When the censoring distribution also differs across \(x\), people still under observation at time \(t\) need not have the population distribution of \(X\).

$$ P(T>t\mid C\ge t) =\sum_x S(t\mid x)\,P(X=x\mid C\ge t) =\frac{\sum_x P(X=x)G(t\mid x)S(t\mid x)} {\sum_x P(X=x)G(t\mid x)}, $$

Here \(G(t\mid x)=P(C\ge t\mid X=x)\), and the sums are written for discrete covariates. Under \(T\perp C\mid X\), the probability of surviving past \(t\) among those with \(X=x\) and still observed at \(t\) is \(S(t\mid x)\). But the weights \(P(X=x\mid C\ge t)\) among those still observed can differ from the target population weights \(P(X=x)\). Thus the displayed probability need not equal \(S(t)=\sum_x P(X=x)S(t\mid x)\).

This calculation is a selection argument, not a claim that the Kaplan–Meier estimator is merely the proportion of observed people who survive to \(t\). Kaplan–Meier uses the sequence of event times and risk sets to account for censoring. The argument explains why, when censoring depends on covariates that predict events, pooled risk sets may not support the intended marginal estimate. Marginal independence is a standard sufficient assumption for an unadjusted Kaplan–Meier analysis; conditional independence alone does not generally justify pooling over \(X\).

Worked Example: Conditional Independence Can Produce Marginal Dependence

Suppose a hypothetical cohort is split equally between two baseline severity groups, \(X=A\) and \(X=B\). At a fixed horizon, let the probability of surviving past the horizon be 0.80 in group A and 0.40 in group B. Let the probability of remaining uncensored through the horizon be 0.90 in A and 0.30 in B. Assume \(T\perp C\mid X\).

Within each group, conditional independence gives the joint probability of surviving and remaining uncensored as the product of the two probabilities. Averaging these products over the two equally sized groups gives

$$ P(T>t,\ C\ge t) =0.5(0.80\times0.90)+0.5(0.40\times0.30) =0.5(0.72)+0.5(0.12)=0.42. $$

The marginal survival probability is \(P(T>t)=0.5(0.80)+0.5(0.40)=0.60\). The marginal probability of remaining uncensored is \(P(C\ge t)=0.5(0.90)+0.5(0.30)=0.60\). If \(T\) and \(C\) were marginally independent, their joint probability would be \(0.60\times0.60=0.36\), not 0.42. Therefore censoring is independent within each severity group but not independent marginally.

The association arises because severity affects both survival and the chance of remaining observed. It does not contradict the assumed independence within groups.

When a Pooled Analysis Can Be Misleading

Worked Example: A Distorted Pooled Risk Set

Consider a hypothetical study with equal numbers in severity groups A and B. All events, if they occur by the horizon, occur at one event time \(\tau\); otherwise they occur later. Before \(\tau\), some participants are censored. The event probabilities by \(\tau\) are 0.20 in A and 0.60 in B. The probabilities of remaining uncensored through \(\tau\) are 0.90 in A and 0.30 in B. Assume event and censoring times are independent within each group, and that there are no other event times before or at \(\tau\).

Just before \(\tau\), the expected proportions of the original cohort still at risk from A and B are proportional to \(0.5(0.90)=0.45\) and \(0.5(0.30)=0.15\). Among those at risk, the group proportions are therefore \(0.45/(0.45+0.15)=0.75\) for A and 0.25 for B. The pooled event fraction at \(\tau\) is

$$ 0.75(0.20)+0.25(0.60)=0.15+0.15=0.30. $$

With a single event time, the pooled Kaplan–Meier estimate of survival just after \(\tau\) is \(1-0.30=0.70\). The population survival probability at that time is instead

$$ S(\tau)=0.5(1-0.20)+0.5(1-0.60) =0.5(0.80)+0.5(0.40)=0.60. $$

The discrepancy occurs because the pooled risk set overrepresents group A, which has lower event risk and less censoring. The assumptions of this example make the calculation exact for the stated risk-set proportions. In a finite sample, observed proportions and estimates would vary around their expected values.

Valid Conditional Analyses and Their Requirements

If censoring is independent only conditional on \(X\), an analysis can use the covariate information rather than treating the pooled sample as if censoring were marginally independent. One direct approach is to estimate survival within covariate groups and average those estimates over the covariate distribution of the target population. For continuous or numerous covariates, a regression model can estimate conditional survival, followed by averaging predictions over that target population. Either approach must match the estimand: averaging over the study sample targets that sample’s covariate distribution, while a different target population requires its own weights or covariate distribution.

Conditional independence is not enough by itself. For a conditional analysis to support the intended estimate, the following conditions also matter:

  • Relevant covariates are observed. After conditioning on \(X\), there should be no remaining common predictors of censoring and event time that induce dependence.
  • Covariates are appropriately measured. The values used for adjustment must represent information available at the relevant point in follow-up. Misclassification or poorly timed measurement can leave important dependence uncontrolled.
  • Positivity holds. For covariate values in the target population, people must have a positive probability of remaining uncensored over times at which survival is to be estimated. In notation, \(G(t\mid x)>0\) over the relevant time range for target values \(x\).
  • The conditional estimation procedure is adequate. Stratification must leave enough observations in relevant groups; a regression approach must represent the conditional survival relationships well enough for the target estimate.
  • The target population is specified. Conditional survival probabilities must be averaged using the covariate distribution appropriate to the question.

These requirements explain why simply adding covariates to a model does not guarantee valid inference. A covariate must address relevant dependence, and the analysis must have enough follow-up information in each target subgroup. Conditional independence is an assumption about the data-generating process; a fitted model cannot prove it.

Worked Example: Standardizing Conditional Survival Estimates

Return to the hypothetical severity groups in the pooled-risk-set example. Suppose the conditional survival estimates just after \(\tau\) are 0.80 for group A and 0.40 for group B, and the target population is half A and half B. Assume censoring is independent of the event time within each group, there is adequate follow-up in both groups, and the estimates represent the corresponding conditional survival probabilities.

To estimate survival for the target population, average the group-specific estimates using the target group proportions:

$$ \widehat S_{\mathrm{target}}(\tau) =0.50(0.80)+0.50(0.40) =0.40+0.20=0.60. $$

This standardized estimate differs from the pooled risk-set estimate of 0.70 because it restores the target population’s equal group weights instead of using the censoring-selected risk-set weights of 0.75 and 0.25. The calculation relies on valid conditional estimates and the stated target distribution; it is not a correction that can be applied without those assumptions.

Choosing an Analysis and Checking Its Weak Points

The main alternatives address different assumptions and targets. An unadjusted Kaplan–Meier analysis is appropriate under marginal independent censoring for the population survival curve. A stratified or regression-based analysis can use conditional independence given observed covariates, with standardization when a marginal population survival estimate is desired. Inverse-probability-of-censoring weighting is another approach that uses a model for remaining uncensored to reweight observed follow-up; it also depends on adequate covariate measurement, a correctly specified censoring model, and positivity. None of these approaches repairs unmeasured predictors of both censoring and event time merely by changing the estimator.

ApproachIndependence basisKey point
Pooled Kaplan–MeierMarginal independent censoring is a standard sufficient conditionMay be misleading when conditional independence holds but censoring and event risk vary across covariates
Conditional survival analysis with standardizationConditional independent censoring given observed covariatesEstimates within covariate patterns, then averages to the specified target population
Inverse-probability-of-censoring weightingConditional independent censoring plus a usable censoring model and positivityReweights observed follow-up; extreme or unstable weights can undermine precision and reliability

Useful diagnostics include comparing censoring frequency and follow-up across important baseline predictors, checking whether covariate groups retain adequate follow-up over the time range of interest, and assessing whether conclusions are sensitive to reasonable alternative covariate specifications. A relationship between \(X\) and censoring does not by itself prove that censoring is informative after conditioning; it signals why a pooled analysis deserves scrutiny. Conversely, similar censoring rates across recorded groups do not rule out dependence through unmeasured factors.

A frequent mistake is to reason, “censoring is independent within each group, so pooled Kaplan–Meier is valid.” The correction is that conditional independence does not generally imply marginal independence: different censoring rates can alter the covariate mix of pooled risk sets. Either justify the marginal assumption for the pooled analysis or use an analysis that conditions on the relevant covariates and targets the desired population.

Finally, censoring must be distinguished from an observed competing event. In a competing-risks setting, a competing event is an observed outcome of a different type, not automatically a censoring time. Treating it as censoring invokes additional assumptions and changes the quantity being estimated; the independence discussion here applies to genuine right censoring of the event-time information.

Key takeaway: State the level of the censoring assumption explicitly. Marginal independent censoring supports a pooled analysis under its other requirements; conditional independent censoring can support covariate-adjusted analysis only when relevant predictors are observed, positivity holds, the estimation procedure is appropriate, and the target population is clearly defined.

Check Your Understanding

Answer each question, then compare with the solutions below.

  1. If \(T\perp C\mid X\), must \(T\perp C\) hold? Explain briefly.
  2. A target population is 40% group A and 60% group B. Conditional survival estimates at a specified time are 0.90 and 0.50. Calculate the standardized survival estimate.
  3. Why can pooled risk sets be enriched for one covariate group when censoring is independent within each group?
  4. Name two requirements, beyond conditional independent censoring, that matter for a valid conditional analysis.

Solutions. 1. No. If \(X\) predicts both event risk and censoring, mixing across values of \(X\) can create marginal dependence even when the times are independent within each value. 2. The standardized estimate is \(0.40(0.90)+0.60(0.50)=0.36+0.30=0.66\), or 66% survival at the specified time in the stated target population. 3. If covariate groups have different probabilities of remaining uncensored, their proportions among those still at risk change over time; the pooled risk set need not have the original population composition. 4. Examples include observing the relevant shared predictors, positivity of remaining uncensored over the target time range, adequate specification of the conditional estimation procedure, and using the correct target covariate distribution.

Clinical Biostats