Click or drag to resize

DUDistributionInverseCdf Method

Inverse cumulative distribution function. Is userful for quatile generation. Function will return random variable value such that probability that distribution sample will get value less than or equal to returned value is equal to specified probability. Note. Handle special cases pvalue = 0 and pvalue = 1 separately if results Int32.MinValue and Int32.MaxValue respectively are not expected ones.

Namespace:  FinMath.Statistics.Distributions
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public virtual int InverseCdf(
	double pvalue
)

Parameters

pvalue
Type: SystemDouble
Probability value in [0..1].

Return Value

Type: Int32
Value of random variable.
See Also