Loading tsb…
Fit hidden regimes with Baum-Welch estimation and decode state sequences with Viterbi. Every example runs the tsb library and can be edited independently.
Recover two regimes from a numeric sequence.
Estimate a model for integer observations and inspect symbol probabilities.
Find the most likely state sequence without estimating parameters.