-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
My understanding is that x_min and x_max, for the non-mirrored distributions, act only as "guardrails" against trying to compute something that we don't have precision to compute. They are approximated using a lognormal distribution, but this approximation can be quite bad. Then the "guardrails" become far too restrictive and prevent the user from computing something that they can totally compute with their precision.
MCVE:
>>> import risk_distributions
>>> g = risk_distributions.risk_distributions.Gamma(risk_distributions.risk_distributions.Gamma.get_parameters(mean=100_017, sd=100_000.7))
>>> g.cdf(g.parameters.x_min)
0 0.052517
dtype: float64
>>> g = risk_distributions.risk_distributions.Gamma(risk_distributions.risk_distributions.Gamma.get_parameters(mean=100_017, sd=500_000.7))
>>> g.cdf(g.parameters.x_min)
0 0.673451
dtype: float64Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels