-
I am trying to calculate my reserve using the gamma distribution found in the TweedieGLM class. ValueError: Some value(s) of y are out of the valid range for family TweedieDistribution What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hard to say without a reproducible example, but the gamma error structure requires that the incremental values of your triangle be non-negative, so if you have negative values (usually associated with a reduction in case reserves or a recovery), then the data doesn't fit the model distribution. |
Beta Was this translation helpful? Give feedback.
Hard to say without a reproducible example, but the gamma error structure requires that the incremental values of your triangle be non-negative, so if you have negative values (usually associated with a reduction in case reserves or a recovery), then the data doesn't fit the model distribution.