fit.lognormal | R Documentation |
To fit log-normal distributions to raw data.
fit.lognormal(x, k=1,normal=FALSE)
x |
Raw data or grouped data |
k |
number of components, Default: 1 |
normal |
Fit normal mixture models if 'normal=TRUE'; otherwise fit log-normal mixture models. |
p0 |
The estimated proportion of zeros. |
p , mean , sigma |
The fitted parameters of mixing coefficients, means and standard deviations of the k normal components. |
n |
The sample size of data. |
npar |
Number of parameters to be estimated. |
llk |
Estimated log-likelihood. |
mu = -.5
s = 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.