Difference between revisions of "Documentation/How Tos/Calc: NORMSDIST function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(→See also:) |
(→Issues:) |
||
Line 32: | Line 32: | ||
=== Issues: === | === Issues: === | ||
* The forthcoming international standard ODFF regards this as a legacy function, preferring <tt>'''NORMDIST'''</tt>. | * The forthcoming international standard ODFF regards this as a legacy function, preferring <tt>'''NORMDIST'''</tt>. | ||
+ | * The accuracy is insufficient for x<−2. The error will hopefully be fixed in OOo3.2. You should use the equation | ||
+ | :<tt>NORMSDIST(x) = 0.5 * ERFC(-x/SQRT(2))</tt> for x<−2. | ||
+ | :The function ERFC belongs to the category ''Add-in''. |
Revision as of 20:00, 10 December 2008
NORMSDIST
Calculates values for the cumulative distribution function of a normal distribution.
Syntax:
NORMSDIST(x)
- The standard normal distribution is a normal distribution with mean μ = 0 and standard deviation σ = 1.
- NORMSDIST calculates the cumulative distribution function of the standard normal distribution.
- It is equivalent to NORMDIST(x; 0; 1; 1).
Example:
NORMSDIST(0)
- returns 0.5. The standard normal distribution curve is centred on 0, hence half of the curve is below 0.
NORMDIST(0; 0; 1; 1)
- also returns 0.5.
See also:
NORMDIST, NORMSINV, NORMINV, PHI
Functions listed alphabetically, Functions listed by category
Issues:
- The forthcoming international standard ODFF regards this as a legacy function, preferring NORMDIST.
- The accuracy is insufficient for x<−2. The error will hopefully be fixed in OOo3.2. You should use the equation
- NORMSDIST(x) = 0.5 * ERFC(-x/SQRT(2)) for x<−2.
- The function ERFC belongs to the category Add-in.