Calculates an approximation of the inverse of the cumulative distribution function (CDF) of the standard normal distribution using the Beasley-Springer-Moro algorithm.
Parameters
p: number
The probability (must be between 0 and 1)
Returns number
Example
constresult = Chalkboard.stat.inormal(0.975); // Returns approximately 1.96
Calculates an approximation of the inverse of the cumulative distribution function (CDF) of the standard normal distribution using the Beasley-Springer-Moro algorithm.