pub fn stdtr(nu: f64, x: f64) -> f64Expand description
Student’s t distribution cumulative distribution function
Rust implementation of scipy.special.stdtr.
§Notes
The CDF is given by
$$ \begin{align*} F_\nu(x) &= \frac{1}{\sqrt{\nu} \B \left( \frac{1}{2}, \frac{\nu}{2} \right)} \int_{-\infty}^x g(u)^{\frac{\nu+1}{2}} \dd u \\ &= 1 - \frac{1}{2} I_{g(x)}\left( \frac{\nu}{2}, \frac{1}{2} \right) \quad (x \ge 0) , \end{align*} $$
with $g(\square) = \frac{\nu}{\square^2 + \nu}$ a helper function, $\B(\cdot, \cdot)$ the Beta function, and $I_\square(\cdot,\cdot)$ the regularized incomplete Beta function.