Statistics Toolbox    
lognstat

Mean and variance for the lognormal distribution

Syntax

Description

[M,V] = lognstat(MU,SIGMA) returns the mean and variance of the lognormal distribution with parameters MU and SIGMA. Vector or matrix inputs for MU and SIGMA must have the same size, which is also the size of M and V. A scalar input for MU or SIGMA is expanded to a constant matrix with the same dimensions as the other input.

The mean of the lognormal distribution with parameters µ and is

and the variance is

Example

Reference

[1]  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


  lognrnd lsline