Bada, O., and D. Liebl. “Phtt: Panel Data Analysis With Heterogeneous Time Trends in R”. Journal of Statistical Software, vol. 59, no. 6, Sept. 2014, pp. 1-33, doi:10.18637/jss.v059.i06.