By definition,
It is the probability that a normal random variable with mean m and standard deviation s will be less than x.
It is computed by:
The ErfC function is used to give accurate results when x << m where NormC is very small.
If s is zero, the answer is zero if x < m, one if x > m, and 0.5 if x = m.
If s < 0, the complement is given, NormC(x, m, -s) = 1 - NormC(x, m, s).
If x, m, or s is not real, values are given based on this formula that are not probabilities.
Return to Number Theory, Algorithms, and Real Functions
Return to Harry's Home Page