Description Usage Arguments Value Examples
validMeans
performs simulations and inference on means of HMM.
1 2 | validMeans(nrep = 50, trans = matrix(c(0, 3, 7, 5, 2, 3, 5, 5, 0), 3,
3, byrow = TRUE)/10, M1 = 3)
|
nrep |
the size of sample generated |
trans |
a matrix of transition probability |
M1 |
the number of hidden states |
A violin plot of estimated means
1 2 | set.seed(1221)
validMeans()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.