Markov Analysis: To Accompany by Render, Stair, and Hanna Power Point Slides Created by Brian Peterson
Markov Analysis: To Accompany by Render, Stair, and Hanna Power Point Slides Created by Brian Peterson
Markov Analysis: To Accompany by Render, Stair, and Hanna Power Point Slides Created by Brian Peterson
Markov Analysis
To accompany
Quantitative Analysis for Management, Eleventh Edition, Global Edition
by Render, Stair, and Hanna
Power Point slides created by Brian Peterson
Where:
n = number of states
1 , 2 , … , n = probability
of being in state 1, state 2, …,
state n
Copyright © 2012 Pearson Education 15-7
States and State Probabilities
In some cases it is possible to know with complete
certainty in which state an item is located:
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
Copyright © 2012 Pearson Education 15-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
Figure 15.1 0.18
#3
…
…
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
In general:
(n) = (0)Pn
0.8 0.2
P=
0.1 0.9
where
P11 = 0.8 = probability that the machine will be correctly functioning
this month given it was correctly functioning last month
P12 = 0.2 = probability that the machine will not be correctly
functioning this month given it was correctly functioning
last month
P21 = 0.1 = probability that the machine will be correctly functioning
this month given it was not correctly functioning last
month
P22 = 0.9 = probability that the machine will not be correctly
functioning this month given it was not correctly
functioning last month
Copyright © 2012 Pearson Education 15-23
Tolsky Works
(1) = (0)P
0.8 0.2
= (1, 0)
0.1 0.9
= [(1)(0.8) + (0)(0.1), (1)(0.2) + (0)(0.9)]
= (0.8, 0.2)
=P
0.8 0.2
(1, 2) = (1, 2)
0.1 0.9
1 + 2 + … + n = 1
1 + 2 = 1
2 = 0.21 + 0.92
1 + 2 = 1
Through rearrangement and substitution we get
0.12 = 0.21
2 = 21
1 + 2 = 1
1 + 2 1 = 1
3 1 = 1
1 = 1/3 = 0.33333333
Copyright © 2012 Pearson Education
= 2/ = 0.66666667 15-31
Absorbing States and the
Fundamental Matrix
Accounts Receivable example
The examples so far assume it is possible to go
from one state to another.
This is not always possible.
If you must remain in a state it is called an
absorbing state.
An accounts receivable system normally places
accounts in three possible states:
State 1 (1): paid, all bills
State 2 (2): bad debt, overdue more than three months
State 3 (3): overdue less than one month
State 4 (4): overdue between one and three months
NEXT MONTH
BAD <1 1 TO 3
THIS MONTH PAID DEBT MONTH MONTHS
Paid 1 0 0 0
Bad debt 0 1 0 0
Less than 1 month 0.6 0 0.2 0.2
1 to 3 months 0.4 0.1 0.3 0.2
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
Copyright © 2012 Pearson Education 15-33
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
A= B=
0.4 0.1 0.3 0.2 0.4 0.1 0.3 0.2
A B
where
I = an identity matrix
0 = a matrix with all 0s
Copyright © 2012 Pearson Education 15-34
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 a b r r
of the matrix c is =
d c d –c a
r r
where
r = ad – bc
Copyright © 2012 Pearson Education 15-35
Absorbing States and the
Fundamental Matrix
To find the matrix F we compute:
r = ad – bc = (0.8)(0.8) – (–0.2)(–0.3) = 0.64 – 0.06 = 0.58
–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)