Alexander Lundberg, Kim P. Huynh, and David T. Jacho-Chavez, "Income and Democracy: A Smooth Varying Coefficient Redux", Journal of Applied Econometrics, Vol. 32, No. 3, 2017, pp. 719-724. There are three zip files. 1. lhj-data.zip contains the raw data in .csv format, sourced from Acemoglu et al. (2008) 2. lhj-code.zip contains the R code files used for estimation in the manuscript 3. lhj-replication.zip contains an .Rnw file replicating the tables of Acemoglu et al. (2008) in R, along with additional specification tests ########## ## Data ## ########## All data are taken from Acemoglu et al. (2008) http://economics.mit.edu/faculty/acemoglu/data/ajry2008 o Files: AnnualPanel.csv Format: comma separated values o Files: FiveYearPanel.csv Format: comma separated values o Files: FiveYearRawColony.csv Format: comma separated values Info: FiveYearPanel.csv with a dummy for former colonization appended o Files: TenYearPanel.csv Format: comma separated values o Files: TwentyYearPanel.csv Format: comma separated values o Files: TwentyFiveYearPanel.csv Format: comma separated values o Files: VeryLongRun.csv Format: comma separated values Note: No other data are used ############## ## Software ## ############## o Files: rcode.R Format: .R file (source code with comments) Application: Estimation of Cai & Li (2008) estimator, Implementation of Lee (2014) specification test Info: Uses FiveYearRawColony.csv data file o Files: replication.Rnw Format: .Rnw knitr Latex/R weave file (source code with comments) Application: Replication of Acemoglu et al. (2008) in R with supplementary material Info: Uses all .csv data files above. Compiling the pdf within R generates the Latex output o The software packages used to obtain the results were: - R system for statistical computing, version 3.0.2 http://CRAN.R-project.org/ - plm 1.5-12 http://CRAN.R-project.org/package=plm - np 0.60-2 http://CRAN.R-project.org/package=np - msm 1.6 http://CRAN.R-project.org/package=msm