Options
All
  • Public
  • Public/Protected
  • All
Menu

Inverse cumulative normal distribution function

Given x between zero and one as the integral value of a gaussian normal distribution this class provides the value y such that formula here ...

It use Acklam's approximation: by Peter J. Acklam, University of Oslo, Statistics Division. URL: http://home.online.no/~pjacklam/notes/invnorm/index.html

This class can also be used to generate a gaussian normal distribution from a uniform distribution. This is especially useful when a gaussian normal distribution is generated from a low discrepancy uniform distribution: in this case the traditional Box-Muller approach and its variants would not preserve the sequence's low-discrepancy.

Hierarchy

  • InverseCumulativeNormal

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • Default value average: Real = 0
    • Default value sigma: Real = 1

    Returns InverseCumulativeNormal

Properties

Private _average

_average: Real

Private _sigma

_sigma: Real

Static _f

_f: CumulativeNormalDistribution = new CumulativeNormalDistribution()

Methods

f

  • Parameters

    Returns Real

Static standard_value

  • value for average=0, sigma=1 Compared to operator(), this method avoids 2 floating point operations (we use average=0 and sigma=1 most of the time). The speed difference is noticeable.

    Parameters

    Returns Real

Static tail_value

  • Parameters

    Returns Real