Samiksha Jaiswal (Editor)

Inverse probability weighting

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

Inverse probability weighting is a statistical technique for calculating statistics standardized to a population different from that in which the data was collected. Study designs with a disparate sampling population and population of target inference (target population) are common in application. There may be prohibitive factors barring researchers from directly sampling from the target population such as cost, time, or ethical concerns. 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.

Contents

One very early weighted estimator is the Horvitz–Thompson estimator of the mean. When the sampling probability is known, from which the sampling population is drawn from the target population, then the inverse of this probability is used to weight the observations. This approach has been generalized to many aspects of statistics under various frameworks. In particular, there are weighted likelihoods, weighted estimating equations, and weighted probability densities from which a majority of statistics are derived. These applications codified the theory of other statistics and estimators such as marginal structural models, the standardized mortality ratio, and the EM algorithm for coarsened or aggregate data.

Inverse probability weighting is also used to account for missing data when subjects with missing data cannot be included in the primary analysis. With an estimate of the inclusion 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 underrepresented 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.

Suppose observed data are { ( X i , A i , Y i ) } i = 1 n drawn i.i.d from unknown distribution P, where

  • X R p covariates
  • A { 0 , 1 }
  • Y R response
  • We do not assume treatment randomly assigned completely at random
  • The goal is to estimate the potential outcome, Y ( a ) , that would be observed if the subject were assigned treatment a. Then compare the mean outcome if all patients in the population were assigned either treatment: μ a = E Y ( a ) . We want to estimate μ a using observed data { ( X i , A i , Y i ) } i = 1 n .

    Estimator Formula

    μ ^ a , n I P W E = n 1 Σ i = 1 n Y i 1 A i = a / p ^ n ( A i | X i )

    Constructing the IPWE

    1. μ a = E { Y 1 A = a / p ( A | X ) } where p ( a | x ) = P ( A = a , X = x ) A
    2. Construct p ^ n ( a | x ) of p ( a | x ) using any propensity model (often times a logistic regression model).
    3. μ ^ a , n I P W E = n 1 Σ i = 1 n Y i 1 A i = a / p ^ n ( A i | X i )

    With mean of each treatment group compute, a statistical t-test or ANOVA test can be used to judge difference between group means and determine statistical significance of treatment effect.

    Assumptions

    1. Consistency: Y = Y ( A )
    2. No unmeasured confounders: { Y ( 0 ) , Y ( 1 ) } A | X
    3. Treatment assignment is based solely on covariate data and independent of potential outcomes.
    4. Positivity: P ( A = a | X = x ) > 0 for all a and x

    Limitations

    The Inverse Probability Weighted Estimator (IPWE) can be unstable if estimated propensities are small. If the probability of either treatment assignment is small, then the logistic regression model can become unstable around the tails causing the IPWE to also be less stable.

    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).

    Estimator Formula

    μ ^ a , n A I P W E = 1 n k = 1 n ( Y i 1 A i = a p ^ n ( A i | X i ) 1 A i = a p ^ n ( A i | X i ) p ^ n ( A i | X i ) Q ^ n ( X i , a ) )

    Constructing the AIPWE

    1. Construct regression estimator Q ^ n ( x , a ) to predict outcome Y based on covariates X and treatment A
    2. Construct propensity estimate p ^ n ( A i | X i )
    3. Combine in AIPWE to obtain μ ^ a , n A I P W E

    References

    Inverse probability weighting Wikipedia