Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2007 Nov 1;166(9):985-93.
doi: 10.1093/aje/kwm232. Epub 2007 Sep 17.

History-adjusted marginal structural models for estimating time-varying effect modification

Affiliations

History-adjusted marginal structural models for estimating time-varying effect modification

Maya L Petersen et al. Am J Epidemiol. .

Abstract

Much of epidemiology and clinical medicine is focused on estimating the effects of treatments or interventions administered over time. In such settings of longitudinal treatment, time-dependent confounding is often an important source of bias. Marginal structural models (MSMs) are a powerful tool for estimating the causal effect of a treatment using observational data, particularly when time-dependent confounding is present. In recent statistical work, van der Laan et al. presented a generalized form of MSMs called "history-adjusted" MSMs (Int J Biostat 2005;1:article 4). Unlike standard MSMs, history-adjusted MSMs can be used to estimate modification of treatment effects by time-varying covariates. Estimation of time-dependent causal effect modification is frequently of great practical relevance. For example, clinical researchers are often interested in how the prognostic significance of a biomarker for treatment response can change over time. This article provides a practical introduction to the implementation and interpretation of history-adjusted MSMs. The method is illustrated using a clinical question drawn from the treatment of human immunodeficiency virus infection. Observational cohort data from San Francisco, California, collected between 2000 and 2004, are used to estimate the effect of time until switching antiretroviral therapy regimens among patients receiving a non suppressive regimen and how this effect differs depending on CD4-positive T-lymphocyte count.

PubMed Disclaimer

Conflict of interest statement

Conflict of interest: none declared.

Figures

FIGURE 1
FIGURE 1
Estimated weights for standard and history-adjusted marginal structural models, the latter assuming a common model across time points, among human immunodeficiency virus-infected subjects with virologic failure sampled from a cohort in San Francisco, California, 2000–2004. For marginal structural models, estimated weights are plotted separately for each distinct episode of virologic failure, represented numerically on the x-axis as an index; for history-adjusted marginal structural models, estimated weights are plotted separately for each distinct episode of virologic failure and each time point at which subjects remain on their nonsuppressive therapy, represented numerically on the x-axis as an index.
FIGURE 2
FIGURE 2
Separate history-adjusted marginal structural model fitted for each of 9 months beginning at the time of virologic failure, showing the estimated effect of each additional month until switching therapy on CD4 T-cell count 8 months later, given current CD4 T-cell count (CD4(j)) and elapsed months since failure occurred (j), among human immunodeficiency virus-infected subjects with virologic failure sampled from a cohort in San Francisco, California, 2000–2004. Results were estimated among persons who had not yet switched therapy and had not resuppressed the virus.
FIGURE 3
FIGURE 3
Common history-adjusted marginal structural model fitted for the 9 months beginning at the time of virologic failure, showing the estimated effect of each additional month until switching therapy on CD4 T-cell count 8 months later, given current CD4 T-cell count (CD4(j)) and elapsed months since failure occurred (j), among human immunodeficiency virus-infected subjects with virologic failure sampled from a cohort in San Francisco, California, 2000–2004. Results were estimated among persons who had not yet switched therapy and had not resuppressed the virus.

Comment in

  • Effect modification by time-varying covariates.
    Robins JM, Hernán MA, Rotnitzky A. Robins JM, et al. Am J Epidemiol. 2007 Nov 1;166(9):994-1002; discussion 1003-4. doi: 10.1093/aje/kwm231. Epub 2007 Sep 17. Am J Epidemiol. 2007. PMID: 17875581

References

    1. Robins JM. Marginal structural models versus structural nested models as tools for causal inference. In: Halloran ME, Berry D, editors. Statistical models in epidemiology, the environment, and clinical trials. New York, NY: Springer-Verlag; 1999. pp. 95–134.
    1. Robins JM, Hernán MA, Brumback B. Marginal structural models and causal inference in epidemiology. Epidemiology. 2000;11:550–60. - PubMed
    1. Robins JM. 1999 Proceedings of the American Statistical Association, Section on Bayesian Statistical Science. Alexandria, VA: American Statistical Association; 2000. Robust estimation in sequentially ignorable missing data and causal inference models; pp. 6–10.
    1. Joffe M, Santanna J, Feldman H. Partially marginal structural models for causal inference. (Abstract) Am J Epidemiol. 2001;153(suppl):S261.
    1. Joffe MM, Knauss J, Robinson B, et al. Lagged partially marginal structural models for controlling confounding. (Abstract) Am J Epidemiol. 2004;159(suppl):S66.

Publication types

MeSH terms