Three regimes

Vasicek with a mean level and volatility that move among three regimes.

The short rate follows $dx = \kappa(\theta_{y} - x)\,dt + \sigma_y\,dW$ with $\kappa = 2$, $\theta = (0.20, 0.08, 0.02)$ and $\sigma^2 = (0.04, 0.01, 0.0025)$. The chain need not be reversible. Here its generator is $s\,Q_1$ with

$$Q_1 = \begin{pmatrix} -3 & 2 & 1 \\ 1 & -2 & 1 \\ 0.5 & 1.5 & -2 \end{pmatrix},$$

whose stationary distribution is $\pi = (0.208, 0.458, 0.333)$. The averaged model is Vasicek's with the $\pi$-weighted mean level and variance. The table gives the error in the bond price $a_1(1)$, starting in the first regime, after each order, against a 30-digit numerical solution.

scaleorder 0order 1order 2order 3order 4order 5order 6
46.2e-31.8e-42.1e-53.7e-65.1e-71.0e-71.6e-8
83.1e-34.2e-52.4e-62.2e-71.4e-81.4e-91.1e-10
161.6e-31.0e-52.9e-71.3e-84.2e-102.2e-117.9e-13

Each doubling of the switching rates divides the order-$n$ error by about $2^{n+1}$. For $n$ regimes the recursion is unchanged: the two-state ratio becomes a vector $w$, and each order applies the group inverse of the generator once. See the engine.