View source: R/hmm_functions.R
hmmspec | R Documentation |
Creates a model specficiation for a hidden Markov model
hmmspec(init, trans, parms.emission, dens.emission, rand.emission=NULL,mstep=NULL)
init |
Distribution of states at t=1 ie. P(S=s) at t=1 |
trans |
The transition matrix of the Markov chain |
parms.emission |
A list containing the parameters of the emission distribution |
dens.emission |
Density function of the emission distribution. |
rand.emission |
The function used to generate observations from the emission distribution |
mstep |
Re-estimates the parameters of density function on each iteration |
A hmmspec object
Jared O'Connell jaredoconnell@gmail.com
Jared O'Connell, Soren Hojsgaard (2011). Hidden Semi Markov Models for Multiple Observation Sequences: The mhsmm Package for R., Journal of Statistical Software, 39(4), 1-22., URL http://www.jstatsoft.org/v39/i04/.
Rabiner, L. (1989), A tutorial on hidden Markov models and selected applications in speech recognition, Proceedings of the IEEE, 77, 257-286.
simulate.hmmspec
, simulate.hmmspec
, hmmfit
, predict.hmm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.