van der Wal, W. M., and R. 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.