van der Wal, Willem M., and Ronald B. Geskus. “Ipw: An R Package for Inverse Probability Weighting”. Journal of Statistical Software, vol. 43, no. 13, Sept. 2011, pp. 1-23, doi:10.18637/jss.v043.i13.