%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % %"The Economic and Demographic Transition, Mortality, and Comparative Development"% % % % Matteo Cervellati and Uwe Sunde % % % % American Economic Journal: Macroeconomics % % % % July 2014 % % % % INSTRUCTIONS FOR REPLICATION FILES % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% The replication package comprises the following files: - AEJMacro_2013_0170_calibration.m Matlab code for simulation of one country This file produces the baseline simulation for Sweden (AEJMacro_2013_170_calibration.m with baseline=1) and for the alternative country with high mortality (low baseline longevity) and high fertility (AEJMacro_2013_170_calibration.m with baseline=0). - AEJMacro_2013_0170_calibration_xcdistr.m Matlab code for simulation of artificial world This file produces the simulation of an artificial world. - alower_threshold.m - astar_threshold.m - xcdistr_dis_MS9ob_interpol.txt These are auxiliary files used by the simulation programs. They need to be saved in the same folder as the other m-files. - AEJMacro_2013_0170_replication.xlsx This file comprises the data and code needed to replicate the figures in the text and in the Online Appendix. The Figures are organized in different work sheets. Each sheet contains a data set that needs to be pasted in stata (data editor, using first row as variable names), and a text file that contains the code needed to replicate the respective figures.