Programs and output for Slavov (2013), "Public versus Private Provision of Public Goods"The file linked below contains C++ code (.cpp files) used to compute the solution, output files, and Matlab files used to construct the figures and tables. C++ program files and output are numbered 1-8, corresponding to the 8 cases in the paper. Output files include privatex.txt, dcwx.txt, utilityx.txt, and logx.txt (where x=1,...,8) and contain the sustainable payoffs under private and public provision, the utility possibilities set, and a log of the program execution, respectively. Matlab code and data for tables in Ho and Slavov (2012), "An Alternative Perspective on Health Inequality"This file contains the period (folder name="Period life tables by race") and cohort (folder name="SSA cohort life tables") life tables used in the paper, as well as Matlab programs used to generate the results in the paper. The period life table folder also contains the population proportions used in the variance decomposition. The programs readdata.m and readdata_race.m read in the life table data, and the programs results.m and results_race.m perform the computations for the tables. Matlab code for simulations in Shoven and Slavov (2012), "Does It Pay to Delay Social Security?"The Programs folder contains the programs that perform the computations described in the paper (single_npv.m and couple_npv.m perform the current-law calculations, single_npv_oldrules.m and couple_npv_oldrules.m perform the historical comparisons, and tables.m creates Tables 1-2 in the paper). The Functions folder contains several functions that are called by the programs. Data and programs for bootstrap simulations in Nataraj and Shoven (2003), "Comparing the Risk of Social Security with and without Individual Accounts"This is the input dataset -- .zip file contains a Matlab file (.mat) with the historical data used in the simulations: These are the programs for performing the bootstrap simulations, as well as the output data. Each .zip file contains a Matlab program (.m) and the resulting output data (.mat). The simulated returns are found in the output data file, in a matrix called "ret." Each column corresponds to a particular mix of PAYGO and individual accounts (parameterized by gamma in the paper), starting with pure individual accounts (gamma=0) and moving up in increments of .01 to pure PAYGO (gamma=1): Nataraj_Shoven_2003_bootstrap.zip (base case) Nataraj_Shoven_2003_bootstrap2.zip (allows correlation between histories) Nataraj_Shoven_2003_bootstrap2fine.zip (finer grid) Nataraj_Shoven_2003_bootstrap3.zip (only uses last 10 years of population growth) |