Description Usage Arguments Details Value Examples
Outputs predicted values of Hidden Markov Model in the form of a list where the first element is a vector of state predictions and second element is a vector of emission predictions (expected value corresponding predicted state).
1 2 |
x |
Object of type |
method |
Method for state prediction. One of either 'local' (default, resulting in local decoding), 'viterbi' or 'global' (both resulting in global decoding using Viterbi's algorithm). |
... |
Other arguments. |
If the distribution family is one of the included standard families (Poisson, normal, binomial or exponential), the expected value will be the plug-in estimate using the fitted parameters of each state. Otherwise, the empirical mean will be used as the expected value.
List of predicted states and emission values.
1 2 3 | # Continuation of Earthquake example
fitted.values(hmm.EQ)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.