I have a univariate time series `y_t`, observed for `t = 1, ..., T`, and I want to fit an autoregressive model of order `K`.

My model is:
For `t = K + 1, ..., T`,

`y_t ~ Normal(mu_t, sigma),`

`mu_t = alpha + sum_{k = 1}^K beta_k y_{t-k}.`

The priors are

`alpha ~ Normal(0, 10),`
`beta_k ~ Normal(0, 10), for k = 1, ..., K,`
`sigma ~ half-Cauchy(0, 2.5).`

Here:
`y_t` is the observed time-series value at time t,
`alpha` is the intercept,
`beta_k` is the autoregressive coefficient for lag k,
`sigma` is the innovation standard deviation,
`K` is the autoregressive order,
`T` is the series length.

Parameterization notes:
In `Normal(mu, sigma)`, `sigma` is a standard deviation.
In `Cauchy(mu, sigma)`, `sigma` is a scale parameter.
