ExpectationM_MSARXmdl | R Documentation |
This function computes the log-likelihood for a markov-switching autoregressive model and uses the Hamilton smoother to obtain smoothed probabilities of each state. This is also the expectation step in the Expectation Maximization algorithm for a Markov-switching ARX model.
ExpectationM_MSARXmdl(theta, mdl, k)
theta |
Vector of model parameters. |
mdl |
List with model attributes. |
k |
Integer determining the number of regimes. |
List which includes log-likelihood and smoothed probabilities of each regime.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.