HARK icon indicating copy to clipboard operation
HARK copied to clipboard

In error: "AssertionError: LivPrb is not a list or time varying distribution"

Open sbenthall opened this issue 1 year ago • 7 comments

parameters = {'cycles': 0,
 'aNrmInitStd': 0.0,
 'aNrmInitMean': 6,
 'LivPrb': 0.9949620563926881,
 'PermGroFac': 1.0,
 'pLvlInitMean': 0.0,
 'pLvlInitStd': 0.0,
 'Rfree': 1.0,
 'TranShkStd': [0],
 'PermShkStd': [0],
 'CRRA': 3,
 'DiscFac': 0.99,
 'ex_post': None,
 'AgentCount': 1,
 'num_per_type': 1000,
 'RiskyAvg': 1.0916031021270372,
 'RiskyStd': 0.09296520824951145,
 'T_sim': 3000,
 'UnempPrb': 1.0,
 'IncUnemp': 0.0}

a1 = SequentialPortfolioConsumerType(**parameters)

a1.solve()

Gets me this error:

AssertionError: LivPrb is not a list or time varying distribution, but should be because it is in time_vary

This doesn't seem right.

sbenthall avatar Jul 18 '23 18:07 sbenthall