Evaluates the inverse of the standard normal cumulative density function.

You're viewing an older version of this page (#417). View the current version.

View versions (2)

Interface

#include <codecogs/statistics/distributions/continuous/stdnormal/cdf_inv.h>

using namespace Statistics::Distributions::Continuous::Stdnormal;

This function evaluates the inverse of the standard normal cumulative density function.

References

Jeremy Lea&#039;s implementation found at: http://home.online.no/~pjacklam/notes/invnorm/impl/lea/lea.c

\graph p=0.01:0.99

Example 1

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

Output:

standard normal CDF inverse (0.6179114) = 0.3
GPL Licence — free for non commercial use. See Licence details.

Interactive Calculator

p
Result