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
Randomized Controlled Trial
. 2023 Jul 7;192(7):1192-1206.
doi: 10.1093/aje/kwad085.

Inverse Probability Weights for Quasicontinuous Ordinal Exposures With a Binary Outcome: Method Comparison and Case Study

Randomized Controlled Trial

Inverse Probability Weights for Quasicontinuous Ordinal Exposures With a Binary Outcome: Method Comparison and Case Study

Daniel E Sack et al. Am J Epidemiol. .

Abstract

Inverse probability weighting (IPW), a well-established method of controlling for confounding in observational studies with binary exposures, has been extended to analyses with continuous exposures. Methods developed for continuous exposures may not apply when the exposure is quasicontinuous because of irregular exposure distributions that violate key assumptions. We used simulations and cluster-randomized clinical trial data to assess 4 approaches developed for continuous exposures-ordinary least squares (OLS), covariate balancing generalized propensity scores (CBGPS), nonparametric covariate balancing generalized propensity scores (npCBGPS), and quantile binning (QB)-and a novel method, a cumulative probability model (CPM), in quasicontinuous exposure settings. We compared IPW stability, covariate balance, bias, mean squared error, and standard error estimation across 3,000 simulations with 6 different quasicontinuous exposures, varying in skewness and granularity. In general, CBGPS and npCBGPS resulted in excellent covariate balance, and npCBGPS was the least biased but the most variable. The QB and CPM approaches had the lowest mean squared error, particularly with marginally skewed exposures. We then successfully applied the IPW approaches, together with missing-data techniques, to assess how session attendance (out of a possible 15) in a partners-based clustered intervention among pregnant couples living with human immunodeficiency virus in Mozambique (2017-2022) influenced postpartum contraceptive uptake.

Keywords: HIV; causal inference; epidemiologic methods; inverse probability weighting; nonparametric statistics; propensity score.

PubMed Disclaimer

Figures

Figure 1
Figure 1
Marginal and conditional exposure distributions across 3,000 simulated data sets based on singleton live births in Quebec, Canada, 1995--2005. Panels on the left (panel A, X1; panel C, X2; panel E, X3, panel G, X4; panel I, X5; panel K, X6), show the marginal distributions of 6 exposures. Panels on the right (panel B, X1; panel D, X2; panel F, X3, panel H, X4; panel J, X5; panel L, X6) show residuals from multiple linear regressions of the 6 exposures on the confounding covariates. Panels A, B, E, and F suggest that we successfully recreated the marginal and conditional exposure distributions from the study by Naimi et al. (3) for X1 and X3. For X2, panel C shows that introducing a higher correlation between left-skewed maternal age and the exposure shifted the exposure mean upwards (from 16.96 to 23.74), increased the variance (from 2.16 to 3.37), and made the exposure marginally left-skewed. Panels G, I, and K show that with rounding to integers instead of tenths, X4, X5, and X6 recreate the distributions of X1, X2, and X3. The appearance of heteroskedasticity in panels D and J is due to the higher numbers of individuals with higher exposure levels. X1: conditionally normal, marginally normal exposure rounded to the nearest tenth; X2: conditionally normal, marginally skewed exposure rounded to the nearest tenth; X3: conditionally skewed, marginally skewed exposure rounded to the nearest tenth; X4: conditionally normal, marginally normal exposure rounded to the nearest integer; X5: conditionally normal, marginally skewed exposure rounded to the nearest integer; X6: conditionally skewed, marginally skewed exposure rounded to the nearest integer.
Figure 2
Figure 2
Bias and mean squared error (MSE) of marginal log odds ratio estimates across 3,000 simulated data sets based on singleton live births in Quebec, Canada, 1995--2005. In each row, the gray shaded area shows a probability density function of the biases; the black circle shows the median bias; the thicker black bar shows the interquartile range of the biases; and the thinner black bar shows the range of 95% of biases across the simulated data sets. The right side of each panel shows the MSE, the mean of the squared bias (“true” β1 minus estimated β1) across all simulated data sets, for each stabilized inverse probability weighting (sIPW) approach. A) Conditionally normal, marginally normal exposure rounded to the nearest tenth (X1); B) conditionally normal, marginally normal exposure rounded to the nearest integer (X4); C) conditionally normal, marginally skewed exposure rounded to the nearest tenth (X2); D) conditionally normal, marginally skewed exposure rounded to the nearest integer (X5); E) conditionally skewed, marginally skewed exposure rounded to the nearest tenth (X3); F) conditionally skewed, marginally skewed exposure rounded to the nearest integer (X6). UW, unweighted; OLS, ordinary least squares; CBGPS, covariate balancing generalized propensity score; npCBGPS, nonparametric covariate balancing generalized propensity score; QB10, quantile binning with 10 bins; QB15, quantile binning with 15 bins; QB20, quantile binning with 20 bins; CPM, cumulative probability model.
Figure 3
Figure 3
Intervention session attendance in the Homens para Saúde Mais (HoPS+) Trial, Zambezia Province, Mozambique, 2017--2022. A) HoPS+ session attendance among female participants (n = 315); B) HoPS+ session attendance among male participants (n = 315).

Similar articles

Cited by

References

    1. Rosenbaum PR, Rubin DB. The central role of the propensity score in observational studies for causal effects. Biometrika. 1983;70(1):41–55.
    1. Robins JM, Hernán MÁ, Brumback B. Marginal structural models and causal inference in epidemiology. Epidemiology. 2000;11(5):550–560. - PubMed
    1. Naimi AI, Moodie EEM, Auger N, et al. . Constructing inverse probability weights for continuous exposures: a comparison of methods. Epidemiology. 2014;25(2):292–299. - PubMed
    1. Fong C, Hazlett C, Imai K. Covariate balancing propensity score for a continuous treatment: application to the efficacy of political advertisements. Ann Appl Stat. 2018;12(1):156–177.
    1. Hirano K, Imbens GW. The propensity score with continuous treatments. In: Gelman A, Meng X-L, eds.Applied Bayesian Modeling and Causal Inference From Incomplete-Data Perspectives. West Sussex, United Kingdom: John Wiley & Sons Ltd.; 2004:73–84.

Publication types