You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cannot ever be fulfilled, because the minimum gridpoint of consumption is 1 and wealth is 0.25.
Describe the solution you'd like
Check that the initial states are valid in the sense that all of them admit at least one valid choice.
Maybe we can just apply filters and constraints to the initial states. Not fully obvious to me yet how to do that as part of an estimation when the outcome of this check may depend on parameters picked by the optimizer (i.e., what precisely we should do upon failure), but just sticking our head in the sand seems worse (will need to figure out much later what causes all those -infs)
Another thing is that we might have to allow extrapolating beyond the grid boundaries.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Inspired by a test case created by @buddejul:
The test will fail because:
>>> result["value"] period initial_state_id 0 0 -inf 1 0 -inf 2 0 -inf Name: value, dtype: float32
Note that in the initial period, the consumption constraint
cannot ever be fulfilled, because the minimum gridpoint of consumption is 1 and wealth is 0.25.
Describe the solution you'd like
Check that the initial states are valid in the sense that all of them admit at least one valid choice.
Maybe we can just apply filters and constraints to the initial states. Not fully obvious to me yet how to do that as part of an estimation when the outcome of this check may depend on parameters picked by the optimizer (i.e., what precisely we should do upon failure), but just sticking our head in the sand seems worse (will need to figure out much later what causes all those
-inf
s)Another thing is that we might have to allow extrapolating beyond the grid boundaries.
The text was updated successfully, but these errors were encountered: