The repository solves the Krusell and Smith, 1998 JPE economy with a perceived law of motion for the capital stock in the version with exogenous labor supply. The code is inspired by the Python code of Joao B. Duarte (available here), but optimized for Julia.
Visit my other repositories for replication files of Krusell and Smith, 1997 Macroeconomic Dynamics among other.
- Clone the repository to your local machine (see system requirements).
- Open the repository, checkout into branch of interest.
- Start Julia REPL (see system requirements).
- Activate the environment by running
] activate .
. - Check that the environment BASEforHANK is activated by running
] st
. - Instantiate the environment by running
] instantiate
. Potentially re-run this command until completion. - To test the project, run
] test
.
Now, you are ready to use the code.
The code is tested in Julia Version 1.10.4 on a Windows machine (x86_64-w64-mingw32).