Skip to content

Compute optimal steady state distribution of saving and work in the Aiyagari-Huggett model with labour-leisure choice

Notifications You must be signed in to change notification settings

akshayshanker/workandplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

Play for the Rich and Work for the Poor?

Replication material to solve for Shanker and Wolfe (2021): "Play for the Rich and Work for the Poor?Optimal Saving and Work Hours in the Heterogeneous Agents Neoclassical Growth Model" CEPR discussion paper DP16479

Package solves the incomplete market equilibrium and constrained optima for a Bewley-Aiyagari-Huggett model with labour-leisure choice. The consumer problem is solved efficiently using the Endogenous Grid Method.

Preferred usage solves with X-entropy using MPI

main_mpi.py solves IM and CP using cross entropy across multiple nodes. For example, to solve using N = 420 draws

mpiexec -n 420 python3 -m mpi4py main_mpi.py modelname /results_path

Note all parameter values (inc. grid sizes and number of elite draws for cross entropy etc.) specified in .yml files under /settings

About

Compute optimal steady state distribution of saving and work in the Aiyagari-Huggett model with labour-leisure choice

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages