A Closed Form Probability Mass Function for Occupation Times in a Three-State Markov Chain ()
1. Introduction
The probability mass function of the occupation time for a Markov chain was the subject of intense research during the 50s, 60s, and 70s as seen in the work of Pedler , Darroch [2], Gabriel [3], and Good [4] and has re-emerged as a topic of interest with recent notable work by Shah [5] and Pollett [6]. The aforementioned authors, through various methods, were able to obtain the probability mass function of the occupation time for a Two-State Markov chain. In this paper, we extend the method given by Pedler and provide an explicit closed form expression for the occupation time probability mass function of a Three-State Markov chain. This new expression is the first extension beyond two states and provides much-needed insight in the search for an occupation time formula of an arbitrary M-State Markov chain.
2. Occupation time for a Three-State Markov Chain
Consider a three state time homogeneous Markov chain
with states
. Define
to be the probability of transitioning from state
to
in one step. Since
is strictly positive,
is ergodic. Further define
to be the probability that
where
. Let
,
,
be the occupation time of state
during the interval
. The initial state not being counted towards the occupation time of any state. Then given
we have
and the joint probability mass function of the occupation times by time n reads
.
Theorem 1 The probability mass function of the occupation time for a Three-State Markov chain is given by
(1)
where
Remark. In fact, as Lemma 2 shows,
is the sum of finitely many known terms.
3. Derivation of Three-State Occupation Time Probability
Mass Function
The proof of Theorem 1 is based on the following Lemmas:
Lemma 2
(2)
Proof of Lemma 2. For occupation times
, we have
and
recall that for
,
or
implies
. Then (2) simplifies to
(3)
Using
three times for
,
, and
in that specific order, (3) may be written as
(4)
Note that from
, (4) reduces to 0 for
or
, thus
ranges from
0 to
. However, we may pick an upper bound
for
without altering the final summation of (4). Then from
, (4) becomes
(5)
Applying a similar argument for
and
, (5) may be re-written as
(6)
Then from the equality of (6) and (2), the index bounds of (6) may be applied to (2) to give us the desired result. □
Lemma 3
(7)
where
denotes the indicator function on
.
Proof of Lemma 3. By factoring (7), we obtain
which can be rewritten using a geometric series as
Expand the multinomial and negative binomial(s), write (7) as
(8)
and apply the product of series convolution formula
to (8) three times for
and
to obtain
(9)
Substituting
with
respectively, (9) becomes
which completes the proof of Lemma 3. □
Proof of Theorem 1. Given Markov chain
we define
to be the initial distribution of states
at time 0. Set
and notice that
is the one-step transition probability matrix. The probability generating function of
is given by
(10)
and we define
. Since
,
, and
, (10) simplifies to
(11)
Since the spectral radius of
is exactly 1, restricting
between 0 and 1 allows us to sum (11) over
to obtain
which is equal to
(12)
where
. Defining the numerator of (12) as
and applying Lemma 3 to (12), we have
(13)
Now note that for a given
, if
then
and (11) reduces to 0. Then from the equality of (11) and (13), (13) must also be 0 and simplifies to
(14)
for
. Further note that if
or
, then
and using a similar argument for
, (14) becomes
(15)
Since (15) is another representation of (11), they are equal.
The above shows
hence by applying (12) gives
(16)
Finally, substituting the power of
with
in each individual summand in (16) and then setting
gives (1) as claimed. □
4. Illustrative Example
Consider one-step transition probability matrix and initial distribution as follows
The occupation time probabilities for
were calculated by Wolfram Mathematica implementation of (1). Furthermore, 107 Monte Carlo paths of the Markov chain during times
were simulated using C++, and the proportion of paths satisfying
were computed. The results are given in Table 1 and Table 2. Note that using the exact probabilities from Table 2 gives
Table 1. Comparison of (1) with a path simulation.
|
x = 0 |
x = 1 |
x = 2 |
x = 3 |
x = 4 |
x = 5 |
y = 0 |
0.00002925 |
0.00121556 |
0.0136948 |
0.0485930 |
0.0601875 |
0.0234375 |
y = 1 |
0.0019667 |
0.03310590 |
0.1049150 |
0.0925238 |
0.0212031 |
0 |
y = 2 |
0.0289906 |
0.12225600 |
0.1058140 |
0.0232519 |
0 |
0 |
y = 3 |
0.0897800 |
0.09565950 |
0.0221396 |
0 |
0 |
0 |
y = 4 |
0.0753021 |
0.01828400 |
0 |
0 |
0 |
0 |
y = 5 |
0.0176505 |
0 |
0 |
0 |
0 |
0 |
Path Simulation |
x = 0 |
x = 1 |
x = 2 |
x = 3 |
x = 4 |
x = 5 |
y = 0 |
0.0000289 |
0.0012255 |
0.0136814 |
0.0486363 |
0.0601069 |
0.0234127 |
y = 1 |
0.0019584 |
0.0331114 |
0.1049500 |
0.0922447 |
0.0212642 |
0 |
y = 2 |
0.0289699 |
0.1222960 |
0.1059210 |
0.0232506 |
0 |
0 |
y = 3 |
0.0897527 |
0.0956537 |
0.0221802 |
0 |
0 |
0 |
y = 4 |
0.0752589 |
0.0182716 |
0 |
0 |
0 |
0 |
y = 5 |
0.0176218 |
0 |
0 |
0 |
0 |
0 |
Table 2. Exact values obtained by (1).
|
x = 0 |
x = 1 |
x = 2 |
x = 3 |
x = 4 |
x = 5 |
y = 0 |
|
|
|
|
|
|
y = 1 |
|
|
|
|
|
0 |
y = 2 |
|
|
|
|
0 |
0 |
y = 3 |
|
|
|
0 |
0 |
0 |
y = 4 |
|
|
0 |
0 |
0 |
0 |
y = 5 |
|
0 |
0 |
0 |
0 |
0 |
5. Discussion
We would like to point out that in principle the method given in Pedler [1] could be extended to any finite-state Markov chain provided tractability of the large number of terms involved, however to the best of our knowledge no such result appears in existing literature. The derivation would be analogous to the proof of Theorem 1. Granted, Gabriel [3] and Shah [5] present a method that enumerates transition paths which is straightforward in the Two-State case, but becomes increasingly involved as the number of states grows. On the other hand, Pollett [6], Sericola [7], and Darroch [8] employ methods that could extend to any finite state Markov chain, but depend on an often unknown transition matrix between subsets of states. In contrast, Pedler’s method is conceptually straightforward, as it relies on rudimentary level identities and algebraic manipulations to obtain the key result.
Acknowledgements
The authors would like to thank the reviewers for their valuable suggestions that considerably improved the presentation of our findings in the revised version of the manuscript.