I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
get GPL
COST (GBP)
this unit 0.10
sub units 0.80
+
0

CDF

viewed 1941 times and licensed 63 times
Evaluates the standard normal cumulative density function.
Controller: CodeCogs

Dependents

Info

Interface

C++

CDF

 
doubleCDFdoublex )[inline]
This function evaluates the standard normal cumulative density function, which is the area under the Gaussian probability density function, integrated over the range \inline [-\infty, x]: where \inline z=x/\sqrt 2 and erf is the error function computed using errorFn.

This function has the following form:
There is an error with your graph parameters for CDF with options x=-4:4

Error Message:Function CDF failed. Ensure that: Invalid C++

Example 1

#include <iostream>
#include <codecogs/statistics/distributions/continuous/stdnormal/cdf.h>
using namespace std;
int main()
{
  cout << "standard normal CDF (0.3) = ";
  cout << Stats::Dists::Continuous::StdNormal::CDF(0.3) << endl;
  return 0;
}
Output:
standard normal CDF (0.3) = 0.617911

References

http://mathworld.wolfram.com/StandardNormalDistribution.html

Parameters

xThe upper limit on the integral

Authors

Lucian Bentea (September 2005)
Source Code

Source code is available when you agree to a GP Licence or buy a Commercial Licence.

Not a member, then Register with CodeCogs. Already a Member, then Login.