View source: R/ULUstateSample.r
ULUstateSample | R Documentation |
Sample hidden states from hidden Markov multilinear model
ULUstateSample(m, s, ZMUt, s2, P, SOS.random)
m |
The number of break |
s |
Latent state vector |
ZMUt |
Z - MU |
s2 |
error variance |
P |
Transition matrix |
SOS.random |
single observation state random perturbation |
A list of a state vector, state probabilities, and SOS.random.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.