ENH: improve accuracy of ppf cdf roundtrip for gumbel_l #6228
Labels
good first issue
Good topic for first contributor pull requests, with a relatively straightforward solution
scipy.stats
Milestone
The accuracy of the gumbel_l ppf and cdf functions is poor for large negative x as exemplified here:
By replacing the _cdf and _ppf methods with
one will obtain full machine accuracy as shown here:
One should also consider replacing the _logsf and _sf methods with
in order to improve the accuracy for those methods as well.
The text was updated successfully, but these errors were encountered: