Description Usage Arguments Value
Generates lists of parameters for initial candidates used by the modified EM test for mixture of normals.
| 1 | normalmixPhiInit(y, parlist, z = NULL, h, tau, ninits = 1)
 | 
| y | n by 1 vector of data | 
| parlist | The parameter estimates as a list containing alpha, mu, sigma, and gamma in the form of (alpha = (alpha_1, ..., alpha_m), mu = (mu_1, ..., mu_m), sigma = (sigma_1, ..., sigma_m), gam = (gamma_1, ..., gamma_m)) | 
| z | n by p matrix of regressor associated with gamma | 
| h | h used as index for pivoting | 
| tau | Tau used to split the h-th component | 
| ninits | number of initial values to be generated | 
A list with the following items:
| alpha | m+1 by ninits matrix for alpha | 
| mu | m+1 by ninits matrix for mu | 
| sigma | m+1 by ninits matrix for sigma | 
| gam | m+1 by ninits matrix for gamma | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.