Description Usage Arguments Value
View source: R/move.HMM.mllk.R
This function, modified from Langrock et al. (2012), computes the negative log likelihood of the hidden Markov model.
1 2 | move.HMM.mllk(parvect, obs, PDFs, skeleton,
inv.transforms, nstates, useRcpp = FALSE)
|
parvect |
The vector of parameters to be estimated |
obs |
A n x ndist matrix of data. If ndist=1, obs must be a n x 1 matrix. |
PDFs |
A list of PDFs for the ndist distributions. |
skeleton |
A list with the original parameter structure used to reassemble parvect |
inv.transforms |
A list of inverse transformations used to transform parvect back to the original scale |
nstates |
Number of hidden states |
useRcpp |
Logical indicating whether or not to use Rcpp. |
The negative log likelihood of the hidden markov model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.