logncdf
Lognormal cumulative distribution function
Syntax
Description
Examples
Input Arguments
Output Arguments
More About
Algorithms
- The - logncdffunction uses the complementary error function- erfc. The relationship between- logncdfand- erfcis- The complementary error function - erfc(x)is defined as
- The - logncdffunction computes confidence bounds for- pby using the delta method. The normal distribution cdf value of- log(x)with the parameters- muand- sigmais equivalent to the cdf value of- (log(x)–mu)/sigmawith the parameters 0 and 1. Therefore, the- logncdffunction estimates the variance of- (log(x)–mu)/sigmausing the covariance matrix of- muand- sigmaby the delta method, and finds the confidence bounds of- (log(x)–mu)/sigmausing the estimates of this variance. Then, the function transforms the bounds to the scale of- p. The computed bounds give approximately the desired confidence level when you estimate- mu,- sigma, and- pCovfrom large samples.
Alternative Functionality
- logncdfis a function specific to lognormal distribution. Statistics and Machine Learning Toolbox™ also offers the generic function- cdf, which supports various probability distributions. To use- cdf, create a- LognormalDistributionprobability distribution object and pass the object as an input argument or specify the probability distribution name and its parameters. Note that the distribution-specific function- logncdfis faster than the generic function- cdf.
- 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
