Inverse probability weighting (source code)

= Inverse probability weighting
{wiki}

Inverse probability weighting reweights each observed outcome by the reciprocal probability of receiving its observed treatment, creating a weighted population in which treatment is balanced across measured covariates.