Description Usage Arguments Details Value
This function calculates part of the global log-likelihood that is only dependent on the Theta value. Due to its proportionality, it is therefore optimal for the maximisation of the Theta values and will be used by the EM-algorithm. For the multi_HMM_EM(), small changes where made to calculate the index of the Theta alues right.
1 2 |
m |
number of likelihoods |
N |
length of the supplied dataset |
u |
output matrix of the u_function |
x |
a sample of a Hidden Markov Model |
theta |
Theta vector |
L1 |
likelihood of the first hidden state |
L2 |
likelihood of the second hidden state |
L3 |
optional. likelihoods of the third hidden state |
L4 |
optional. likelihoods of the 4th hidden state |
L5 |
optional. likelihoods of the 5th hidden state |
start_index |
index paramter to assign the right amount of thetas to the likelihoods |
For more detailed explanation we recommend the source Hidden Markov Models for Times Series by Walter Zucchini, Iain MacDonald & Roland Langrock, especially page 72.
returns the corresponding likelihood
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.