Description Usage Arguments Value
Compute ordinary & penalized log-likelihood ratio resulting from MEM algorithm at k=1,2,3.
1 2 3 | mvnmixMaxPhi(y, parlist, an, tauset = c(0.1, 0.3, 0.5), ninits = 10,
epsilon.short = 0.01, epsilon = 1e-08, maxit.short = 500,
maxit = 2000, verb = FALSE, parallel = 0.75, cl = NULL)
|
y |
n by d matrix of data |
parlist |
The parameter estimates as a list containing alpha, mu, and sigma in the form of (alpha = (alpha_1,...,alpha_m), mu = (mu_1',...,mu_m'), sigma = (vech(sigma_1)',...,vech(sigma_m)') |
an |
a term used for penalty function |
tauset |
A set of initial tau value candidates |
ninits |
The number of randomly drawn initial values. |
epsilon.short |
The convergence criterion in short EM. Convergence is declared when the penalized log-likelihood increases by less than |
epsilon |
The convergence criterion. Convergence is declared when the penalized log-likelihood increases by less than |
maxit.short |
The maximum number of iterations in short EM. |
maxit |
The maximum number of iterations. |
verb |
Determines whether to print a message if an error occurs. |
parallel |
Determines what percentage of available cores are used, represented by a double in [0,1]. 0.75 is default. |
cl |
Cluster used for parallelization; if it is |
A list with items:
loglik |
Log-likelihood resulting from MEM algorithm at k=1,2,3. |
penloglik |
Penalized log-likelihood resulting from MEM algorithm at k=1,2,3. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.