Description Usage Arguments Value
Generates lists of parameters for initial candidates used by the modified EM test for mixture of normals.
1 | regmixPhiInit(y, x, z = NULL, parlist, h, tau, ninits = 1)
|
y |
n by 1 vector of data for y |
x |
n by q matrix of data for x |
z |
n by p matrix of regressor associated with gam |
parlist |
The parameter estimates as a list containing alpha, mu, sigma, and gam in the form of (alpha = (alpha_1, ..., alpha_m), mu = (mu_1, ..., mu_m), sigma = (sigma_1, ..., sigma_m), gam = (gam_1, ..., gam_m)) |
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 |
mubeta |
q+1 by m+1 by ninits array for mu and beta |
sigma |
m+1 by ninits matrix for sigma |
gam |
m+1 by ninits matrix for gam |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.