HARK
HARK copied to clipboard
AttributeError: 'KrusellSmithType' object has no attribute 'MrkvInit'
The following code:
from HARK.ConsumptionSaving.ConsAggShockModel import KrusellSmithType
agent = KrusellSmithType()
agent.reset()
Produces the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/sb/projects/econ-ark/HARK/HARK/ConsumptionSaving/ConsAggShockModel.py", line 944, in reset
self.initializeSim()
File "/home/sb/projects/econ-ark/HARK/HARK/ConsumptionSaving/ConsAggShockModel.py", line 950, in initializeSim
self.MrkvNow = self.MrkvInit
AttributeError: 'KrusellSmithType' object has no attribute 'MrkvInit'