HARK
HARK copied to clipboard
default arguments for Markov economy fail on getEconomyData step
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 of the agent
``
Gets this error:
$ python consagg.py
Traceback (most recent call last):
File "consagg.py", line 7, in
If this is the correct way to call this function, the default parameters for the two classes should support it without error