econ-ark/HARK

HARK.rewards give positive utility to negative consumption

Opened this issue · 3 comments

The current implementation of CRRA utility and its derived methods give positive utility for negative consumption:

image

While negative consumption cases are normally excluded by constraints in other parts of the library, this might throw off results in some cases.

A careful optimization, either via grid search or egm, should avoid this issue. Would you propose that it returns -infty or nan when consumption is negative?

Yes. I could see a case for either of those.

It should be nan. Definitely.

What does "negative consumption" mean? There's no reasonable definition of it. So, it's not a number.