Probabilities.LogNormalCDFInv Method

Overload List

#SignatureDescription
1procedure LogNormalCDFInv(const P: TDenseMtxVec; Mu: Double; sigma: Double; const Res: TDenseMtxVec);Log-Normql distribution PPF (vectorized).
2function LogNormalCDFInv(p: Double; Mu: Double; sigma: Double): Double;Log-normal distribution inverse CDF (quantile / PPF).

Overload 1: procedure LogNormalCDFInv(const P: TDenseMtxVec; Mu: Double; sigma: Double; const Res: TDenseMtxVec);

Log-Normql distribution PPF (vectorized).

#NameDescription
1PDefines distribution probabilities, real vector or matrix with values within closed interval [0,1].
2MuDistribution location parameter, real value.
3sigmaDistribution scale parameter, real positive value.
4ResAfter calculation stores the PPF calculated from P, Mu and sigma. Length and Complex properties of Res are adjusted automatically to match Length and Complex properties of P.

Result: stored in self (calling object)

Overload 2: function LogNormalCDFInv(p: Double; Mu: Double; sigma: Double): Double;

Log-normal distribution inverse CDF (quantile / PPF).

#NameDescription
1pProbability, real value on the closed interval [0,1].
2MuLocation parameter: mean of ln(x), any real value.
3sigmaScale parameter: standard deviation of ln(x), real value > 0.

Returns: Double - the value x with LogNormalCDF(x,Mu,sigma)=p. Returns NAN when p < 0, p > 1 or sigma <= 0.

Remarks:

Computes the inverse of the log-normal CDF

inverse CDF(p| mu,sigma) = exp(mu + sqrt(2) sigma erf^(-1)(2p-1)) , p(x)=CDF(x| mu,sigma)

Domain: p in [0,1], sigma > 0. If p not in [0,1] or sigma <= 0 the result is NAN.

See Also: Probabilities.LogNormalPDF, Probabilities.LogNormalCDF