Univariate Autoregressive Markov Switching Models for Linear and Generalized Models WWW: https://cran.r-project.org/web/packages/MSwM/