Professional Documents
Culture Documents
• Stationary distributions
• Limiting probabilities
• Long-run proportions
Math 263, Stationary distributions and limiting probabilities
or in entrywise form,
πj = πi p i j ,
X
for all j ∈ S.
i ∈S
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 3/33
Math 263, Stationary distributions and limiting probabilities
P1 = 1 .
In general, a square matrix A and its transpose have the same eigenvalues
det(λI − AT ) = det(λI − A)
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 4/33
Math 263, Stationary distributions and limiting probabilities
Remark. This implies that for the same n , the future states X n+2 , X n+3 , . . .
all have the same distribution π.
p i j πi = π j .
X
=
i ∈S
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 5/33
Math 263, Stationary distributions and limiting probabilities
Example 0.1. Find the stationary distribution of the Markov chain below:
0 .9 .1 0
.8 .1 0 .1
P=
0 .5 .3 .2
.1 0 0 .9
Answer: π = (.2788, .3009, .0398, .3805) by software. Alternatively, we can
solve πP = π (along with the requirement πi = 1) directly by hand:
P
π1 = 0.8π2 + 0.1π4
π1 = 63/226
π =
0.9π1 + 0.1π2 + 0.5π3 π =
68/226
2 2
−→
π3 = 0.1π1 + 0.3π3
π3 = 9/226
π =
0.1π2 + 0.2π3 + 0.9π4 π =
86/226
4 4
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 6/33
Math 263, Stationary distributions and limiting probabilities
Theorem 0.2. For any irreducible Markov chain with state space S and
transition matrix P, it has a stationary distribution π = (π j ):
∀ j ∈ S : π j ≥ 0, πi = 1, π = πP.
X
i ∈S
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 7/33
Math 263, Stationary distributions and limiting probabilities
Remark. In the aperiodic case, π j is also the limiting probability that the
chain is in state j , i.e.,
π j = lim P (X n = j ).
n→∞
Then
X
P (X n = j ) = P (X n = j | X 0 = i ) P (X 0 = i )
i ∈S
n→∞
p i(n) αi πj αi = π j .
X X
= j
−→
i ∈S i ∈S
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 8/33
Math 263, Stationary distributions and limiting probabilities
.3 .3 .4
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 9/33
Math 263, Stationary distributions and limiting probabilities
.8 .1 .1 0.5471 0.2715 0.1814
P = .2 .6 .2 −→ P10 = 0.5430 0.2745 0.1825
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 10/33
Math 263, Stationary distributions and limiting probabilities
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 11/33
Math 263, Stationary distributions and limiting probabilities
1 Xn
π j = lim p i(k)
j
n→∞ n
k=1
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 12/33
Math 263, Stationary distributions and limiting probabilities
Example 0.4 (Gambler’s Ruin). The underlying Markov chain has three
communicating classes {0}, {1, . . . , N − 1}, {N }, and thus it is not irreducible.
1 1
p p p p
0 1 2 N
1−p 1−p 1−p 1−p
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 13/33
Math 263, Stationary distributions and limiting probabilities
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 14/33
Math 263, Stationary distributions and limiting probabilities
b b b
p b b b
-2 -1 0 1 2
1−p
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 15/33
Math 263, Stationary distributions and limiting probabilities
The chain is finite, and if the graph is connected, then the Markov chain
must be irreducible and also positive recurrent. Accordingly, it possesses a
unique stationary distribution.
0.8 0.8
0.9
b b b b
0.8 0.1
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 16/33
Math 263, Stationary distributions and limiting probabilities
Proposition 0.3. For any finite, connected graph, the induced Markov
chain possesses the following unique stationary distribution
1
π=
X
· d, where Vol(V ) = di .
Vol(V ) i ∈V
If the graph is also non-bipartite, then the chain always converges to the
above stationary distribution.
dP = dD−1 W = 1T W = d −→ πP = π.
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 17/33
Math 263, Stationary distributions and limiting probabilities
0.8 0.8
0.9
b b b b
0.8 0.1
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 18/33
Math 263, Stationary distributions and limiting probabilities
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 19/33
Math 263, Stationary distributions and limiting probabilities
I n = 1X n = j , for all n ≥ 1
and define
X̀
T= In
n=1
T 1 X̀
= In ,
` ` n=1
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 20/33
Math 263, Stationary distributions and limiting probabilities
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 21/33
Math 263, Stationary distributions and limiting probabilities
Example 0.6. Three out of every four trucks on the road are followed by
a car, while only one out of every five cars is followed by a truck. What
fraction of vehicles on the road are trucks?
C C T C C C T T C C C C T C C C
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 22/33
Math 263, Stationary distributions and limiting probabilities
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 23/33
Math 263, Stationary distributions and limiting probabilities
Theorem 0.5. For any irreducible, positive recurrent Markov chain, with
stationary distribution π = (π j ), we must have
1
πj = for all j ∈ S,
mj j
m j j = E(N j | X 0 = j ).
Remark. This theorem implies that π j > 0 for all positive recurrent states
j in an irreducible chain (as m j j < ∞ for all j ). Note that π j can also be
interpreted as the long-run proportion of the chain being in state j here.
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 24/33
Math 263, Stationary distributions and limiting probabilities
X̀
T= In , I n = 1X n = j
n=1
j j j j
X1 X2 Xℓ
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 25/33
Math 263, Stationary distributions and limiting probabilities
Then
N j1 + · · · + N jT ≤ ` < N j1 + · · · + N jT + N jT +1 ,
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 26/33
Math 263, Stationary distributions and limiting probabilities
Similarly,
³ ¯ ´
E N j1 + · · · + N jT + N jT +1 ¯ X 0 = j = m j j · E T + 1|X 0 = j
¯ £ ¤
£ ¤
= m j j + m j j · E T |X 0 = j
or µ ¶
1 1 1
m j j · E[T | X 0 = j ] ≤ 1 < m j j + E[T | X 0 = j ]
` ` `
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 27/33
Math 263, Stationary distributions and limiting probabilities
X̀
E[T | X 0 = j ] = E(I n | X 0 = j )
n=1
X̀
= 1 · P (I n = 1 | X 0 = j ) + 0 · P (I n = 0 | X 0 = j )
n=1
X̀
= P (X n = j | X 0 = j )
n=1
p (n)
X̀
= jj
n=1
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 28/33
Math 263, Stationary distributions and limiting probabilities
It follows that
à !
1 X̀ (n) 1 1 X̀ (n)
mj j · p ≤ 1 < mj j · + p
` n=1 j j ` ` n=1 j j
m j j · π j ≤ 1 ≤ m j j · (0 + π j )
So we must have
1
m j j · π j = 1, and thus π j = .
mj j
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 29/33
Math 263, Stationary distributions and limiting probabilities
However, we can still talk about the long-run proportion of the chain being
in state j :
T 1 X̀
= In , as ` → ∞.
` ` n=1
Starting with the inequality
N j1 + · · · + N jT ≤ ` for all `
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 30/33
Math 263, Stationary distributions and limiting probabilities
or equivalently,
This shows that the long run proportion of visits to state j is zero. Thus,
if π j represents the long-run proportion of state j (instead of a stationary
probability), then the formula π j = m1j j is still valid.
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 31/33
Math 263, Stationary distributions and limiting probabilities
p (n)
jk
>0
π j = 1/m j j > 0
Dr. Guangliang Chen | Mathematics & Statistics, San José State University 32/33
Math 263, Stationary distributions and limiting probabilities
and also à !
1 X̀ (t +n) 1 X̀ (t )
p ≥ p · p (n)
` t =1 i k ` t =1 i j jk