wire.init.reg: Get the initial values

Description Usage Arguments Details Value See Also

Description

The routinnes to fit mixture models to the data and to obtain initial partition or initial values.

Usage

1
wire.init.reg(dat, X, qe, n, m, g, cluster)

Arguments

dat

The dataset, an n by m numeric matrix, where n is number of observations and m the dimension of data.

X

The design matrix.

qe

The number of columns of design matrix W.

n

The number of observations.

m

The number of variables.

g

The number of components in the mixture model.

cluster

A vector of integers specifying the initial partitions of the data.

Details

These functions are called internally.

Value

A list containing

pro

A vector of mixing proportions pi

beta

A numeric matrix with each column corresponding to the mean.

sigma.e

The covaraince of error

cluster

A vector of final partition

loglik

The loglikelihood at convergence

lk

A vector of loglikelihood at each EM iteration

See Also

emmixwire


andrewthomasjones/EMMIXcontrasts documentation built on June 26, 2019, 5:46 a.m.