View source: R/RHmm-HyperNew.R
computeScoreAndInformation | R Documentation |
This function calculates the score and the information matrix of the independent parameters of the HMM, using Lystig and Hugues's algorithm.
computeScoreAndInformation(HMM, obs)
HMM |
A HMMClass or a HMMFitClass object |
obs |
The vector, matrix, data frame, list of vectors or list of matrices of observations |
score |
the score vector of the independent parameters |
information |
the information matrix of the independent parameters |
Lystig Theodore C. and Hugues James P. (2002) Exact Computation of the Observed Information Matrix for Hidden Markov Models, Journal of Computational and Graphical Statistics, Vol. 11, No 3, 678-689.
HMMFit
data(n1d_3s)
Res_n1d_3s<-HMMFit(obs_n1d_3s, nStates=3)
ScoreAndInfor <- computeScoreAndInformation(Res_n1d_3s, obs_n1d_3s)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.