Files
Daniel Schmitz f724aec828 ENH: add parameter finder for degrees or freedom for students_t distribution (#1385)
* ENH: add parameter finder for degrees or freedom

* Add early exit if approximation is precise to machine precision

* Loosen tolerance and add tests in the tails

* Modularize and simplify

* Use overflow error instead of inf

* Relax all test tolerances

* Should use a linter ..

* Relax test tolerance for float precision and remove ill conditioned test with df=1e6

* Fix indentation

* Loosen tolerance for very high degrees of freedom

* Test if approximation is a good hint, otherwise fall back to 0.01

* Add test coverage of all cases for approximation

* Do not use symmetry for better numerical accuracy in the tails

* Add edge case tests

* Exclude float from testing for extreme values

* Update test comment

* Replace non ASCII character..

* Simplify using boost's own relative error function

* Add early exits for df=1 and df=inf

Co-authored-by: Copilot <copilot@github.com>

* Try to fix CI carnage

Co-authored-by: Copilot <copilot@github.com>

* Simplify analytical cases and raise overflow error for normal case

* Rename to find_degrees_of_freedom

---------

Co-authored-by: Copilot <copilot@github.com>
2026-05-22 17:49:30 +01:00
..
2022-11-10 18:49:37 +00:00
2025-09-13 15:19:47 +02:00
2019-12-01 08:06:17 -05:00
2023-10-30 09:37:29 +01:00
2022-03-19 16:45:36 +00:00
2024-09-12 10:25:17 -04:00
2019-12-26 09:18:02 -05:00