|
3 | 3 | Limitations |
4 | 4 | =========== |
5 | 5 |
|
6 | | -`dc-egm` is a versatile Python package capable of solving and simulating a large class of economic models flexibly and efficiently.. |
| 6 | +`dcegm` is a versatile Python package capable of solving and simulating a large class of economic models flexibly and efficiently.. |
7 | 7 |
|
8 | 8 | However, there are limitations to what kind of features can be implemented and how complex models can become to be feasible to solve. |
9 | 9 |
|
10 | | -Below we discuss what kind of models `dc-egm` is designed for and importantly what limitations to be aware of when implementing a model. |
| 10 | +Below we discuss what kind of models `dcegm` is designed for and importantly what limitations to be aware of when implementing a model. |
11 | 11 |
|
12 | | -What can dc-egm do? |
| 12 | +What can dcegm do? |
13 | 13 | --------------------- |
14 | 14 |
|
15 | 15 | The package follows Ishakov et al. (2017) and implements the discrete-continuous endogenous grid method (DC-EGM) for solving dynamic stochastic optimization problems with both discrete and continuous choices. Our code originated as a Python replication of their Matlab code and has since been extended to include additional features and improvements (such as used in Iskhakov and Keane (2021)). |
16 | 16 |
|
17 | | -The class of economic models suitable for implementation with `dc-egm` are dynamic discrete-continuous choice models where agents make decisions that include both continuous controls (e.g., consumption or savings) and discrete choices (e.g., labor supply, retirement, or occupational states), potentially influenced by idiosyncratic taste shocks. |
| 17 | +The class of economic models suitable for implementation with `dcegm` are dynamic discrete-continuous choice models where agents make decisions that include both continuous controls (e.g., consumption or savings) and discrete choices (e.g., labor supply, retirement, or occupational states), potentially influenced by idiosyncratic taste shocks. |
18 | 18 |
|
19 | 19 | These models are defined by recursive Bellman equations, where the optimal policy must be computed over a joint choice set. Traditional solution methods, such as nested fixed-point or brute-force grid search, are computationally intensive for these settings. The DC-EGM adapts the endogenous grid method to this structure by efficiently solving the Euler equation for the continuous choice conditional on each discrete alternative, thus avoiding costly root-finding or interpolation on the value function. |
20 | 20 |
|
21 | 21 | This makes DC-EGM particularly well-suited for life-cycle models with a modest number of discrete alternatives, especially when taste shocks (e.g., Type I extreme value) allow the use of smooth choice probabilities. In contrast to purely discrete dynamic choice models (e.g., Rust-style models), or models with only continuous controls, DC-EGM addresses hybrid choice problems with substantial gains in speed and accuracy. |
22 | 22 |
|
23 | 23 |
|
24 | | -What can dc-egm not be used for? |
| 24 | +What can `dcegm` not be used for? |
25 | 25 | --------------------------------- |
26 | 26 |
|
27 | 27 | - Purely discrete choice models (see e.g. Keane and Wolpin; 1997) |
|
0 commit comments