Skip to content

nathanrobino/Q-Investment

 
 

Repository files navigation

Qmod: A Python class implementing the Abel-Hayashi "Marginal Q" model of investment.

Binder

This implementation follows Professor Christopher D. Carroll's lecture notes.

Installation

Requirements: Python 3.8-3.10 and uv

git clone https://github.com/llorracc/Q-Investment.git
cd Q-Investment
./INSTALL.sh
source .venv/bin/activate

That's it! See INSTALLATION.md for troubleshooting.

1. Qmod

The Qmod folder includes a file defining the Qmod Python class, which represents a Q-model of capital investment. The Qmod class' current functions include:

  • Solution of the model, obtaining its policy rule.
  • Drawing of the model's phase diagram.
  • Simulation of the model's dynamics starting from a given level of capital.

2. Dolo

The Dolo folder implements the model using Dolo.

3. Examples

Current examples include:

About

Numerical solution of the Abel-Hayashi marginal Q Investment Model.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%