Error Functionmathematics statisticsTable of ContentsSourcesThe error function, often used in statistics and probability, is defined as the integral of the Gaussian function. It is defined as follows:$$ \text{erf}(z) = \frac{2}{\sqrt{\pi}} \int_0^z e^{-t^2} dt $$Sources #Wikipedia