Open Shimuuar opened 4 years ago
RE 2.
Quick experimentation with mpmath shows that precision becomes worse for larger NDF. (N of ulps of error proportional to NDF). For very large N mpmath fails itself which I think doesn't bring any good news for algorithm being used...
So far following problems with Student-T distribution were identified:
quantile
lose precision for p≈0.5 since x becomes close to 1, while p is near zeroBoth precision and performance suffer greatly for large degrees of freedom. Reason is likely incomplete beta and its inverse perform poorly for large parameters. However distribution becomes close to normal so other approximations could work!