% Hal Caswell and Nora Sánchez Gassen(2015): "The sensitivity analysis of % population projections", Demographic Research, vol. 33, no. 28, pp. 801-840. % The supporting material contains nine excel files and ten Matlab codes % (see list and brief explanation below). This set of materials can be % used to replicate the analyses and figures shown in the paper. % To do so: % 1) Save the set of supporting materials in a folder on your computer. % 2) Open the file "Dem_prevalence". In line 28, fill in the path to your % folder. Run the "Dem_prevalence" file. % 3) Open the file "Spain_support". In line 10, fill in the path to your % folder. Run the "Spain_support" file. % 4) Open the file “Projection_Spain”. In line 23, fill in the path to your % folder. Run the "Projection_Spain" file. % 5) Run the "Analysis_sensitivity" file. % 6) Run the "Figures" file. % The supporting material contains: % Excel files: These contain fertility, mortality, migration and other data % sets on which the population projection and sensitivity analyses are based. % - ConsSpain.xlsx: % Consumption data for Spain (source: National Transfer Accounts Project: % http://ntaccounts.org) % - FertSpain.xlsx: % Fertility data for Spain (for each projection year, source: Instituto % Nacional de Estadística: http://www.ine.es) % - ImmigrSpain-f.xlsx: % Female immigration data for Spain (for each projection year, source: % Instituto Nacional de Estadística: http://www.ine.es) % - ImmigrSpain_m.xlsx: % Male immigration data for Spain (for each projection year, source: % Instituto Nacional de Estadística: http://www.ine.es) % - IncomeSpain.xlsx: % Income data for Spain (source: National Transfer Accounts Project: % http://ntaccounts.org) % - MortEmigrSpain-f.xlsx: % Female mortality and emigration data for Spain (for each projection % year, source: Instituto Nacional de Estadística: http://www.ine.es) % - MortEmigrSpain-m.xlsx: % Male mortality and emigration data for Spain (for each projection % year, source: Instituto Nacional de Estadística: http://www.ine.es) % - PopSpain-f.xlsx: % Initial female population data for Spain (source: Instituto Nacional % de Estadística: http://www.ine.es) % - PopSpain-m.xlsx: % Initial male population data for Spain (source: Instituto Nacional % de Estadística: http://www.ine.es) % Matlab codes: These contain the codes to calculate a population % projection for Spain and the sensitivity and elasticity analyses and to % create the figures from the paper. % Some of the codes contain functions or create input data files on % which the main analyses are based. % - Analysis_sensitivity.m % - delta.m % - Dem_prevalence.m % - elasticity_N.m % - elasticity_ratio.m % - Figures.m % - Projection_Spain.m % - sensitivity_N.m % - Spain_support.m % - vec.m