pub fn ndtr<T: StatsArg>(z: T) -> TExpand description
CDF of the standard normal distribution, $\Phi(z)$
Corresponds to scipy.special.ndtr.
§Notes
The CDF is given by
$$ \begin{align*} \Phi(z) &= {1 \over \sqrt{2\pi}} \int_{-\infty}^z e^{-t^2 / 2} \dd t \\ &= {1 \over 2} + {1 \over 2} \erf \left( {z \over \sqrt{2}} \right) , \end{align*} $$
with $\erf(z)$ the error function.