Description Usage Arguments Value See Also Examples
Fits the transition probabilities of the model by maximum likelihood. The transition probabilities are fitted by ML, subject to the linear constraints specified in the model. The argument retrain can be used to avoid local minima. It is possible to specify additional non linear constraints, passing the suitable arguments to the optimizer.
1 |
x |
A HMM model. |
e |
A vector with the observed events. It admits missing values. |
init |
Logical specifying whether the initial state found in x is going to be used. Defaults to FALSE, which means that steady state initialization will be used instead. |
method |
The optimization algorithm to be used.
Defaults to |
retrain |
The times the optimizer will be launched with different initial parameters. The model with higher likelihood will be returned. |
... |
Arguments to be passed to the optimizer. |
The fitted model.
logLik, initparams, minparams
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.