%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Galina Vereshchagina, ASU, June 2012 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% The enclosed Matlab codes replicate the results presented in Section 7 of the paper by computing the corresponding value functions and plotting the results. The main file is RunFile_Figure7.m The following files are being called in the process: parameters.m - main parameters are defined finiteT_compute.m - value functions are computed, it calls for u.m - utility fn w.r.t flexible consumption uh.m - utility fn w.r.t housing RP.m - computes risk premium for a wealth lottery of the specified size