ar_ms function

Bayesian analysis of a Markov Switching autoregressive model