Probabilities::LogNormalCDFInv Function

Overload List

#SignatureDescription
1double LogNormalCDFInv(double p, double Mu, double sigma);Log-normal distribution inverse CDF (quantile / PPF).
2void LogNormalCDFInv(TDenseMtxVec *P, double Mu, double sigma, TDenseMtxVec *Res);Log-Normql distribution PPF (vectorized).

Overload 1: double LogNormalCDFInv(double p, double Mu, double sigma);

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

#NameTypeDescription
1pdoubleProbability, real value on the closed interval [0,1].
2MudoubleLocation parameter: mean of ln(x), any real value.
3sigmadoubleScale parameter: standard deviation of ln(x), real value > 0.

Returns: 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
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler

Overload 2: void LogNormalCDFInv(TDenseMtxVec *P, double Mu, double sigma, TDenseMtxVec *Res);

Log-Normql distribution PPF (vectorized).

#NameTypeDescription
1PTDenseMtxVec *Defines distribution probabilities, real vector or matrix with values within closed interval [0,1].
2MudoubleDistribution location parameter, real value.
3sigmadoubleDistribution scale parameter, real positive value.
4ResTDenseMtxVec *After 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.
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler