Inverse probability weighting is a statistical technique for estimating quantities related to a population other than the one from which the data was collected. Study designs with a disparate sampling population and population of target inference (target population) are common in application.[1] There may be prohibitive factors barring researchers from directly sampling from the target population such as cost, time, or ethical concerns.[2] A solution to this problem is to use an alternate design strategy, e.g. stratified sampling. Weighting, when correctly applied, can potentially improve the efficiency and reduce the bias of unweighted estimators.
Inverse probability weighting is also used to account for missing data when subjects with missing data cannot be included in the primary analysis.[4]
With an estimate of the sampling probability, or the probability that the factor would be measured in another measurement, inverse probability weighting can be used to inflate the weight for subjects who are under-represented due to a large degree of missing data.
Inverse Probability Weighted Estimator (IPWE)
The inverse probability weighting estimator can be used to demonstrate causality when the researcher cannot conduct a controlled experiment but has observed data to model. Because it is assumed that the treatment is not randomly assigned, the goal is to estimate the counterfactual or potential outcome if all subjects in population were assigned either treatment.
We consider random variables jointly distributed according to a law where
are the covariates
are the two possible treatments
is the response
No assumptions such as random assignment of treatment are made.
Following Rubin's potential outcomes framework we also stipulate the existence of random variables for each . Semantically, denotes the potential outcome that would be observed if the subject were assigned treatment . Technically speaking, we actually work with the full joint distribution of ; in that case is the marginal distribution for only the observed components of . Special assumptions are needed to infer properties about using , which will be detailed below.
Now suppose we have observations distributed identically and independently according to . The goal is to use the observed data to estimate properties of the potential outcome . For instance, we may wish to compare the mean outcome if all patients in the population were assigned either treatment: . We want to estimate using observed data .
Estimator Formula
Constructing the IPWE
where
construct or using any propensity model (often a logistic regression model)
With the mean of each treatment group computed, a statistical t-test or ANOVA test can be used to judge difference between group means and determine statistical significance of treatment effect.
Assumptions
Recall the full joint probability model for the covariate , action , response , and potential outcomes . Recall also that is the marginal distribution of the observed data .
We make the following assumptions on relating the potential outcomes to the observed data. These allow us to infer properties of via .
(A1) Consistency: . So for any .
(A2) No unmeasured confounders: . Formally, for any bounded, Borel-measurable functions and , for any . This means that treatment assignment is based solely on covariate data and independent of potential outcomes.
(A3) Positivity: for all and .
Formal derivation
Under the assumptions (A1)-(A3), we will derive the following identities [5]
The first equality follows from iterated expectation, (A3), (A2) and (A1), applied in that order:
For the second equality, first note from the proof above that
Now by (A3), almost surely. Furthermore, note that
. Hence we can write
Variance reduction
The Inverse Probability Weighted Estimator (IPWE) is known to be unstable if some estimated propensities are too close to 0 or 1. In such instances, the IPWE can be dominated by a small number of subjects with large weights. To address this issue, a smoothed IPW estimator using Rao-Blackwellization has been proposed, which reduces the variance of IPWE by up to 7-fold and helps protect the estimator from model misspecification. [6]
Augmented Inverse Probability Weighted Estimator (AIPWE)
An alternative estimator is the augmented inverse probability weighted estimator (AIPWE) combines both the properties of the regression based estimator and the inverse probability weighted estimator. It is therefore a 'doubly robust' method in that it only requires either the propensity or outcome model to be correctly specified but not both. This method augments the IPWE to reduce variability and improve estimate efficiency. This model holds the same assumptions as the Inverse Probability Weighted Estimator (IPWE).[7]
Estimator Formula
With the following notations:
is an indicator function if subject i is part of treatment group a (or not).
Construct regression estimator to predict outcome based on covariates and treatment , for some subject i. For example, using ordinary least squares regression.
Construct propensity (probability) estimate . For example, using logistic regression.
Combine in AIPWE to obtain
Interpretation and "double robustness"
The later rearrangement of the formula helps reveal the underlying idea: our estimator is based on the average predicted outcome using the model (i.e.: ). However, if the model is biased, then the residuals of the model will not be (in the full treatment group a) around 0. We can correct this potential bias by adding the extra term of the average residuals of the model (Q) from the true value of the outcome (Y) (i.e.: ). Because we have missing values of Y, we give weights to inflate the relative importance of each residual (these weights are based on the inverse propensity, a.k.a. probability, of seeing each subject observations) (see page 10 in [8]).
The "doubly robust" benefit of such an estimator comes from the fact that it's sufficient for one of the two models to be correctly specified, for the estimator to be unbiased (either or , or both). This is because if the outcome model is well specified then its residuals will be around 0 (regardless of the weights each residual will get). While if the model is biased, but the weighting model is well specified, then the bias will be well estimated (And corrected for) by the weighted average residuals.[8][9][10]
The bias of the doubly robust estimators is called a second-order bias, and it depends on the product of the difference and the difference . This property allows us, when having a "large enough" sample size, to lower the overall bias of doubly robust estimators by using machine learning estimators (instead of parametric models).[11]
^Hernán, Miguel; Robins, James. "Chapter 2: Randomized Experiments". Causal Inference: What If (1st ed.). Boca Raton: Chapman & Hall/CRC. p. 25.
^
Liao, JG; Rohde, C (2022). "Variance reduction in the inverse probability weighted estimators for the average treatment effect using the propensity score". Biometrics. 78 (2): 660–667. doi:10.1111/biom.13454. PMID33715153. S2CID232232367.
^ abKang, Joseph DY, and Joseph L. Schafer. "Demystifying double robustness: A comparison of alternative strategies for estimating a population mean from incomplete data." Statistical science 22.4 (2007): 523-539. link for the paper
^Kim, Jae Kwang, and David Haziza. "Doubly robust inference with missing data in survey sampling." Statistica Sinica 24.1 (2014): 375-394. link to the paper
^Seaman, Shaun R., and Stijn Vansteelandt. "Introduction to double robust methods for incomplete data." Statistical science: a review journal of the Institute of Mathematical Statistics 33.2 (2018): 184. link to the paper
^Hernán, Miguel A., and James M. Robins. "Causal inference." (2010): 2. link to the book - page 170