Introduction
In this part, we will define more important properties and concepts related to Markov Chains. Firstly, we will define the limit theorem for finite irreducible Markov chains and see how it is (weaker) compared to the limit theorem for regular Markov chains. Then, we will define periodicity and ergodic Markov chains. Finally, we will define and discuss time reversibility, canonical distributions, and absorbing chains.
Limit Theorem for Finite Irreducible Markov Chains
Theorem 1 (Limit Theorem for Finite Irreducible Markov Chains)
Recall
In a finite irreducible Markov chain, all states are recurrent.
Let be the expected return time to state . Then for all states and the vector with is the unique stationary distribution.
Further,
Note
All finite regular Markov chains are finite irreducible Markov chains, but not vice versa. The overall conclusion here is weaker than that for finite regular Markov chains. Not all finite irreducible Markov chains have limiting distributions.
Intuition (Extention to Infinite Irreducible Markov Chains)
In a finite irreducible Markov chian, all states are recurrent, and all expected return times are finite.
In a Markov chain, states may be recurrent but with infinite expected return times. Such states are called null recurrent, while recurrent states with finite expected return times are called positive recurrent.
The previous theorem can be extended to infinite irreducible Markov chains where all states are positive recurrent.
Periodicity and Ergodic Markov Chains
Definition 1 (Periodicity)
The period of a state is the greatest common divisor of all such that . All states of a communication class have the same period.
Proof (Periodicity is the Same for all States in a Communication Class)
Let and be two states in the same communication class. Then, there exist such that and . Let and be the periods of states and , respectively. For any such that , we have,
Thus, divides . Since also divides , it must divide . By symmetry, divides for any such that . Therefore, .
A Markov chain is periodic if it is irreducible and all states have period greater than 1.
A Markov chain is aperiodic if it is irreducible and all states have period 1.
Definition 2 (Ergodic Markov Chains)
A Markov chain is ergodic if,
-
It is irreducible.
-
It is aperiodic.
-
All states are positive recurrent (i..e, have finite expected return times (which always is true if the state space is finite)).
Theorem 2 (Fundamental Limit Theorem for Ergodic Markov Chains)
There exists a unique stationary distribution which is the limiting distribution of the chain.
Note
We can also show that a finite Markov chain is ergodic if and only if its transition matrix is regular.
Time Reversibility, Canonical Distributions, and Absorbing Chains
Definition 3 (Time Reversibility)
Let be the transition matrix of an irreducible Markov chain with stationary distribution . The chain is time reversible if, when running from its stationary distribution, it looks the same moving forward as backwards, i.e.,
This may also be written as for all states and . It is called the detailed balance equations.
Note
If is a probability vector satisfying for all states and , then is the stationary distribution of the chain, and the chain is time reversible.
Proof
We have,
Thus, , so is the stationary distribution.
If a Markov chain is defined as a random walk on a weighted undirected graph, then it is time reversible.
Proof
Let be the weight of the edge between nodes and (0 if no edge exists). Let be the sum of weights of edges going into node . The transition matrix is given by . Let , where is the total sum over all nodes of their values. Then,
Thus, the detailed balance equations are satisfied, so the chain is time reversible.
If a finite Markov chain is time reversible, it can be represented as a random walk on a weighted undirected graph.
Proof
Let be the transition matrix of a finite time reversible Markov chain with stationary distribution . Let be the weight of the edge between nodes and . Then,
Thus, the sum of weights of edges going into node is . The transition matrix is given by,
Thus, the Markov chain can be represented as a random walk on a weighted undirected graph.
Definition 4 (Canonical Distributions)
The states of a Markov chain can be subdivided into communication classes, each consisting only of a transient or recurrent states. Let denote the union of all communication classes with transient states. Let the remaining communication classes be .
Each must necessarily be closed in the sense that no states outside are accessible from . Ordering states according to , the transition matrix has the block structure,
We will later on dicuss what is here.
Note that,
and we can take the limits of each , if they exist.
Definition 5 (Absorbing Chains)
State is absorbing if a A Markov chain is an absorbing chain if it has at least one absorbing state.
By reordering the states, the transition matrix for an absorbing chain can be written in the block form,
where is the identity matrix, is a matrix of zeroes, and corresponds to transient states. We can prove by induction that,
Proof (Induction for Powers of Transition Matrix of Absorbing Chains)
- Base case ():
- Inductive step: Assume the statement is true for some . We need to show that it is true for .
Thus, by induction, the statement is true for all positive integers .
Taking the limit and using (since all states corresponding to are transient), we have,
where is called the fundamental matrix.
The probability to be absorbed in a particular absorbing state given a start in a transient state is given by the entries of .
Further, the expected number of visits in state for a chain that starts in the transient state is given by (as this is equal to ).
Thus, the expected number of steps until absorption is given by the vector , where is a column vector of ones.
Note
Given an irreducible Markov chain, to compute the expected number of steps needed to go from state to the first visit to state , one can change the chain into one where state is absorbing, and compute the expected number of steps until absorption when starting at state .