Multi-period Inverse Probability Weighting

Statistics
Introduced by
Robins, Hernan & Brumback
Year
2000
Type
Weighted causal estimator
Family
Quasi-experimental / causal inference

What does it do?

Multi-period Inverse Probability Weighting (IPW) estimates the causal effect of a treatment that varies across several time periods.

It reweights observations by the probability of each period's observed treatment, given past treatment history and time-varying confounders. The weighted sample approximates a pseudo-population in which treatment at each period is independent of measured confounders. Under its identifying assumptions, including sequential ignorability and correctly specified propensity models, it supports estimation of the effects of sustained treatment strategies.

The intuition behind the method

When individuals receive treatment at several time points, and time-varying characteristics are both affected by earlier treatment and influence later treatment, conventional regression adjustment for those characteristics is biased. Conditioning on them removes confounding but also blocks part of the effect of earlier treatment. Multi-period IPW addresses this by computing, for each person and period, the probability of the treatment actually received given treatment history and evolving characteristics. Observations whose treatment was unlikely given their history are upweighted, so the reweighted sample resembles one in which treatment at each period is unrelated to measured past confounders. The analyst then models the outcome in this pseudo-population to estimate what would happen under different sustained treatment strategies.

History

The approach is associated with James Robins and colleagues, who introduced marginal structural models and inverse-probability-of-treatment weighted estimators for time-varying treatments. Robins, Hernan and Brumback (2000, Epidemiology) describe these models and estimators. Hernan and Robins (2020), Causal Inference: What If, is a textbook treatment of the same framework.

When to use it

Use multi-period IPW when (1) treatment status varies across multiple measurement occasions, (2) time-varying covariates both confound treatment and are themselves affected by prior treatment (treatment-confounder feedback), and (3) the question concerns sustained treatment strategies or dynamic regimes over time. It suits longitudinal panel data with a continuous or binary outcome. It needs enough observations to estimate propensity models stably at each period, which is a practical constraint in small cohorts. Do not use it when treatment is assigned only once (standard IPW suffices), when positivity is violated (some covariate profiles have near-zero probability of one treatment level), or when propensity models are likely to be badly misspecified. Treatment-confounder feedback requires at least two treatment occasions with a time-varying confounder between them; the gain over a static approach depends on the strength of that feedback and on the sample.

Limitations and considerations

  • Requires correct specification of the propensity model at every time period; misspecification at any stage propagates through the product of weights.
  • Extreme weights arise when positivity is near-violated, inflating variance and potentially biasing estimates; weight truncation or trimming is often needed.
  • Relies on the sequential ignorability (no unmeasured time-varying confounders) assumption, which cannot be tested from the data.
  • Computational burden grows with the number of periods, and multiple propensity models must be estimated and validated.
  • Requires relatively large samples to estimate stable propensity models at each time point, limiting applicability in small cohorts.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Handles treatment-confounder feedback that invalidates conventional regression adjustment in longitudinal settings.
  • Stabilized weights typically have smaller variance than unstabilized weights and, under correct specification and positivity, a mean near one, although extreme weights can still occur.
  • The weights are constructed separately from the outcome model, so the analyst may choose a linear, logistic, or other outcome model and fit it with the same weights.
  • Directly targets the effect of sustained or dynamic treatment strategies across time, matching policy-relevant research questions.
  • Can be extended to augmented or doubly robust longitudinal estimators (e.g., longitudinal TMLE), which additionally model the outcome and are consistent if either set of models is correctly specified; these are extensions of the basic weighting estimator.

Applications

  • Estimating the effect of sustained antiretroviral therapy initiation strategies on HIV progression in observational cohorts.
  • Evaluating the long-term impact of time-varying occupational exposures (e.g., repeated chemical exposures) on health outcomes.
  • Assessing the cumulative effect of repeated job-training program participation on employment and earnings over several years.
  • Comparing alternative medication adherence strategies across multiple clinical visits on patient outcomes.
  • Studying the causal effect of time-varying social program enrollment on poverty or educational attainment.
  • Analyzing the multi-period effect of nutritional supplementation or behavioral interventions in longitudinal trials with non-compliance.

How it works

How it works

1

At each time period t, estimate the conditional probability that each unit received its observed treatment given its past treatment history and time-varying confounders. For binary treatment this is the probability that A_it = 1 (or its complement when the observed value is 0). It forms the denominator of the stabilized weight and is typically modeled with logistic or probit regression at each period.

Formula
\hat{p}_{it} = P(A_{it}=1 \mid \bar{A}_{i,t-1}, \bar{L}_{it})
2

The stabilized weight for unit i through period T is the product over periods of the ratio of the probability of the observed treatment given treatment history only (numerator) to its probability given treatment history and time-varying covariates (denominator). Each factor uses the treatment value actually observed, a_it. Stabilization typically reduces variance relative to unstabilized weights, and under correct model specification and positivity the mean weight is near one; extreme weights can still occur.

Formula
\widehat{SW}_{iT} = \prod_{t=1}^{T} \frac{P(A_{it}=a_{it} \mid \bar{A}_{i,t-1})}{P(A_{it}=a_{it} \mid \bar{A}_{i,t-1}, \bar{L}_{it})}
3

Fit an outcome model (linear, logistic, or another form) using the stabilized weights. The model conditions on treatment history and baseline covariates V, but not on the time-varying confounders, which are handled by the weights. This weighted regression mimics a trial randomizing treatment at every time point, removing confounding by time-varying covariates while preserving the effect of early treatment on later confounders.

Formula
\hat{\mu} = \arg\min \sum_{i} \widehat{SW}_{iT} \cdot \ell(Y_i, f(\bar{A}_i, V_i; \theta))
4

Estimate the average effect by predicting outcomes from the weighted model under each target treatment strategy (e.g., always treated vs. never treated), setting treatment history to that strategy and averaging predictions over the observed baseline covariates V_i. Robust standard errors or the bootstrap are used for inference.

Formula
\hat{\tau} = \frac{1}{n}\sum_{i=1}^{n}\left[\hat{\mu}(\bar{a}=1, V_i) - \hat{\mu}(\bar{a}=0, V_i)\right]

Common pitfalls

  • Multiplying raw unstabilized weights across many periods creates extremely variable weights; always use stabilized weights or apply trimming.
  • Omitting relevant time-varying confounders from the propensity model at any period destroys the causal interpretation of the entire sequence.
  • Checking positivity only at baseline while ignoring later periods; near-zero propensity scores at any period violate the fundamental identification assumption.
  • Fitting a single cross-sectional propensity model instead of period-specific models, which ignores the evolving confounder structure.
  • Neglecting to examine the distribution of the final product weights; stabilized weights should have a mean near one, so a mean far from one or a very large maximum weight signals instability that requires remediation.

Frequently asked questions

How does multi-period IPW differ from standard (single-period) IPW?

Standard IPW handles a single fixed treatment assignment and weights by the inverse of one propensity score. Multi-period IPW handles a sequence of treatment decisions, computing a propensity score at each period and forming the weight as the product of period-specific ratios. This product structure accounts for the temporal dependency between treatment, covariates, and outcomes across periods.

What is treatment-confounder feedback and why does it matter?

Treatment-confounder feedback occurs when earlier treatment affects later confounders (e.g., a drug lowers a biomarker that in turn affects the next treatment decision). Standard regression that conditions on the intermediate biomarker blocks part of the treatment effect, while multi-period IPW avoids conditioning on post-treatment variables in the outcome model, preserving the full causal pathway.

Why use stabilized rather than unstabilized weights?

Unstabilized weights are the inverse of the product of conditional probabilities; their variance grows rapidly with the number of periods, often producing extremely large individual weights. Stabilized weights include a marginal probability in the numerator that typically brings the mean weight near one and substantially reduces variance, yielding more stable estimates.

How many time periods are needed?

There is no fixed minimum. Treatment-confounder feedback needs at least two treatment occasions with a time-varying confounder between them. The benefit over a static approach depends on how strong that feedback is and on the sample size.

What happens if the positivity assumption is violated?

If some covariate profiles have near-zero probability of one treatment level at any period, the corresponding weights become very large, inflating variance and biasing estimates. Diagnostics include examining weight distributions and checking empirical positivity. Truncating or trimming extreme weights is a common pragmatic remedy, though it introduces some bias.

Related methods

Sources

  1. Robins, J. M., Hernan, M. A., & Brumback, B. (2000). Marginal structural models and causal inference in epidemiology. Epidemiology, 11(5), 550-560.

    Open DOI reference
  2. Hernan, M. A., & Robins, J. M. (2020). Causal Inference: What If. Chapman and Hall/CRC.

    Open publication reference