Description Usage Arguments Value
Compute the maximum likelihood estimates of an exponential mixture distribution and number of mixtures.
1 | em_fit(x, prec = 1e-08, prec2 = 1e-04, itermax = 100, rmax = 10)
|
x |
A data vector. |
prec |
Precision used for testing convergence of mle's as measured by squared difference of loglikelihood functions. |
prec2 |
Estimated mixing proportions below |
itermax |
Maximum number of EM algorithm iterations. |
rmax |
Maximum number of mixtures to find. |
A list of mixing proportions p
and associated means mean
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.