Chap 16 Markov Analysis
Chap 16 Markov Analysis
Markov Analysis
To accompany
Quantitative Analysis for Management, Tenth Edition,
by Render, Stair, and Hanna 2008 Prentice-Hall, Inc.
Power Point slides created by Jeff Heyl 2009 Prentice-Hall, Inc.
Learning Objectives
After completing this chapter, students will be able to:
where
n = number of states
1, 2, , n = probability
of being in state 1, state 2, ,
state n
2009 Prentice-Hall, Inc. 16 7
States and State Probabilities
In some cases it is possible to know with
complete certainty what state an item is in
Vector states can then be represented as
(1) = (1, 0)
where
(1) = vector of states for
the machine in period 1
1 = 1 = probability of
being in the first state
2 = 0 = probability of
being in the second state
2009 Prentice-Hall, Inc. 16 8
The Vector of State Probabilities for
Three Grocery Stores Example
States for people in a small town with three
grocery stores
A total of 100,000 people shop at the three
groceries during any given month
Forty thousand may be shopping at American
Food Store state 1
Thirty thousand may be shopping at Food Mart
state 2
Thirty thousand may be shopping at Atlas Foods
state 3
0.1 #1 0.03
Food Mart #2 0.7
#2 0.21
0.3 0.2
#3 0.06
0.2 #1 0.06
Atlas Foods #3 0.2
#2 0.06
0.3 0.6
#3 0.18
Pm1 Pmn
Row 1
0.8 = P11 = probability of being in state 1 after being in state 1 in the
preceding period
0.1 = P12 = probability of being in state 2 after being in state 1 in the
preceding period
0.1 = P13 = probability of being in state 3 after being in state 1 in the
preceding period
Row 2
0.1 = P21 = probability of being in state 1 after being in state 2 in the
preceding period
0.7 = P22 = probability of being in state 2 after being in state 2 in the
preceding period
0.2 = P23 = probability of being in state 3 after being in state 2 in the
preceding period
Row 3
0.2 = P31 = probability of being in state 1 after being in state 3 in the
preceding period
0.2 = P32 = probability of being in state 2 after being in state 3 in the
preceding period
0.6 = P33 = probability of being in state 3 after being in state 3 in the
preceding period
(1) = (0)P
(n + 1) = (n)P
(1) = (0)P
(2) = (1)P
(1) = (0)P
We have
(n) = (0)Pn
=P
0.8 0.2
( 1, 2) = ( 1, 2)
0.1 0.9
1 + 2 + + n = 1
1 + 2 = 1
Thus
1 0 0 0
0 1 0 0
P=
0.6 0 0.2 0.2
0.4 0.1 0.3 0.2
2009 Prentice-Hall, Inc. 16 32
Absorbing States and the
Fundamental Matrix
To obtain the fundamental matrix, it is necessary
to partition the matrix of transition probabilities
as follows
I 0
1 0 0 0 1 0 0 0
I= 0=
0 1 0 0 0 1 0 0
P=
0.6 0 0.2 0.2 0.6 0 0.2 0.2
0.4 0.1 0.3 0.2 A= B=
0.4 0.1 0.3 0.2
A B
where
I = an identity matrix
0 = a matrix with all 0s
2009 Prentice-Hall, Inc. 16 33
Absorbing States and the
Fundamental Matrix
The fundamental matrix can be computed as
F = (I B)1
1
1 0 0.2 0.2
F=
0 1 0.3 0.2
1
0.8 0.2
F=
0.3 0.8
1
d b
The inverse a b
is
a b
=
r r
of the matrix c d c d c a
r r
where
r = ad bc
2009 Prentice-Hall, Inc. 16 34
Absorbing States and the
Fundamental Matrix
To find the matrix F we compute
1
0.8 (0.2)
0.8 0.2 0.58 0.58 1.38 0.34
F= = =
0.3 0.8 (0.3) 0.8 0.52 1.38
0.58 0.58
where
n = number of nonabsorbing states
M1 = amount in the first state or category
M2 = amount in the second state or category
Mn = amount in the nth state or category
M = (2,000, 5,000)