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
In this case the round-trip accuracy could be misleading since gammaincinv and gammainccinv invert gammainc and gammaincc using Newton's method, i.e. they will probably be consistent but could be consistently wrong. (In fact gammainc and gammaincc both have some known weaknesses but will hopefully have less of them in a couple of days.)
The accuracy of the invgamma ppf and cdf functions is poor for small x as exemplified here:
By replacing the _cdf and _ppf methods with
one will obtain full machine accuracy as shown here:
The same applies to the _sf and _isf methods as shown here:
By replacing the _isf and _cdf methods with
one will get 1-3 digits accuracy for large x.
The text was updated successfully, but these errors were encountered: