Probability and Statistics With Reliability, Queuing and Computer Science Applications: Chapter 7 On
Probability and Statistics With Reliability, Queuing and Computer Science Applications: Chapter 7 On
Kishor S. Trivedi
Visiting Professor
b
0 1
xn-1 = 1 1-b xn = 1
b
(n-1)th stage nth stage
Unconditional Probability
Finding unconditional pmf:
n-Step Transition Probability
For a DTMC, find
Events: state reaches k (from i) & reaches j (from k)
are independent due to the Markov property (i.e. no
history)
pik(m)
pkj(n) j
k
0 m m+n
Or,
Proof follows easily by using induction, that is, assuming that the
above is true for Pn-1. Then,
Pn = P. Pn-1
Computing Marginal pmf
Example of a cascade of digital comm. channels: each stage described
by a 2-state DTMC, We want to find p(n) (a=0.25 & b=0.5),
Assuming initial pmf as, p(0) = [p0(0) p1(0)] = [1/3 2/3] gives,
For a transient state (i), visit count needs to finite, which requires pji(n)
0 as n infinity
DTMC State Classification
(contd.)
State i is a said to be recurrent if, starting from state i, the process
eventually returns to the state i with probability 1.
Let,
state in C.
Closed set c2
Closed set ck
Irreducible Markov Chains
Markov chain states can be partitioned into k distinct subsets:
c1, c2, .., ck-1, ck , such that
ci, i=1,2,..k-1 are closed set of recurrent nun-null states.
ck is the set of all transient states.
If ci contains only one state, then ci is an absorbing state
If k=2 & ck empty, then c1 forms an irreducible Markov chain
Irreducible Markov chain: is one in which every state can be
reached from every other state in a finite no. of steps, i.e., for
all i,j ε I, for some integer n > 0, pij(n) > 0. Examples:
Cascade of digital comm. channels DTMC is irreducible
0 1
Irreducible DTMC (contd.)
If one state of an irreducible DTMC is recurrent aperiodic, then
so are all the other states. Same result if periodic or transient.
For a finite aperiodic irreducible Markov chain, pij(n) becomes
independent of i and n as n goes to infinity.
0 1
Σ Channel
Slotted Aloha contd.
s1
0.6 0.4
0.2
s2 s3
0.6 0.4
s4
s5
1
DTMC with Absorbing States
M contains useful information.
Xij : rv denoting the number to visits to j starting from i
E [Xij] = mij (for i, j = 1,2,…, n-1) . Need to prove this
statement.
There are three distinct situations that can be enumerated
{
δij , occurs with prob. pij
si sj
Xij = Xkj + δij , occurs with prob. Pik
i
sk k=1,2,..n
(δij : term accounts for i=j case)
sn
Architecture: DTMC
pij i j
Pr{transfer of control from module to module }
Ri
Failure behavior: component reliability
Solution method: Hierarchical
Compute the expected number
of times Vi each component is executed using
n
Vi i V j p ji
j 1
Equation (7.76)
Terminating Applications
Cont’d
V
Ri i can be considered as the equivalent reliability
of the component that takes into account the
component utilization n
V
R Ri i
i 1
System reliability becomes
Architecture-Based
Analysis
Example
Terminating application
1 architecture described by
1 DTMC with transition
probability matrix P=[pij]
p23 2 p24
component reliabilities are:
R1 R2 R3 R4 R5
3 1 4
0.999 0.980 0.990 0.995 0.999
1
5
Architecture-Based Analysis
Example (contd.)
Solution method - Hierarchical
Vi is a clear indication of
p24 0.8 0.2 component usage
V1 1 1 when p24=0.8 components 2
and 4 are invoked within a loop
V2 5 1.25 many times which results in
V3 1 1 a significantly higher expected
number of executions compared
V4 4 0.25 to the case when p24=0.2
R4 1-R4
3 4 F
1-R3
R3
1-R5
5
R5 S