Stationary Distribution
Study guide: Exam MAS-I
A Stationary Distribution of a Markov Chain is a probability distribution \pi_j over its states that one transition leaves unchanged, so that a chain whose state has this distribution at one time has it at every later time. The stationary probabilities are the solution of the balance equations
\pi_j = \sum_i \pi_i P_{ij}
together with
\sum_j \pi_j = 1
- There is one balance equation for each state
j, and the sum on the right runs over every statei. P_{ij}is the probability of moving from stateito statejin one step.
Each balance equation says that the probability of being in state j equals the sum of the probabilities of the states multiplied by their transition probabilities into j. In matrix form the equations are \boldsymbol{\pi}\mathbf{P} = \boldsymbol{\pi}, where \boldsymbol{\pi} is the row vector of the \pi_j.
A chain with finitely many states that is irreducible has exactly one stationary distribution, and \pi_j is the long-run proportion of time the chain spends in state j. The expected number of steps between visits to state j is 1/\pi_j. If the chain is also aperiodic, \pi_j is the limiting probability \lim_{n \to \infty} P_{ij}^{n}, whatever the starting state i.
Each year a policyholder is claim-free (state 0) or has a claim (state 1). A claim-free policyholder has a claim the next year with probability 0.1, and a policyholder with a claim has a claim the next year with probability 0.3. In the long run, what proportion of years are claim-free?
- The transition probabilities are
P_{00} = 0.9,P_{01} = 0.1,P_{10} = 0.7andP_{11} = 0.3.- The balance equation for state 0 is
\pi_0 = 0.9\,\pi_0 + 0.7\,\pi_1, so0.1\,\pi_0 = 0.7\,\pi_1and\pi_1 = \pi_0 / 7.- With
\pi_0 + \pi_1 = 1,\pi_0 = \frac{7}{8} = 0.875.- In the long run 87.5% of years are claim-free.
Solving the balance equations
The balance equations are linearly dependent, because every row of the transition probability matrix sums to 1. To solve them, drop any one balance equation and use \sum_j \pi_j = 1 in its place. The dropped equation then serves as a check.
A reinsurer classes each quarter's catastrophe activity as Quiet (Q), Normal (N) or Active (A). What is the long-run proportion of Active quarters? The transition probabilities are:
From \ To Q N A Q 0.5 0.4 0.1 N 0.3 0.4 0.3 A 0.2 0.3 0.5
- Drop the balance equation for N. The balance equations for Q and A are
\begin{aligned} \pi_Q &= 0.5\,\pi_Q + 0.3\,\pi_N + 0.2\,\pi_A \\ \pi_A &= 0.1\,\pi_Q + 0.3\,\pi_N + 0.5\,\pi_A \end{aligned}
- The first gives
\pi_Q = 0.6\,\pi_N + 0.4\,\pi_A. Substituting it into the second gives0.46\,\pi_A = 0.36\,\pi_N, so\pi_A = \frac{18}{23}\pi_Nand\pi_Q = \frac{21}{23}\pi_N.- With
\pi_Q + \pi_N + \pi_A = 1,\pi_N \cdot \frac{62}{23} = 1, so the stationary probabilities are\pi_Q = \frac{21}{62},\pi_N = \frac{23}{62}and\pi_A = \frac{18}{62}.- The dropped balance equation for N checks, since
0.4(21) + 0.4(23) + 0.3(18)equals 23.- In the long run
\frac{18}{62} = 0.290of quarters are Active.
States with equal stationary probabilities
When some states are interchangeable, so that the transition probabilities look the same from each of them, their stationary probabilities can be assumed equal. This reduces the balance equations to a few unknowns. A solution that satisfies every balance equation and sums to 1 is then the stationary distribution, because an irreducible chain has only one.
A doubly stochastic transition probability matrix, whose columns also sum to 1, has the uniform distribution as a stationary distribution.
A chain has states 0, 1, 2 and 3. From state 0 it stays at 0 with probability
\frac12and moves to each of 1, 2 and 3 with probability\frac16. From each of states 1, 2 and 3 it moves to 0 with probability\frac13and otherwise to the next state in the cycle1 \to 2 \to 3 \to 1. What is the long-run probability of state 0?
- States 1, 2 and 3 are interchangeable, so let
\pi_1 = \pi_2 = \pi_3 = a.- The balance equation for state 0 is
\pi_0 = \frac12\pi_0 + \frac13(a + a + a), so\pi_0 = 2a.- With
\pi_0 + 3a = 1,5a = 1, soa = 0.2and\pi_0 = 0.4.- The balance equation for state 1 checks, since
\frac16(0.4) + \frac23(0.2) = 0.2.- The long-run probability of state 0 is 0.4.
Long-run average amount per period
If the chain earns an amount b_j in each period it spends in state j, the long-run average amount per period is
\sum_j \pi_j\, b_j
In a bonus-malus system, b_j is the premium at level j, and the sum is the long-run average premium.
Policyholders move each year among Low, Medium and High risk tiers, with expected annual losses of 400, 800 and 2,000. What is the long-run average expected loss per policy? The transition probabilities are:
From \ To Low Medium High Low 0.85 0.15 0 Medium 0.20 0.70 0.10 High 0 0.30 0.70
- Solving the balance equations gives
\pi_L = 0.500,\pi_M = 0.375and\pi_H = 0.125.- The long-run average expected loss is
\begin{aligned} \sum_j \pi_j\, b_j &= 0.500(400) + 0.375(800) + 0.125(2{,}000) \\ &= 750 \end{aligned}
A chain that moves at most one state at a time, as this one does, can be solved one pair of neighbouring states at a time with the equations for a chain that moves one state at a time.
Solving the balance equations without
\sum_j \pi_j = 1The balance equations alone have every multiple of\boldsymbol{\pi}as a solution. In the claim-free example,\pi_1 = \pi_0 / 7holds for(7, 1)as well as for(0.875, 0.125). Only the equation\sum_j \pi_j = 1picks out the probabilities.