seldonian.utils.stats_utils.tinv¶
- tinv(p, nu)¶
Returns the inverse of Student’s t CDF using the degrees of freedom in nu for the corresponding probabilities in p.
Python implementation of Matlab’s tinv function: https://www.mathworks.com/help/stats/tinv.html
- Parameters:
p (float) – Probability
nu (int) – Degrees of freedom
- Returns:
Inverse of the Student’s t CDF
- Return type:
float