Yong Song, "Modelling Regime Switching and Structural Breaks with an Infinite Hidden Markov Model", Journal of Applied Econometrics, Vol. 29, No. 5, 2014, pp. 825-842.