parmhat = lognfit(data) returns a vector of maximum likelihood estimates parmhat(1) = mu and parmhat(2) = sigma of parameters for a lognormal distribution fitting data. mu and sigma are the mean and standard deviation, respectively, of the associated normal distribution.
[parmhat,parmci] = lognfit(data) returns 95% confidence intervals for the parameter estimates mu and sigma in the 2-by-2 matrix parmci. The first column of the matrix contains the lower and upper confidence bounds for parameter mu, and the second column contains the confidence bounds for parameter sigma.