hsmmspec {mhsmm} | R Documentation |
Creates a model specification of a hidden semi-Markov model.
hsmmspec(init, transition, emission, sojourn, r = rnorm.hsmm)
init |
Distribution of states at t=1 ie. P(S=s) at t=1 |
transition |
The transition matrix of the embedded Markov chain (diagonal must be 0) |
emission |
A list containing the parameters of the emission distribution |
sojourn |
A list containining the parameters and type of sojourn distribtuion (see Details) |
r |
The function used to generate observations from the emission distribution |
This provides a
An object of class hsmmspec
Jared O'Connell
Guedon, Y. (2003), Estimating hidden semi-Markov chains from discrete sequences, Journal of Computational and Graphical Statistics, Volume 12, Number 3, page 604-639 - 2003
hsmm, simulate.hsmmspec, predict.hsmm