I have a univariate time series `y_t` observed at times `t = 1, ..., N`, and I want to fit a hidden Markov model with `K` latent states. Conditional on the latent state, each observation is normally distributed with a state-specific mean and common standard deviation 1.

My model is:
`mu_1 ~ Normal(3, 1),`
`mu_2 ~ Normal(10, 1),`
`0 < mu_1 < mu_2 (positive ordered),`
`z_1` has an implicit uniform prior over the `K` states,`
`Pr(z_t = k | z_{t-1} = j) = theta_{j,k}, for t = 2, ..., N,`
`y_t | z_t = k ~ Normal(mu_k, 1), for t = 1, ..., N.`

Here:
`y_t` is the observed outcome at time t,
`z_t` is the latent state at time t,
`theta_{j,k}` is the probability of moving from state j at time `t-1` to state k at time t,
`mu_k` is the mean of the observation distribution in state k,
`K` is the number of hidden states,
`N` is the length of the observed time series.

Parameterization notes:
In `Normal(mu, sigma)`, `sigma` denotes a standard deviation.
