An, W., & Wang, X. (2016). LARF: Instrumental Variable Estimation of Causal Effects through Local Average Response Functions. Journal of Statistical Software, Code Snippets, 71(1), 1–13. https://doi.org/10.18637/jss.v071.c01