regmixPMLEinit: regmixPMLEinit

Description Usage Arguments Value

Description

Generate initial values used by the PMLE of mixture of normals

Usage

1
regmixPMLEinit(y, x, z = NULL, ninits = 1, m = 2)

Arguments

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

ninits

number of initial values to be generated

m

The number of components in the mixture

Value

A list with the following items:

alpha

m by ninits matrix for alpha

mubeta

q+1 by m by ninits array for mu and beta

sigma

m by ninits matrix for sigma

gam

m by ninits matrix for gam


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