logncdf
Lognormal cumulative distribution function
Syntax
Description
Examples
Input Arguments
Output Arguments
More About
Algorithms
The
logncdf
function uses the complementary error functionerfc
. The relationship betweenlogncdf
anderfc
isThe complementary error function
erfc(x)
is defined asThe
logncdf
function computes confidence bounds forp
by using the delta method. The normal distribution cdf value oflog(x)
with the parametersmu
andsigma
is equivalent to the cdf value of(log(x)–mu)/sigma
with the parameters 0 and 1. Therefore, thelogncdf
function estimates the variance of(log(x)–mu)/sigma
using the covariance matrix ofmu
andsigma
by the delta method, and finds the confidence bounds of(log(x)–mu)/sigma
using the estimates of this variance. Then, the function transforms the bounds to the scale ofp
. The computed bounds give approximately the desired confidence level when you estimatemu
,sigma
, andpCov
from large samples.
Alternative Functionality
logncdf
is a function specific to lognormal distribution. Statistics and Machine Learning Toolbox™ also offers the generic functioncdf
, which supports various probability distributions. To usecdf
, 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 functionlogncdf
is faster than the generic functioncdf
.Use the Probability Distribution Function app to create an interactive plot of the cumulative distribution function (cdf) or probability density function (pdf) for a probability distribution.
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. 2nd ed., Hoboken, NJ: John Wiley & Sons, Inc., 1993.
Extended Capabilities
Version History
Introduced before R2006a