Description
The Binomial (LC)CDF functions are defined using the inc_beta function, however this can underflow to 0 for large inputs. By using the relationship with the Gauss Hypergeometric function, we can calculate inc_beta on the log scale: https://stats.stackexchange.com/a/148700
This provides greater resistance to underflow: https://godbolt.org/z/Pxn8MMYTv
Current Version:
v4.4.0
Description
The Binomial (LC)CDF functions are defined using the
inc_betafunction, however this can underflow to 0 for large inputs. By using the relationship with the Gauss Hypergeometric function, we can calculateinc_betaon the log scale: https://stats.stackexchange.com/a/148700This provides greater resistance to underflow: https://godbolt.org/z/Pxn8MMYTv
Current Version:
v4.4.0