Markov chains · Basic level · Mini-course 1 of 3

Markov chains and transition matrices

An insured person can be healthy, disabled or dead. Markov chains describe how they move from one state to another year by year. This mini-course builds the transition matrix and uses it to project several years ahead.

30 min
Estimated time
4
Lessons
5
Questions
ObjectivesLessonsWorked exampleSelf-assessmentReadings
01

Objectives

By the end of this mini-course you will be able to:

  • Define states, transitions and the Markov property.
  • Write a transition matrix and check that each row sums to one.
  • Compute multi-year probabilities by multiplying matrices.
  • Recognize an absorbing state such as death.
02

Lessons

Lesson 1

States and the Markov property

A multiple state model describes where the insured is at each moment: healthy (H), disabled (D) or dead (X). The Markov property says the future depends only on the current state, not on how it was reached:

\[\Pr(X_{k+1}=j\mid X_k=i,\ldots)=p_{ij}\]

It is a simplification: in practice, the probability of recovery usually depends on how long the person has been disabled.

Lesson 2

The transition matrix

One-year probabilities are arranged in a matrix: row of origin and column of destination. Each row sums to one because from any state the person must go somewhere:

\[P=\begin{pmatrix}p_{HH}&p_{HD}&p_{HX}\\p_{DH}&p_{DD}&p_{DX}\\0&0&1\end{pmatrix}\]

The last row describes death: once there, there is no way out. It is an absorbing state.

Lesson 3

Multi-year probabilities

For two years, all possible paths are added up; in matrix form, it is enough to multiply. For \(n\) years, the matrix is raised to the power \(n\):

\[P^{(n)}=P^{\,n},\qquad p^{(2)}_{HD}=p_{HH}\,p_{HD}+p_{HD}\,p_{DD}+p_{HX}\cdot0\]

If probabilities change with age, instead of a power you multiply different matrices, one per year.

Lesson 4

From the life table to the chain

A life table is a two-state chain, alive and dead, with \(p_x\) and \(q_x\). The Markov chain generalizes it by adding intermediate states such as disability or illness.

\[\begin{pmatrix}p_x&q_x\\0&1\end{pmatrix}\]

With more states you can value disability, critical illness and long-term care coverage.

03

Worked example

An illustrative annual matrix, constant over time, for a person who is healthy today, with states ordered healthy, disabled and dead.

The matrix

\[P=\begin{pmatrix}0.92&0.05&0.03\\0.10&0.80&0.10\\0&0&1\end{pmatrix}\]

Step 1. Two years

\[P^{2}=\begin{pmatrix}0.8514&0.0860&0.0626\\0.1720&0.6450&0.1830\\0&0&1\end{pmatrix}\]

Step 2. Five years, starting healthy

\[p^{(5)}_{HH}=0.6934,\qquad p^{(5)}_{HD}=0.1399,\qquad p^{(5)}_{HX}=0.1667\]

Step 3. Ten years

\[p^{(10)}_{HH}=0.5199,\qquad p^{(10)}_{HD}=0.1471,\qquad p^{(10)}_{HX}=0.3330\]

Over two years, \(p^{(2)}_{HD}=0.92\times0.05+0.05\times0.80=0.0860\): there are two paths to disability. Over five years, the probability of still being alive is \(1-0.1667=0.8333\). The figures are illustrative and do not come from an official table.

Remember: A matrix and its powers answer any question of the form “if I am in state \(i\) today, what is the probability that I will be in \(j\) in \(n\) years?” The rows of \(P^n\) always sum to one.
04

Self-assessment

Choose one answer per question: you will see right away whether it is correct and why. At the end, check your score. Nothing is stored or sent.

1. What does the Markov property say?
2. What must each row of a transition matrix sum to?
3. With the example matrix, what is \(p^{(2)}_{HD}\)?
4. What is an absorbing state?
5. How are \(n\)-year probabilities obtained if the matrix does not change?
05

Readings

Sources and reference texts. Multiple state models, the Kolmogorov equations and Thiele's equation are covered in Dickson, Hardy and Waters (AMLCR). The probabilities and intensities in the examples are illustrative.

On actuaria.mx

PreviousAll mini-coursesNextMultiple state models