Knowledge / Actuarial Science / Stochastic processes and Markov chains

Stochastic processes and Markov chains

Actuarial Science (B.Sc) · Probability and statistics · free study notes for exams, placements and interviews

In short

A stochastic process is a family of random variables {X(t) : t ∈ T} indexed by time, describing how a random quantity evolves; a Markov chain is a stochastic process whose future depends only on the present state and not on the path that led there. For actuaries this is the engine behind no-claim discount (NCD) systems in motor insurance, multiple-state health and sickness models, pension-scheme member movements, credit-rating migration and claim-count modelling by the Poisson process. It is examined in IFoA/IAI Subject CS2 (Risk Modelling and Survival Analysis), in B.Sc Actuarial Science probability papers, and in GATE Statistics (ST) and ISI/CMI entrance papers. Employers in India testing it include ICICI Lombard, HDFC ERGO, Bajaj Allianz, LIC, SBI Life, Swiss Re, Munich Re, WTW, Mercer, Aon, Milliman and the actuarial arms of EY, Deloitte and KPMG. The topic is pure probability modelling — distributions and estimation are covered elsewhere; here the focus is dynamics over time and the long-run behaviour that follows.

Explained

Stochastic processes: definitions and classification

The Markov property and discrete-time Markov chains

Chapman–Kolmogorov, n-step probabilities and classification of states

Stationary and limiting distributions

Absorption, first passage and the gambler's ruin

Continuous-time Markov chains, the Poisson process and birth–death processes

Estimation, simulation and model limitations

Key points

Formulas and examples

Markov property: P(Xₙ₊₁ = j | Xₙ = i, past) = P(Xₙ₊₁ = j | Xₙ = i) = pᵢⱼ (dimensionless probability)
TPM: P = [pᵢⱼ], pᵢⱼ ≥ 0, Σⱼ pᵢⱼ = 1 for every row i
Chapman–Kolmogorov: pᵢⱼ⁽ᵐ⁺ⁿ⁾ = Σₖ pᵢₖ⁽ᵐ⁾pₖⱼ⁽ⁿ⁾; P⁽ⁿ⁾ = Pⁿ; π⁽ⁿ⁾ = π⁽⁰⁾Pⁿ
Stationary distribution (discrete time): π = πP, Σⱼ πⱼ = 1; mean recurrence time μⱼ = 1/πⱼ (in time steps)
Period: d(i) = gcd{n ≥ 1 : pᵢᵢ⁽ⁿ⁾ > 0}; recurrence criterion Σₙ pᵢᵢ⁽ⁿ⁾ = ∞
Absorption: aᵢ = pᵢₐ + Σ_{j transient} pᵢⱼaⱼ; expected steps mᵢ = 1 + Σ_{j transient} pᵢⱼmⱼ
Canonical form P = [[Q, R],[0, I]]; fundamental matrix M = (I − Q)⁻¹; absorption probabilities = MR
Gambler's ruin (start j of a, win prob p, q = 1 − p): ruin prob = [(q/p)j − (q/p)a] / [1 − (q/p)a] for p ≠ q; = 1 − j/a for p = q = ½
Expected duration (p = q = ½): E[T] = j(a − j) steps
Generator: qᵢⱼ ≥ 0 (i ≠ j), qᵢᵢ = −Σ_{j≠i} qᵢⱼ; stationary: πQ = 0, Σπᵢ = 1
Kolmogorov forward/backward: dP(t)/dt = P(t)Q = QP(t), P(0) = I; P(t) = exp(Qt)
Holding time in state i: Exponential with rate −qᵢᵢ, mean 1/(−qᵢᵢ) (time units)
Poisson process: P(N(t) = n) = e^{−λt}(λt)ⁿ/n!, E[N(t)] = Var[N(t)] = λt; λ in events per unit time
Two-state chain [[1−a, a],[b, 1−b]]: π = (b/(a+b), a/(a+b)); pᵢᵢ⁽ⁿ⁾ converges geometrically with factor (1 − a − b)
Birth–death: πᵢ₊₁ = πᵢ λᵢ/μᵢ₊₁; M/M/1 (ρ = λ/μ < 1): πₙ = (1−ρ)ρⁿ, L = ρ/(1−ρ), Wq = ρ/(μ − λ)

Example 1 — Two-state weather/lapse chain, n-step and stationary distribution. A policy is either "in force" (state 1) or "lapsed-but-revivable" (state 2). P = [[0.9, 0.1],[0.4, 0.6]], so a = 0.1, b = 0.4.

Example 2 — Motor NCD chain (three discount levels), long-run premium cost. Levels 0%, 25%, 50%. A claim-free year moves up one level (50% stays); a year with a claim drops to 0%. Claim probability 0.2 each year, independent. P (rows/cols in order 0, 25, 50) = [[0.2, 0.8, 0],[0.2, 0, 0.8],[0.2, 0, 0.8]].

Example 3 — Absorption: expected duration of a sickness claim. States: H = healthy, S = sick, D = dead (absorbing), with annual transitions P = [[0.9, 0.08, 0.02],[0.3, 0.6, 0.1],[0, 0, 1]].

Example 4 — Gambler's ruin for a small insurer's surplus. Surplus 4 units, ruin at 0, target 10 units; each period the surplus moves ±1 with p = 0.5.

Example 5 — Poisson claims and a two-state jump process. Motor claims arrive as a Poisson process with λ = 3 per day at a Pune service centre.

FeatureDiscrete-time Markov chainMarkov jump process (CTMC)
Timen = 0, 1, 2, …t ≥ 0, continuous
Basic objectTPM P, row sums 1Generator Q, row sums 0
Evolutionπ⁽ⁿ⁾ = π⁽⁰⁾Pⁿπ(t) = π(0)exp(Qt)
Stationary equationπ = πPπQ = 0
Time in a stateGeometricExponential
Typical actuarial useNCD levels, credit ratingsSickness/death models, claim arrivals
ConceptConditionConsequence
Irreducibleone classπ unique if positive recurrent
Aperiodicd = 1Pⁿ converges to rows of π
Positive recurrentμᵢ < ∞πᵢ = 1/μᵢ > 0
Transient classreturn prob < 1πᵢ = 0
Absorbing statepᵢᵢ = 1chain ends there; π puts mass 1 on it

Where it is used

Interview questions

Common mistakes

Related topics

Probability theory and Bayes' theorem · Random variables and expectation · Probability distributions · Time series analysis · Survival models and life contingencies · Risk theory and ruin probability

Open in the Knowledge reader →Find jobs →