An introduction to Stata programming 2nd ed - Baum, Christopher F. (Stata Press, 2016)