NormalDistribution.InverseCdf Method

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0

Overload List

InverseCdf(Double, Double, Double)

Returns the inverse of the DistributionFunction(Double).
C#
public static double InverseCdf(
	double probability,
	double mean,
	double standardDeviation
)

Parameters

probability  Double
A real number between 0 and 1.
mean  Double
The mean of the distribution.
standardDeviation  Double
The standard deviation of the distribution.

Return Value

Double
The sample value at the specified percentile. For a bounded distribution, the method retuns the lower bound if probability is zero, and the upper bound if probability is equal to 1.

Remarks

This method returns the value x for which the probability of obtaining a sample less than or equal to x is equal to probability.

The InverseDistributionFunction(Double) function is the inverse of the Cumulative Distribution Function.

Exceptions

ArgumentOutOfRangeException

probability is less than zero or greater than 1.

ArgumentOutOfRangeException

standardDeviation is less than or equal to zero.

See Also