Hidden Markov Models for Time Series: An Introduction Using R, Second Edition (Chapman & Hall/CRC Monographs on Statistics and Applied Probability)