求助高手来!!!看下我程序的问题!!!!!!!!!
data=(1:99)/100;=lognfit(data)
运行结果:
mu =
-0.9776 0.9276
sigma =
-1.1626 0.8139
-0.7925 1.0784
为什么MU有两个值啊 SIGMA有4个值啊
应该mu,sigma各只有一个值的啊!!!!!!!!!!!!!!!!!!!!!!!!
from matlab help
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.
= 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.
页:
[1]