Skip to content

Supplements the paper “Self-Aware Transport of Economic Agents” [SATHA] by Andrew Lyasoff

License

Notifications You must be signed in to change notification settings

AndrewLyasoff/heterogeneous-models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Self-Aware Transport of Economic Agents

Contains Julia programs for computing macroeconomic equlibrium in models of Krusell-Smith or Aiyagari-Bewley-Huggett type. The meaning and the purpose of these programs is exaplained in the paper Self-Aware Transport of Economic Agents;  [SATHA]  by Andrew Lyasoff (last revised on January 9, 2024), which this repository supplements.

The code in  ⋆-RMT-⋆.jl  implements the method described in Ch 18 of the book “Recursive Macroeconomic Theory”  [RMT]  by L. Ljungvist and T. Sargent for calculating the equilibrium in Huggett's benchmark pure-exchange economy with no shared risk. The model parameters are borrowed from  [RMT]  and the output is illustrated.

The code in  ⋆-SATHA-0⋆.jl  implements the alternative algorithm described in Sec. 3 of  [SATHA]  and yields a numerically verifiable equilibrium for the pure-echnage economy with no aggregate risk borrowed from  [RMT]  and covered by  ⋆-RMT-⋆.jl . The need for developing this alternative algorithm is explained in the paper [SATHA] (see Section 1).

The code in  ⋆-SATHA-⋆.jl  implements the algorithm described in Sec. 4 of  [SATHA]  and yields an equilibrium for the benchmark economy with aggregate risk and production described in the paper  “Income and wealth heterogeneity in the macroeconomy”   by P. Krusell and A. Smith, Journal of Political Economy 106(1998) pp. 867-896. The reason for for developing this alternative algorithm is explained in the paper [SATHA] (see Section 1).

The code in  functions-⋆.jl  contains the actual programs. The code in  ini-setup-⋆.jl  defines the model parameters. The code in  run-⋆.jl  generates and stores the output in  output-⋆.jls , which are included in this repository. The code in  post-run-⋆.jl  can read the respective output-⋆.jls and generates the plots included in  [SATHA] , in addition to other illustrations.

All reported output is produced with generic Linux-on-x86 binaries (glibc) v1.9.0 1.9.0 (2023-05-07 retreived from https://julialang.org/downloads/