Description Usage Arguments Value Examples
Fit a mixture of uniform and Beta distribution
1 2 | UBMM(x, w = as.numeric(c()), a = as.numeric(c()), precision = 1e-08,
MaxIter = 10000L)
|
x |
A vector of numeric values |
w |
A vector of two numeric values, representing the weights of the uniform and Beta distributions. Default values are 0.5, respectively. |
a |
Initial values of the alpha and beta for the Beta distribution. Defaults are obtained from MOM estimators. |
precision |
The tolerance for convergence. Default value is 1e-8. |
MaxIter |
The maximum iteration for the EM algorithm. Default value is 10000L. |
A list of three components, including the converged weight, parameters for Beta distribution, and the convergence iteration, respectively.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.