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 1.00
sub units 0.80
+
0

CDF

viewed 2939 times and licensed 140 times
Evaluates the normal cumulative density function.
Controller: CodeCogs

Dependents

Info

Interface

C++

CDF

 
doubleCDFdoublex
doublem
doubles )[inline]
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:
There is an error with your graph parameters for CDF with options x=-2:2 m=0 s=1

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

Example 1

#include <iostream>
#include <codecogs/statistics/distributions/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

xthe argument of the cdf
mthe mean of the distribution
sthe 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.