Difference between revisions of "CumNormal"

(added integral equation and graph)
(Minor formatting convention adjustments)
Line 6: Line 6:
 
Returns the cumulative probability  
 
Returns the cumulative probability  
 
:<math>p = Pr[x \le X] = {1\over{\sigma \sqrt{2\pi}}} \int_{-\infty}^x exp\left(- {1\over 2} {{(X-\mu)^2}\over\sigma^2}\right)</math>
 
:<math>p = Pr[x \le X] = {1\over{\sigma \sqrt{2\pi}}} \int_{-\infty}^x exp\left(- {1\over 2} {{(X-\mu)^2}\over\sigma^2}\right)</math>
for a [[Normal|normal distribution]] with a given mean and standard deviation.  Mean and stddev are optional and default to ''Mean = 0'', ''stddev = 1''.
+
for a [[Normal|normal distribution]] with a given mean and standard deviation.  «Mean» and «stddev» are optional and default to ''Mean = 0'', ''stddev = 1''.
 
:<code>CumNormal(1) - CumNormal( -1 )</code> → .683
 
:<code>CumNormal(1) - CumNormal( -1 )</code> → .683
 
i.e., 68.3% of the area under a normal distribution is contained
 
i.e., 68.3% of the area under a normal distribution is contained
Line 12: Line 12:
  
 
[[image:CumNormalGraph.png]]
 
[[image:CumNormalGraph.png]]
 
= Library =
 
 
Advanced math
 
  
 
= See Also =
 
= See Also =

Revision as of 16:42, 21 August 2015


CumNormal(X,mean,stddev)

Returns the cumulative probability

[math]\displaystyle{ p = Pr[x \le X] = {1\over{\sigma \sqrt{2\pi}}} \int_{-\infty}^x exp\left(- {1\over 2} {{(X-\mu)^2}\over\sigma^2}\right) }[/math]

for a normal distribution with a given mean and standard deviation. «Mean» and «stddev» are optional and default to Mean = 0, stddev = 1.

CumNormal(1) - CumNormal( -1 ) → .683

i.e., 68.3% of the area under a normal distribution is contained within one standard deviation of the mean.

CumNormalGraph.png

See Also

  • CumNormalInv -- the inverse cumulative density
  • Normal -- The normal distribution
  • Erf -- The closely related error function
  • Sigmoid(x) -- Another sigmoidal-shaped function
Comments


You are not allowed to post comments.