Description Usage Arguments Details Value
View source: R/single_HMM_EM.R
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.
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 |
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 log-likelihood
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.