Page 1 of 1

MSSETUP (General Markov Switching Setup)

Posted: Mon May 07, 2012 12:31 pm
by TomDoan
This is a replacement for the procedures in MARKOV.SRC for generic Markov Chain/Markov Switching model support functions. It now permits the transitions to be either an N-1 x N matrix with the free values only for estimation by MAXIMIZE, or a full N x N matrix, which is easier to use for EM or Gibbs sampling. It also includes handling of augmented sets of regimes due to dependence upon lags that was previously only available for MS-VAR's, but is needed for other types of models as well.
mssetup.src
General Markov Switching support - requires RATS 8.0 or later
(23.5 KiB) Downloaded 1572 times
@MSSetup(states=# of states,lags=# of lags)

The LAGS option is only required if the likelihood at t depends directly upon the regimes not just at t, but also at t-1,...,t-lags. (The default for LAGS is 0).