| Statistics Toolbox | Search  Help Desk |
| lognstat | Examples See Also |
Mean and variance for the lognormal distribution.
Syntax
[M,V] = lognstat(MU,SIGMA)
Description
[M,V] = lognstat(MU,SIGMA) returns the mean and variance of the lognormal distribution with parameters MU and SIGMA. The size of M and V is the common size of MU and SIGMA if both are matrices. If either parameter is a scalar, the size of M and V is the size of the other parameter.
For the lognormal distribution, the mean is:
The variance is:
Example
[m,v]= lognstat(0,1)
m =
1.6487
v =
7.0212
Reference
Mood, A. M., F.A. Graybill, and D.C. Boes, Introduction to the Theory of Statistics, Third Edition, McGraw Hill 1974 p. 540-541.See Also
logncdf, logninv, lognrnd, lognrnd