Dr. Walter Leite demonstrates different ways to obtain inverse probability weights (IPW) to remove selection bias in the estimation of treatment effects of continuous treatment doses. The example is from Chapter 7 of his book Practical Propensity Score Methods Using R. The data and code are available at www.practicalpropensityscore.com
![](https://i.ytimg.com/vi/qKwmPBQLtgU/maxresdefault.jpg)