Topic summary
Error function

In mathematics, the error function (also called the Gauss error function), often denoted by , is the function The integral here is a complex contour integral which is path-independent because is holomorphic on the whole complex plane . In many applications, the function argument is a real number, in which case the function value is also real.
In some older texts, the error function is defined without the factor of . This nonelementary integral is a sigmoid function that occurs often in probability, statistics, and partial differential equations.
In statistics, for non-negative real values of , the error function has the following interpretation: for a real random variable that is normally distributed with mean 0 and standard deviation, is the probability that falls in the range .
Two closely related functions are the complementary error function
and the imaginary error function
where is the imaginary unit.