FUNCTION
CDF
Evaluates the standard normal cumulative density function.
You're viewing an older version of this page (#208). View the current version.
Interface
#include <codecogs/statistics/distributions/continuous/stdnormal/cdf.h>
using namespace Statistics::Distributions::Continuous::Stdnormal;
This function evaluates the standard normal cumulative density function, which is the area under the Gaussian probability density function, integrated over the range :
(1)
where and erf is the error function computing using errorFn.
This function has the following form:

Example 1
#include <iostream>
#include <codecogs/stats/dists/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.617911Parameters
x
The upper limit on the integral
References
http://mathworld.wolfram.com/StandardNormalDistribution.html
Interactive Calculator
x
Result
Computing…
Set a range above first to export a graph.
This function's source code is only visible to registered users — documentation and the calculator above are free to use either way. Sign in to see it.