Description Usage Arguments Value References
View source: R/forwardbackward.R
This function allows you to perform the forward-backward algorithm for a Hidden Markov Model
1 | forwardbackward(nStates, nu, A, B, bT)
|
nStates |
an integer representing the number of state of the Hidden Markov Model. |
nu |
a vector of the initial probabilities. |
A |
the transition matrix. |
B |
a matrix containing the values of the emission probabilities |
bT |
the vector of the beginning times for the statistical units |
The function returns a numeric value indicating the distance between the two curves.
Rabiner, L. R. (1989). A tutorial on hidden Markov models and selected applications in speech recognition. Proceedings of the IEEE, 77(2), 257-286.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.