logninv
Lognormal inverse cumulative distribution function
Syntax
Description
Examples
Input Arguments
Output Arguments
More About
Algorithms
The function
logninv
uses the inverse complementary error functionerfcinv
. The relationship betweenlogninv
anderfcinv
isThe inverse complementary error function
erfcinv(x)
is defined aserfcinv(erfc(x))=x
, and the complementary error functionerfc(x)
is defined asThe
logninv
function computes confidence bounds forx
by using the delta method.log(logninv(p,mu,sigma))
is equivalent tomu + sigma*log(logninv(p,0,1))
. Therefore, thelogninv
function estimates the variance ofmu + sigma*log(logninv(p,0,1))
using the covariance matrix ofmu
andsigma
by the delta method, and finds the confidence bounds using the estimates of this variance. The computed bounds give approximately the desired confidence level when you estimatemu
,sigma
, andpCov
from large samples.
Alternative Functionality
logninv
is a function specific to lognormal distribution. Statistics and Machine Learning Toolbox™ also offers the generic functionicdf
, which supports various probability distributions. To useicdf
, create aLognormalDistribution
probability distribution object and pass the object as an input argument or specify the probability distribution name and its parameters. Note that the distribution-specific functionlogninv
is faster than the generic functionicdf
.
References
[1] Abramowitz, M., and I. A. Stegun. Handbook of Mathematical Functions. New York: Dover, 1964.
[2] Evans, M., N. Hastings, and B. Peacock. Statistical Distributions. Hoboken, NJ: Wiley-Interscience, 2000. pp. 102–105.
Extended Capabilities
Version History
Introduced before R2006a