+ All Categories
Home > Documents > Stochastic Processes -...

Stochastic Processes -...

Date post: 23-Mar-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
13
Hamid R. Rabiee Stochastic Processes Markov Chains Absorption (cont’d) 1
Transcript
Page 1: Stochastic Processes - Sharifce.sharif.edu/courses/90-91/1/ce695-1/resources/root/Notes/Lec-8b.pdf · Stochastic Processes 12 • Theorem: Let be the probability that an absorbing

Hamid R. Rabiee

Stochastic Processes

Markov Chains

Absorption (cont’d)

1

Page 2: Stochastic Processes - Sharifce.sharif.edu/courses/90-91/1/ce695-1/resources/root/Notes/Lec-8b.pdf · Stochastic Processes 12 • Theorem: Let be the probability that an absorbing

Absorbing Markov Chain

• An absorbing state is one in which the

probability that the process remains in that

state once it enters the state is 1 (i.e., 𝑝𝑖𝑖 = 1). • A Markov chain is absorbing if it has at least

one absorbing state, and if from every state it is

possible to go to an absorbing state (not

necessarily in one step).

• An absorbing Markov chain will eventually

enter one of the absorbing states and never

leave it.

2 Stochastic Processes

Page 3: Stochastic Processes - Sharifce.sharif.edu/courses/90-91/1/ce695-1/resources/root/Notes/Lec-8b.pdf · Stochastic Processes 12 • Theorem: Let be the probability that an absorbing

Absorbing Markov Chain

• An absorbing state is one in which the probability that the

process remains in that state once it enters the state is 1 (i.e.,

𝑝𝑖𝑖 = 1). • A Markov chain is absorbing if it has at least one absorbing

state, and if from every state it is possible to go to an absorbing

state (not necessarily in one step).

• An absorbing Markov chain will eventually enter one of the

absorbing states and never leave it.

• Example: A 1D random walk starts from 0 and ends at -100 or

100. The states 100 and -100 are absorbing.

3 Stochastic Processes

-100 -99 -98 99 100

p p p p

1-p 1-p 1-p 1-p 1-p

1 1

Page 4: Stochastic Processes - Sharifce.sharif.edu/courses/90-91/1/ce695-1/resources/root/Notes/Lec-8b.pdf · Stochastic Processes 12 • Theorem: Let be the probability that an absorbing

The canonical form

The transition matrix of any absorbing markov chain can be

written as:

The (i,j)’th entry of 𝑃𝑛 is 𝑝𝑖𝑗𝑛 . However:

4 Stochastic Processes

Page 5: Stochastic Processes - Sharifce.sharif.edu/courses/90-91/1/ce695-1/resources/root/Notes/Lec-8b.pdf · Stochastic Processes 12 • Theorem: Let be the probability that an absorbing

Absorption theorem

In an absorbing Markov chain the probability

that the process will be absorbed is 1. (i.e.

𝑄𝑛 → 0 as 𝑛 → ∞).

Proof: From each non-absorbing state 𝑠𝑗 it is

possible to reach an absorbing state starting

from 𝑠𝑗. Therefore there exists p and m, such

that the probability of not absorbing after m

steps is at most p, in 2n steps at most 𝑝2, etc.

Since the probability of not being absorbed is

monotonically decreasing, hence lim𝑛→∞𝑄𝑛 = 0.

5 Stochastic Processes

Page 6: Stochastic Processes - Sharifce.sharif.edu/courses/90-91/1/ce695-1/resources/root/Notes/Lec-8b.pdf · Stochastic Processes 12 • Theorem: Let be the probability that an absorbing

The Fundamental Matrix

6 Stochastic Processes

Definition: For an absorbing Markov chain 𝑃, the matrix

𝑁 = 𝐼 − 𝑄 −1 is called the fundamental matrix for 𝑃.

Theorem: For and absorbing Markov chain

• the matrix 𝐼 − 𝑄 has an inverse 𝑁,

• and 𝑁 = 𝐼 + 𝑄 + 𝑄2 +⋯ .

• The 𝑖𝑗-entry 𝑛𝑖𝑗 of the Matrix 𝑁 is the expected number of

times the chain is in state 𝑠𝑗, given that it starts in state 𝑠𝑖.

Page 7: Stochastic Processes - Sharifce.sharif.edu/courses/90-91/1/ce695-1/resources/root/Notes/Lec-8b.pdf · Stochastic Processes 12 • Theorem: Let be the probability that an absorbing

Proof:

7 Stochastic Processes

• 𝐼 − 𝑄 𝑥 = 0 ⇒ 𝑥 = 𝑄𝑥 ⇒ 𝑥 = 𝑄𝑛𝑥.

Since Qn → 0, we have 𝑄𝑛𝑥 → 0, so 𝑥 = 0.

Thus 𝑥 = 0 is the only point in the null-space of 𝐼 − 𝑄,

therefore 𝐼 − 𝑄 −1 = 𝑁 exists.

• 𝐼 − 𝑄 𝐼 + 𝑄 + 𝑄2 +⋯+ 𝑄𝑛 = 𝐼 − 𝑄𝑛+1 ⇒

𝐼 + 𝑄 + 𝑄2 +⋯+ 𝑄𝑛 = 𝑁(𝐼 − 𝑄𝑛+1).

Letting 𝑛 tend to infinity we have:

𝑁 = 𝐼 + 𝑄 + 𝑄2 +⋯

Page 8: Stochastic Processes - Sharifce.sharif.edu/courses/90-91/1/ce695-1/resources/root/Notes/Lec-8b.pdf · Stochastic Processes 12 • Theorem: Let be the probability that an absorbing

Proof (cont’d):

8 Stochastic Processes

• Suppose fixed 𝑖 and 𝑗, consider the initial state to be 𝑠𝑖.

𝑋(𝑘): a R.V. which equals 1 if the chain is in state 𝑠𝑗 after 𝑘

steps, and equals 0 otherwise.

We have: 𝑃 𝑋 𝑘 = 1 = 𝑞𝑖𝑗(𝑘)

The expected number of times the chain is in state 𝑠𝑗 in

the first 𝑛 steps, given that it starts in state 𝑠𝑖 is:

𝐸 𝑋 0 + 𝑋 1 +⋯+ 𝑋 𝑛 = 𝑞𝑖𝑗(0)+ 𝑞𝑖𝑗(1)+⋯+ 𝑞𝑖𝑗

𝑛

Letting 𝑛 tend to infinity we have:

𝐸 𝑋 0 + 𝑋 1 +⋯ = 𝑞𝑖𝑗(0)+ 𝑞𝑖𝑗(1)+⋯ = 𝑛𝑖𝑗

Page 9: Stochastic Processes - Sharifce.sharif.edu/courses/90-91/1/ce695-1/resources/root/Notes/Lec-8b.pdf · Stochastic Processes 12 • Theorem: Let be the probability that an absorbing

Example:

9 Stochastic Processes

• In the 1D Random walk example (between 0 and 4), the

transition matrix in canonical form is:

• If we start in state

2, then the expected

number of times in

states 1, 2 and 3 before being absorbed are 1, 2 and 1.

Page 10: Stochastic Processes - Sharifce.sharif.edu/courses/90-91/1/ce695-1/resources/root/Notes/Lec-8b.pdf · Stochastic Processes 12 • Theorem: Let be the probability that an absorbing

Time to Absorption:

10 Stochastic Processes

• Question: Given that the chain starts in state 𝑠𝑖, what is

the expected number of steps before the chain is absorbed?

• Reminder: Starting from 𝑠𝑖 , the expected number the

process will be in state 𝑠𝑗 before absorption is 𝑛𝑖𝑗. Therefor

𝑛𝑖𝑗𝑗 is the expected number of steps before absorption.

• Theorem: Let 𝑡𝑖 be the expected number of steps before

the chain is absorbed, given that the chain starts in state

𝑠𝑖, and let t be the column vector whose 𝑖-th entry is 𝑡𝑖. Then 𝑡 = 𝑁𝑐 , where 𝑐 is a column vector all of whose

entries are 1.

Page 11: Stochastic Processes - Sharifce.sharif.edu/courses/90-91/1/ce695-1/resources/root/Notes/Lec-8b.pdf · Stochastic Processes 12 • Theorem: Let be the probability that an absorbing

Absorption Probabilities:

11 Stochastic Processes

• Question: Given that the chain starts in the transient

state 𝑠𝑖, what is the probability that it will be absorbed in

the absorbing state 𝑠𝑗?

• Intuition: Starting from 𝑠𝑖 , the expected number the

process will be in state 𝑠𝑘 before absorption is 𝑛𝑖𝑘. Each

time, the probability to move to state 𝑠𝑗 is 𝑟𝑘𝑗 (𝑘𝑗 -th

element of matrix 𝑅 introduced in the canonical form).

Page 12: Stochastic Processes - Sharifce.sharif.edu/courses/90-91/1/ce695-1/resources/root/Notes/Lec-8b.pdf · Stochastic Processes 12 • Theorem: Let be the probability that an absorbing

Absorption Probabilities:

12 Stochastic Processes

• Theorem: Let 𝑏𝑖𝑗 be the probability that an absorbing

chain will be absorbed in the absorbing state 𝑠𝑗 if it starts

in the transient state 𝑠𝑖. Let 𝐵 be the matrix with entries

𝑏𝑖𝑗. Then 𝐵 is an 𝑡-by-𝑟 matrix, and 𝐵 = 𝑁𝑅, where 𝑁 is the

fundamental matrix and 𝑅 is as in the canonical form.

• Proof:

𝑩𝒊𝒋 = 𝒒𝒊𝒌(𝒏)𝒓𝒌𝒋

𝒌𝒏

= 𝒒𝒊𝒌(𝒏)𝒓𝒌𝒋

𝒏𝒌

= 𝒏𝒊𝒌𝒓𝒌𝒋𝒌

= 𝑵𝑹 𝒊𝒋

Page 13: Stochastic Processes - Sharifce.sharif.edu/courses/90-91/1/ce695-1/resources/root/Notes/Lec-8b.pdf · Stochastic Processes 12 • Theorem: Let be the probability that an absorbing

References

Grinstead C. M, and Snell J. L,

Introduction to probability, American

Mathematical Society, 1997

13 Stochastic Processes


Recommended