normalmixPhiInit: normalmixPhiInit

Description Usage Arguments Value

Description

Generates lists of parameters for initial candidates used by the modified EM test for mixture of normals.

Usage

1
normalmixPhiInit(y, parlist, z = NULL, h, tau, ninits = 1)

Arguments

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

Value

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


hkasahar/normalregMix documentation built on May 17, 2019, 4 p.m.