initMix: Initial Parameters

View source: R/MVNSeq.r

initMixR Documentation

Initial Parameters

Description

Initial parameter estimates for HMM and mixture models.

Usage

initMix(y, cl, K = max(cl))

initHMM(y, cl, K = max(cl))

Arguments

y

the sequence of observations

cl

an integer vector allocating observations to classes

K

the number of classes

Details

Given a sequence of observations and a vector of initial class allocations, estimate the parameters for a mixture or hidden Markov model.

Value

parsMixClass returns a list with elements


SWotherspoon/MVNSeq documentation built on June 1, 2022, 10:49 p.m.