Stoll, Heather, et al. “WhatIF: R Software for Evaluating Counterfactuals”. Journal of Statistical Software, vol. 15, no. 4, Dec. 2005, pp. 1-18, doi:10.18637/jss.v015.i04.