logLik.mhmm | R Documentation |
Function logLik.mhmm
computes the log-likelihood value of a mixture hidden Markov model.
## S3 method for class 'mhmm'
logLik(object, partials = FALSE, threads = 1, log_space = FALSE, ...)
object |
A mixture hidden Markov model of class |
partials |
Return a vector containing the individual contributions of each sequence to the total log-likelihood.
The default is |
threads |
Number of threads to use in parallel computing. The default is 1. |
log_space |
Make computations using log-space instead of scaling for greater
numerical stability at the cost of decreased computational performance.
The default is |
... |
Ignored. |
Log-likelihood of the mixture hidden Markov model. This is an object of class
logLik
with attributes nobs
and df
inherited from the model object.
build_mhmm
and fit_model
for building and
fitting mixture Hidden Markov models.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.