HARK
HARK copied to clipboard
Heterogenous Agents Resources & toolKit
Running this code, simplified from `KrusellSmith` DemARK: ``` from HARK.ConsumptionSaving.ConsAggShockModel import AggShockMarkovConsumerType, CobbDouglasMarkovEconomy agent = AggShockMarkovConsumerType() economy = CobbDouglasMarkovEconomy( agents = [agent]) agent.getEconomyData(economy) # Makes attributes of the economy, attributes...
Are there any plans for future implementation of hyperbolic discounting for consumer agents? The implementation of naive quasi hyperbolic discounting should not be too complicated. In the case of the...
My understanding is that ConsPortfolioModel should just build on top of everything in ConsIndShockConsumerType, which would include the .checkConditions() method. While the method seems to be there, e.g. in the...
Create module for models of consumption-saving-search. Consumption-saving model with persistent unemployment; agent must exert costly effort to increase probability of finding job / receiving offer. Lots of variations on this...
Inspired by demo file, I am writing demos for each model in ConsIndShockModel. It is fun to play with parameters and helps me to understand consumption-saving dynamics model. In fact,...
standalone model configuration file with model, approximation, solution, and simulation parameters
The goal of this PR is to implement a working example of a HARK configuration file, in Python, as per #857. (Note the ticket originates from 2020). Such a configuration...
This PR aims to provide a general backwards induction algorithm that operates on a single DBlock. It simply arranges the pieces that come with the DBlock (decision value function, arrival...
Some minor tweaks to fix compilation problems. Please ensure your pull request adheres to the following guidelines: - [ ] Tests for new functionality/models or Tests to reproduce the bug-fix...
Some of the current model implementations using a Markov array do not use straightforward probabilistic sampling for transitions. * CobbDouglasMarkovEconomy restricts MarkovHistory output to be valid for calcDynamics: https://github.com/econ-ark/HARK/blob/master/HARK/ConsumptionSaving/ConsAggShockModel.py#L2500-L2598 *...
Following up on this idea from @llorracc : > When you parse the YAML files, you must be creating some internal python representation of the content of the model. Possibly...