-
-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
encapsulated Markov-varying parameters in an object #639
Comments
MarkovProcess object in distribution.py, towards #639
Integrate this object into library... |
To integrate this object into the library fully, it requires an expectation-taking function analogous to |
Places to use this object: https://github.com/econ-ark/HARK/blob/master/HARK/ConsumptionSaving/ConsAggShockModel.py#L965-L980 HARK/HARK/ConsumptionSaving/ConsRepAgentModel.py Lines 352 to 354 in decc281
maybe this? HARK/HARK/ConsumptionSaving/ConsAggShockModel.py Lines 2552 to 2556 in decc281
|
Related: HARK/HARK/ConsumptionSaving/ConsMarkovModel.py Lines 956 to 967 in 2d7b8ab
HARK/HARK/ConsumptionSaving/ConsMarkovModel.py Lines 1037 to 1045 in 2d7b8ab
HARK/HARK/ConsumptionSaving/ConsMarkovModel.py Lines 1060 to 1096 in 2d7b8ab
|
use MarkovProcess in consumption saving models, fixes #639
There seems to be consensus around the idea that it makes sense to represent continuous #611 and discrete #519 distributions with objects. This has been partially implemented in current code.
Currently, when a parameter varies in a self-contained Markov process that's otherwise exogenous to the model, this is coded with a
MrkvArray
input and lists for the corresponding parameter values:https://github.com/econ-ark/HARK/blob/master/HARK/ConsumptionSaving/ConsPortfolioModel.py#L707-L712
This functionality could be wrapped up into an object.
This is what Dolo does:
https://github.com/EconForge/dolo/blob/7a12eb7117f80d95bd36955328329d6573b0c23c/dolo/numeric/processes.py#L229
The text was updated successfully, but these errors were encountered: