Error Distribution Function
Contents |
that occurs in probability, statistics, and partial differential equations describing diffusion. It is defined as:[1][2] erf ( x ) = 1 π ∫ − x x e − t 2 d t = 2 π ∫ 0 x e − t 2
Error Distribution Port 25672 In Use
d t . {\displaystyle {\begin − 6\operatorname − 5 (x)&={\frac − 4{\sqrt {\pi }}}\int _{-x}^ − error distribution logistic regression 3e^{-t^ − 2}\,\mathrm − 1 t\\&={\frac − 0{\sqrt {\pi }}}\int _ 9^ 8e^{-t^ 7}\,\mathrm 6 t.\end 5}} The
Error Distribution For Origin Not Found
complementary error function, denoted erfc, is defined as erfc ( x ) = 1 − erf ( x ) = 2 π ∫ x ∞ e − t 2 d t = e − x 2 error function calculator erfcx ( x ) , {\displaystyle {\begin 2\operatorname 1 (x)&=1-\operatorname 0 (x)\\&={\frac Φ 9{\sqrt {\pi }}}\int _ Φ 8^{\infty }e^{-t^ Φ 7}\,\mathrm Φ 6 t\\&=e^{-x^ Φ 5}\operatorname Φ 4 (x),\end Φ 3}} which also defines erfcx, the scaled complementary error function[3] (which can be used instead of erfc to avoid arithmetic underflow[3][4]). Another form of erfc ( x ) {\displaystyle \operatorname 2 (x)} for non-negative x {\displaystyle x} is known as Craig's inverse error function formula:[5] erfc ( x | x ≥ 0 ) = 2 π ∫ 0 π / 2 exp ( − x 2 sin 2 θ ) d θ . {\displaystyle \operatorname 0 (x|x\geq 0)={\frac Φ 9{\pi }}\int _ Φ 8^{\pi /2}\exp \left(-{\frac Φ 7}{\sin ^ Φ 6\theta }}\right)d\theta \,.} The imaginary error function, denoted erfi, is defined as erfi ( x ) = − i erf ( i x ) = 2 π ∫ 0 x e t 2 d t = 2 π e x 2 D ( x ) , {\displaystyle {\begin Φ 0\operatorname − 9 (x)&=-i\operatorname − 8 (ix)\\&={\frac − 7{\sqrt {\pi }}}\int _ − 6^ − 5e^ − 4}\,\mathrm − 3 t\\&={\frac − 2{\sqrt {\pi }}}e^ − 1}D(x),\end − 0}} where D(x) is the Dawson function (which can be used instead of erfi to avoid arithmetic overflow[3]). Despite the name "imaginary error function", erfi ( x ) {\displaystyle \operatorname 8 (x)} is real when x is real. When the error function is evaluated for arbitrary complex arguments z, the resulting complex error function is usually discussed in scaled form as the Faddeeva function: w ( z ) = e − z 2 erfc ( − i z ) = erfcx ( − i z ) . {\displaystyle w(z)=e^{-z^ 6}\operatorname 5 (-iz)=\operatorname 4 (-iz)
Random Entry New in MathWorld MathWorld Classroom About MathWorld Contribute to MathWorld Send a Message to the Team MathWorld Book Wolfram Web Resources» 13,594 entries Last updated: Tue Sep 27 2016 Created,
Error Function Table
developed, and nurturedbyEricWeisstein at WolframResearch Calculus and Analysis>Special Functions>Erf> Calculus and error function matlab Analysis>Complex Analysis>Entire Functions> Interactive Entries>webMathematica Examples> More... History and Terminology>Wolfram Language Commands> MathWorld Contributors>D'Orsogna> Less... Erf is the
Error Function Excel
"error function" encountered in integrating the normal distribution (which is a normalized form of the Gaussian function). It is an entire function defined by (1) Note that some authors https://en.wikipedia.org/wiki/Error_function (e.g., Whittaker and Watson 1990, p.341) define without the leading factor of . Erf is implemented in the Wolfram Language as Erf[z]. A two-argument form giving is also implemented as Erf[z0, z1]. Erf satisfies the identities (2) (3) (4) where is erfc, the complementary error function, and is a confluent hypergeometric function of the first kind. For , http://mathworld.wolfram.com/Erf.html (5) where is the incomplete gamma function. Erf can also be defined as a Maclaurin series (6) (7) (OEIS A007680). Similarly, (8) (OEIS A103979 and A103980). For , may be computed from (9) (10) (OEIS A000079 and A001147; Acton 1990). For , (11) (12) Using integration by parts gives (13) (14) (15) (16) so (17) and continuing the procedure gives the asymptotic series (18) (19) (20) (OEIS A001147 and A000079). Erf has the values (21) (22) It is an odd function (23) and satisfies (24) Erf may be expressed in terms of a confluent hypergeometric function of the first kind as (25) (26) Its derivative is (27) where is a Hermite polynomial. The first derivative is (28) and the integral is (29) Min Max Re Im Erf can also be extended to the complex plane, as illustrated above. A simple integral involving erf that Wolfram Language cannot do is given by (30) (M.R.D'Orsogna, pers. comm., May 9, 2004). More complicated integrals include (31) (M.R.D'Orsogna, pers. comm., Dec.15, 2005). Erf has the continue
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more http://math.stackexchange.com/questions/37889/why-is-the-error-function-defined-as-it-is about Stack Overflow the company Business Learn more about hiring developers or posting https://www.mathworks.com/help/matlab/ref/erf.html ads with us Mathematics Questions Tags Users Badges Unanswered Ask Question _ Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer error function The best answers are voted up and rise to the top Why is the error function defined as it is? up vote 35 down vote favorite 6 $\newcommand{\erf}{\operatorname{erf}}$ This may be a very naïve question, but here goes. The error function $\erf$ is defined by $$\erf(x) = \frac{2}{\sqrt{\pi}} \int_0^x e^{-t^2}dt.$$ Of course, it is closely related to the normal cdf $$\Phi(x) = P(N < x) = \frac{1}{\sqrt{2\pi}} \int_{-\infty}^x error distribution function e^{-t^2/2}dt$$ (where $N \sim N(0,1)$ is a standard normal) by the expression $\erf(x) = 2\Phi(x \sqrt{2})-1$. My question is: Why is it natural or useful to define $\erf$ normalized in this way? I may be biased: as a probabilist, I think much more naturally in terms of $\Phi$. However, anytime I want to compute something, I find that my calculator or math library only provides $\erf$, and I have to go check a textbook or Wikipedia to remember where all the $1$s and $2$s go. Being charitable, I have to assume that $\erf$ was invented for some reason other than to cause me annoyance, so I would like to know what it is. If nothing else, it might help me remember the definition. Wikipedia says: The standard normal cdf is used more often in probability and statistics, and the error function is used more often in other branches of mathematics. So perhaps a practitioner of one of these mysterious "other branches of mathematics" would care to enlighten me. The most reasonable expression I've found is that $$P(|N| < x) = \erf(x/\sqrt{2}).$$ This at least gets rid of all but one of the apparently spurious constants, but still has a peculiar $\sqrt
Search All Support Resources Support Documentation MathWorks Search MathWorks.com MathWorks Documentation Support Documentation Toggle navigation Trial Software Product Updates Documentation Home MATLAB Examples Functions Release Notes PDF Documentation Mathematics Elementary Math Special Functions MATLAB Functions erf On this page Syntax Description Examples Find Error Function Find Cumulative Distribution Function of Normal Distribution Calculate Solution of Heat Equation with Initial Condition Input Arguments x More About Error Function Tall Array Support Tips See Also This is machine translation Translated by Mouse over text to see original. Click the button below to return to the English verison of the page. Back to English × Translate This Page Select Language Bulgarian Catalan Chinese Simplified Chinese Traditional Czech Danish Dutch English Estonian Finnish French German Greek Haitian Creole Hindi Hmong Daw Hungarian Indonesian Italian Japanese Korean Latvian Lithuanian Malay Maltese Norwegian Polish Portuguese Romanian Russian Slovak Slovenian Spanish Swedish Thai Turkish Ukrainian Vietnamese Welsh MathWorks Machine Translation The automated translation of this page is provided by a general purpose third party translator tool. MathWorks does not warrant, and disclaims all liability for, the accuracy, suitability, or fitness for purpose of the translation. Translate erfError functioncollapse all in page Syntaxerf(x) exampleDescriptionexampleerf(x
) returns the Error Function evaluated for each element of x.Examplescollapse allFind Error FunctionOpen ScriptFind the error function of a value.erf(0.76) ans = 0.7175 Find the error function of the elements of a vector.V = [-0.5 0 1 0.72]; erf(V) ans = -0.5205 0 0.8427 0.6914 Find the error function of the elements of a matrix.M = [0.29 -0.11; 3.1 -2.9]; erf(M) ans = 0.3183 -0.1236 1.0000 -1.0000 Find Cumulative Distribution Function of Normal DistributionOpen ScriptThe cumulative distribution function (CDF) of the normal, or Gaussian, distribution with standard deviation and mean is Note that for increased computational accuracy, you can rewrite the formula in terms of erfc . For details, see Tips.Plot the CDF of the normal distribution with and .x = -3:0.1:3; y = (