Description Usage Arguments Details Value
View source: R/single_HMM_EM.R
Estimation of the transition probabilites, the initial state probabilites and the hidden state parameters of a Hidden Markov Model by using the Baum-Welch Algorithm.
1 2 |
x |
a sample of a Hidden Markov Model |
m |
the number of states |
L1 |
likelihood of the first hidden state |
L2 |
likelihood of the second hidden state |
L3 |
optional. likelihood of the third hidden state |
L4 |
optional. likelihood of the 4th hidden state |
L5 |
optional. likelihood of the 5th hidden state |
iterations |
optional. number of iterations for the EM-Algorithm |
DELTA |
optional. stop criterion for the EM-Algorithm |
This function estimates the hidden states of the Hidden Markov Model with the help of the Baum Welch algorithm. The function iteratively applies both estimation and maximisation steps to arrive at the predicted parameters. When the maximal difference between present and prior parameter is abitrarily small (defined with DELTA) the iteration stops.
The estimated parameters are rounded by 3 decimals and returned in a list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.