CDF
viewed 2779 times and licensed 119 times
Evaluates the normal cumulative density function.
Controller:
CodeCogs
Dependents
this module uses 2 subunits
errorFn Poly_Eval
Interface
#include <codecogs/statistics/distributions/continuous/normal/cdf.h >
using namespace Stats::Dists::Continuous::Normal ;
double CDF (double x, double m, double s)[inline] Evaluates the normal cumulative density function.
Use the following HTML code to embed the calculators within other websites:
CDF This function evaluates the normal cumulative density function. This is also the integral of the Gaussian probability density function (PDF), integrated from minus infinity to x:
Graph is not currently available
Example 1 #include <iostream>
#include <codecogs/stats/dists/continuous/normal/cdf.h >
using namespace std;
int main( )
{
cout << "normal CDF (0.1, 7, 2.4) = " ;
cout << Stats::Dists ::Continuous ::Normal ::CDF ( 0.1 , 7 , 2.4 ) << endl;
return 0 ;
}
Output:
normal CDF ( 0.1 , 7 , 2.4 ) = 0.00202014 Parameters x the argument of the cdf m the mean of the distribution s the standard deviation of the distribution
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 .
You must login to leave a messge