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 10, 2025, 6:15 a.m.