Next Article in Journal
Repdigits as Product of Fibonacci and Tribonacci Numbers
Next Article in Special Issue
Waiting Time Problems for Patterns in a Sequence of Multi-State Trials
Previous Article in Journal
A Constructive Scheme for a Common Coupled Fixed Point Problems in Hilbert Space
Previous Article in Special Issue
The Effect of Setting a Warning Vaccination Level on a Stochastic SIVS Model with Imperfect Vaccine
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On First-Passage Times and Sojourn Times in Finite QBD Processes and Their Applications in Epidemics

by
Antonio Gómez-Corral
1,*,
Martín López-García
2,
Maria Jesus Lopez-Herrero
3 and
Diana Taipe
1
1
Department of Statistics and Operations Research, School of Mathematical Sciences, Plaza de Ciencias 3, Complutense University of Madrid, 28040 Madrid, Spain
2
Department of Applied Mathematics, School of Mathematics, University of Leeds, Leeds LS2 9JT, UK
3
Department of Statistics and Data Science, School of Statistical Studies, Avda. Puerta de Hierro s/n, Complutense University of Madrid, 28040 Madrid, Spain
*
Author to whom correspondence should be addressed.
Mathematics 2020, 8(10), 1718; https://doi.org/10.3390/math8101718
Submission received: 8 September 2020 / Revised: 26 September 2020 / Accepted: 28 September 2020 / Published: 7 October 2020
(This article belongs to the Special Issue Queue and Stochastic Models for Operations Research)

Abstract

:
In this paper, we revisit level-dependent quasi-birth-death processes with finitely many possible values of the level and phase variables by complementing the work of Gaver, Jacobs, and Latouche (Adv. Appl. Probab. 1984), where the emphasis is upon obtaining numerical methods for evaluating stationary probabilities and moments of first-passage times to higher and lower levels. We provide a matrix-analytic scheme for numerically computing hitting probabilities, the number of upcrossings, sojourn time analysis, and the random area under the level trajectory. Our algorithmic solution is inspired from Gaussian elimination, which is applicable in all our descriptors since the underlying rate matrices have a block-structured form. Using the results obtained, numerical examples are given in the context of varicella-zoster virus infections.

1. Introduction

In this paper, we shall be concerned with time-homogeneous continuous-time Markov chains X = { ( I ( t ) , J ( t ) ) : t [ 0 , ) } that take values in a bivariate state space S = { ( i , j ) : i { 0 , , N } , j { 0 , , M i } } , for integers M i N 0 with i { 0 , , N } and N N , and have an irreducible infinitesimal generator Q with block-tridiagonal representation
Q = Q 0 , 0 Q 0 , 1 Q 1 , 0 Q 1 , 1 Q 1 , 2 Q N 1 , N 2 Q N 1 , N 1 Q N 1 , N Q N , N 1 Q N , N ,
where the sub-matrices Q i , i are of dimension ( 1 + M i ) × ( 1 + M i ) , for i { max { 0 , i 1 } , i , min { i + 1 , N } } , i.e., from any state ( i , j ) , process X can access only states ( i , k ) with | i i | 1 and k M i , whence I ( t ) can change its value by { 1 , 0 , 1 } only. These Markov chains are referred to as finite quasi-birth-death (QBD) processes, being its first variable I ( t ) called the level, and the second one J ( t ) the phase; see e.g. Gaver et al. [1]. They are capable of modeling, in a unified and algorithmically tractable manner, relevant systems, such as queueing models (Baumann and Sandmann [2]; Gun and Makowski [3]; Perel and Yechiali [4]; Ye and Li [5]), communication networks (Artalejo and Gómez-Corral [6]; Artalejo and Lopez-Herrero [7]), reliability and manufacturing systems (Chakravarthy and Gómez-Corral [8]; Moghaddass et al. [9]), and epidemic models (Amador and Gómez-Corral [10]; Artalejo et al. [11]; Economou et al. [12]; Gamboa and Lopez-Herrero [13]), among others.
The properties of finite QBD processes have been studied extensively in continuous and discrete time. For a comprehensive discussion, see, e.g., the monograph of Latouche and Ramaswami (Chapter 10 in Reference [14]) and references therein. Most of the theoretical work so far carried out in this setting is concerned with the stationary probability vector. More concretely, Hajek [15] observes that, under certain conditions for the underlying transition matrices, the stationary vector of a finite level-independent QBD process has a mixed matrix-geometric form; for a related numerical method that exploits invariant subspace computations, see the paper by Akar et al. [16]. Gaver et al. (Section 2 in Reference [1]) use linear level reduction, which is a refined probabilistic justification for block-Gaussian elimination (Latouche and Ramaswami (Remark 10.1.6 in Reference [14]); Stewart [17]). Ye and Li [5] (see also Latouche and Ramaswami (Section 10.2 in Reference [14])) propose an efficient computational approach, termed folding algorithm, which is seen to be a form of odd-even reduction, and Naoumov [18] presents an algebraically matrix-multiplicative approach for a finite QBD process. L U -type and U L -type R G -factorizations are used by Li and Cao (Section 3.1 in Reference [19]) in an attempt to clarify the relations among those results in Gaver et al. [1], Hajek [15], and Naoumov [18]. Elhafsi and Molle [20] present a matrix-geometric expression for the stationary vector of a finite level-independent QBD process in terms of a set of rate matrices and compare their solution with several existing solution methods, including the approaches of de Nitto Persone and Grassi [21], Gun and Makowski [3], and Hajek [15], and a more general solution of Le Boudec [22] for upper block Hessenberg matrices. Other approaches are related to the group inverse (da Silva Soares and Latouche [23]) and the matrix continued fraction algorithm (Baumann and Sandmann [24]).
Despite their simplicity and their success in stochastic modeling, there have been few contributions dealing with random descriptors different from the stationary probability vector in the theory of finite QBD processes. Gaver et al. (Sections 3–4 in Reference [1]) use Laplace-Stieltjes transforms of first-passage times from level l ( i 1 ) to level l ( i ) , where the i th level is defined as l ( i ) = { ( i , j ) : j { 0 , , M i } } , to derive a product-form expression for the Laplace-Stieltjes transform of the first-passage time from level l ( i 1 ) to higher levels l ( i ) , with i { i , , N } , and similar results for the first-passage times to lower levels. An up-integral functional is defined in the paper by Li and Cao [19,] (Section 4) and explicit expressions for the Laplace transforms of its conditional distributions and moments are written in terms of the underlying R- and G-measures. Li and Sheng [25] propose and implement a generalized folding algorithm for transient analysis of a finite QBD process, which entails the solution of x Q = a , where a is a predetermined boundary condition vector, and present comprehensive numerical examples on transient queueing behavior with correlated arrivals. Based on the R- and G-measures, Shin [26] derives an algorithm for computing the fundamental matrix of a finite QBD process with absorbing states and shows how the resulting algorithm can be applied to absorption probabilities, sojourn time distributions, the busy period and the stationary vector in the multiprogramming model discussed by Neuts [27] (pp. 245–253) and the M / M / c retrial queue with finite orbit capacity (Artalejo and Gómez-Corral (Chapter 4 in Reference [28])). Recently, Gómez-Corral and López-García [29] use matrix calculus and exploit the specific structure of the infinitesimal generator Q in (1) to provide the sensitivities and the elasticities of finite QBD processes with respect to model parameters, with special emphasis on first-passage times to level l ( 0 ) and hitting probabilities, the maximum level visited by the process before reaching states in level l ( 0 ) and the stationary vector, and illustrate the approach by means of applying multi-type versions of the susceptible-infective (SI) and susceptible-infective-susceptible (SIS) epidemic models to the spread of antibiotic-sensitive and antibiotic-resistant bacterial strains in a hospital ward.
The objective of this paper was to complement the work of Gaver et al. [1] by showing here that, in the spirit of algorithmic probability, the fundamental ideas of Gaver et al. [1] extend beyond the stationary distribution and first-passage times to higher and lower levels, and apply to more complex descriptors arising from epidemic models. The methods we shall follow in this paper are suggested by some related work of Amador et al. [30], Baumann and Sandmann [31], Lefèvre and Simon [32], and Neuts [33], where, for instance, the random length of an outbreak and the final size of the epidemic in SIR-type and SIS-type epidemic models correspond to the absorption time and the hitting probabilities in a suitably defined absorbing QBD process, and related block-structured Markov processes. In order to simplify the presentation throughout the paper, we shall assume that ( 1 , j ) is the initial state of process X , for phases j { 0 , , M 1 } , which is related to an invasion time in the spread of a disease.
The paper is organized as follows. In Section 2, we derive recursive expressions for the hitting probabilities of restricted versions of process X . In Section 3, we characterize the probability laws of the number of upcrossings from level l ( K 1 ) to states in l ( K ) , for a predetermined threshold K { 2 , , N } , and the total time spent at states in higher levels before reaching states in level l ( 0 ) . In Section 4, we study the random area under the trajectory of the integer-valued random variable I ( t ) before process X visits states in l ( 0 ) for the first time. Numerical examples are given in Section 5 in the setting of varicella-zoster virus infections, and concluding remarks follow in Section 6.

2. First-Passage Times to Higher Levels and Restricted Hitting Probabilities

Let us consider the first-passage time η ( 1 , j ) , K to level l ( K ) from state ( 1 , j ) , for a predetermined integer K { 2 , , N } , and the first-passage time η ¯ ( 1 , j ) , 0 to level l ( 0 ) from state ( 1 , j ) , with j { 0 , , M 1 } . For phases n { 0 , , M K } , we let P ( 1 , j ) , K ( n ) denote the restricted hitting probability
P ( I ( η ( 1 , j ) , K ) , J ( η ( 1 , j ) , K ) ) = ( K , n ) , η ( 1 , j ) , K < η ¯ ( 1 , j ) , 0 | ( I ( 0 ) , J ( 0 ) ) = ( 1 , j ) ,
which is related to the dynamics of process X evolving on those sample paths satisfying η ( 1 , j ) , K < η ¯ ( 1 , j ) , 0 .
Remark 1.
Note that the probability law of η ( 1 , j ) , K (respectively, η ¯ ( 1 , j ) , 0 ) corresponds to the conditional distribution of the random variable τ n , m defined in Section 3 of Reference [1] with n = 2 and m = K (respectively, τ ¯ m , n defined in Section 4 of Reference [1] with m = n = 0 ), given that ( I ( 0 ) , J ( 0 ) ) = ( 1 , j ) . A product-form expression for the Laplace-Stieltjes transform of η ( 1 , j ) , K and recursive relations for its expectation (respectively, the expectation of η ¯ ( 1 , j ) , 0 ) can be then obtained from Equations (3.9) and (3.12)–(3.14) (respectively, (4.4)–(4.6)) of Reference [1].
In order to derive expressions for the restricted hitting probabilities { P ( 1 , j ) , K ( n ) : n { 0 , , M K } } , it is useful to consider an auxiliary absorbing process X ( K ) = { X ( t ) : t 0 } that takes values in the state space S ( K ) = { 0 } i = 1 K 1 l ( i ) { K } , where 0 and K are assumed to be absorbing states and i = 1 K 1 l ( i ) is a class of transient states. The infinitesimal generator of X ( K ) has the block-structured form
Q ( K ) = 0 0 K 1 + i = 1 K 1 M i T 0 t 0 ( K ) T ( K ) t K ( K ) 0 0 K 1 + i = 1 K 1 M i T 0 ,
where the column vector 0 a is the null vector of order a, T denotes transposition, the sub-matrix T ( K ) is obtained from Q by removing rows and columns associated with states in l ( 0 ) and i = K N l ( i ) , the column vectors t 0 ( K ) and t K ( K ) have the form
t 0 ( K ) = Q 1 , 0 1 1 + M 0 0 K 2 + i = 2 K 1 M i , and t K ( K ) = 0 K 2 + i = 1 K 2 M i Q K 1 , K 1 1 + M K ,
and the column vector 1 a is the unit vector of order a. It is clear that, starting from states in i = 1 K 1 l ( i ) , the process X ( K ) defined by (2) is the restriction of process X to the states in i = 1 K 1 l ( i ) before the first entrance into states in l ( 0 ) i = K N l ( i ) . In particular, it is found that
P ( η ( 1 , j ) , K < η ¯ ( 1 , j ) , 0 ) = e K 1 + i = 1 K 1 M i ( 1 + j ) T 1 ( K ) t K ( K ) ,
where e a ( b ) is a row vector of order a, in which entries are all equal to 0, except the bth entry which equals 1. The proof of (3) is based on the fact that the transition function P ( X ( t ) = K | X ( 0 ) = ( 1 , j ) ) of process X ( K ) is given by
e K 1 + i = 1 K 1 M i ( 1 + j ) I K 1 + i = 1 K 1 M i exp { T ( K ) t } T 1 ( K ) t K ( K ) ,
which yields P ( η ( 1 , j ) , K < η ¯ ( 1 , j ) , 0 ) by taking the limit as t , since the sub-matrix T ( K ) is stable and the real parts of its eigenvalues are all strictly negative.
By appealing to statement (b) of Lemma 1 in the paper by Gaver et al. [1], it is noted that the matrix T 1 ( K ) records expected total times that process X spends at states in i = 1 K 1 l ( i ) before X visits states in either l ( 0 ) or l ( K ) for the first time, provided that X starts from any initial state in i = 1 K 1 l ( i ) . Furthermore, a slight modification of statement (c) of Lemma 1 in Reference [1] permits to establish that, by denoting by T K ( K ) the matrix recording infinitesimal rates associated with transitions to states in l ( K ) from i = 1 K 1 l ( i ) , the matrix T 1 ( K ) T K ( K ) consists of first passage probabilities to level l ( K ) , given that X starts from any state in i = 1 K 1 l ( i ) .
This means that the ( 1 + j ) th row of T 1 ( K ) T K ( K ) consists of the restricted hitting probabilities P ( 1 , j ) , K ( n ) , for phases n { 0 , , M K } , and consequently, recursive relations for these probabilities can be derived from Theorem 4.2.4 of the book by Hunter [34] by observing that T ( K ) can be written in terms of the sub-matrix T ( K 1 ) .
Theorem 1.
For a predetermined integer K { 2 , , N } and an initial state ( 1 , j ) with j { 0 , , M 1 } , the restricted hitting probability P ( 1 , j ) , K ( n ) is specified by
P ( 1 , j ) , K ( n ) = u ( j , K ) Q K 1 , K e 1 + M K T ( 1 + n ) ,
for phases n { 0 , , M K } , where
u ( j , K ) = e 1 + M 1 ( 1 + j ) Q 1 , 1 1 , i f K = 2 , e K 2 + i = 1 K 2 M i ( 1 + j ) V 1 , 2 ( K ) , i f K { 3 , , N } .
Moreover, the sub-matrices V 1 , 2 ( K ) , for integers K { 3 , , N } , are given by V 1 , 2 ( K ) = T 1 ( K 1 ) U 1 , 2 ( K ) V 2 , 2 ( K ) , where
V 2 , 2 ( K ) = Q K 1 , K 1 U 2 , 1 ( K ) ( T 1 ( K 1 ) ) U 1 , 2 ( K ) 1 , U 1 , 2 ( K ) = 0 ( K 3 + i = 1 K 3 M i ) × ( 1 + M K 1 ) Q K 2 , K 1 , U 2 , 1 ( K ) = 0 ( 1 + M K 1 ) × ( K 3 + i = 1 K 3 M i ) , Q K 1 , K 2 ,
and satisfy
T 1 ( K ) = V 1 , 1 ( K ) V 1 , 2 ( K ) V 2 , 1 ( K ) V 2 , 2 ( K ) ,
with V 2 , 1 ( K ) = V 2 , 2 ( K ) U 2 , 1 ( K ) ( T 1 ( K 1 ) ) and V 1 , 1 ( K ) = T 1 ( K 1 ) ( I K 2 + i = 1 K 2 M i U 1 , 2 ( K ) V 2 , 1 ( K ) ) .
This has the following immediate consequence.
Corollary 1.
For a predetermined integer K { 2 , , N } and an initial state ( 1 , j ) with j { 0 , , M 1 } , P ( η ( 1 , j ) , K < η ¯ ( 1 , j ) , 0 ) = u ( j , K ) Q K 1 , K 1 1 + M K .
Theorem 1 and Corollary 1 suggest an algorithmic solution to compute the restricted hitting probabilities { P ( 1 , j ) , K ( n ) : n { 0 , , M K } } and the probability P ( η ( 1 , j ) , K < η ¯ ( 1 , j ) , 0 ) by using Equations (4) and (5) recursively; see Algorithm A1 (Appendix A).
Remark 2.
For the sake of completeness, we note that the restricted hitting probability P ( i , j ) , K ( n ) , for any initial state ( i , j ) with j { 0 , , M i } and i { 2 , , K 1 } , can be similarly derived from the probabilistic interpretation of the matrix T 1 ( K ) T K ( K ) , in such a way that
P ( i , j ) , K ( n ) = T 1 ( K ) T K ( K ) M i 1 + i = 1 i 1 M i + 1 + j , 1 + n ,
for phases n { 0 , , M K } , where we denote by ( A ) l , l the ( l , l ) -th entry of matrix A . Therefore, a general version of Algorithm A1 (Appendix A) can be written by exploiting the block-structured form of T 1 ( K ) in (5), which is left to the interested reader.

3. Number of Upcrossings and Sojourn Times

We shall examine here the number μ ( 1 , j ) , K of upcrossings from states in level l ( K 1 ) to level l ( K ) (i.e., the number of times the level variable I ( t ) increases its value from K 1 to K) and the total time γ ( 1 , j ) , K that process X spends at states in i = K N l ( i ) before the first entrance of X into states in l ( 0 ) , provided that ( 1 , j ) is the initial state.
We note that these descriptors can have different interpretations depending on the particular QBD process of interest. For example, in an epidemic model (see Section 5), if the level l ( K ) consists of states in which exactly K infected hosts are present in the population, the number μ ( 1 , j ) , K of upcrossings is equivalent to the number of times the threshold number K of infected hosts is reached during a given outbreak. This can be relevant when, in particular, K represents a threshold level of infectives at which some mitigation strategies are implemented, or when K represents a maximum number of infectives for whom there is actual capacity in the healthcare system to deal with. In these scenarios, it is also relevant to quantify the total amount of time γ ( 1 , j ) , K that the epidemic stays at or above level l ( K ) , which would quantify the time during which the mitigation strategies are in place, as a measure of cost, or the time period during which the healthcare capacity is exceeded.
To begin with, we establish the connection between μ ( 1 , j ) , K and the numbers μ ( i , l ) , K of upcrossings from level l ( K 1 ) to level l ( K ) before a visit to l ( 0 ) , provided that ( i , l ) is the initial state, for phases l { 0 , , M i } and integers i { K 1 , K } .
Theorem 2.
For a predetermined integer K { 2 , , N } and an initial state ( 1 , j ) with j { 0 , , M 1 } , the mass function of the number μ ( 1 , j ) , K of upcrossings is given by the probabilities
P μ ( 1 , j ) , K = 0 = 1 u ( j , K ) Q K 1 , K 1 1 + M K , P μ ( 1 , j ) , K = m = n = 0 M K P ( 1 , j ) , K ( n ) P μ ( K , n ) , K = m 1 , m N ,
where the probabilities { P ( μ ( K , n ) , K = m ) : m N 0 } , for phases n { 0 , , M K } , can be expressed as
P μ ( K , n ) , K = m = l = 0 M K 1 Q ( K , n ) , K 1 ( l ) P μ ( K 1 , l ) , K = m , m N 0 .
In these expressions, the probabilities { P ( μ ( K 1 , l ) , K = m ) : m N 0 } , for phases l { 0 , , M K 1 } , satisfy
P μ ( K 1 , l ) , K = 0 = 1 e 1 + M K 1 ( 1 + l ) W ( K 1 ) Q K 1 , K 1 1 + M K , P μ ( K 1 , l ) , K = m = n = 0 M K P ( K 1 , l ) , K ( n ) P μ ( K , n ) , K = m 1 , m N ,
where W ( K 1 ) = Q 1 , 1 1 if K = 2 , and V 2 , 2 ( K ) if K { 3 , , N } , and Q ( K , n ) , K 1 ( l ) is the probability that, starting from state ( K , n ) , process X visits the state ( K 1 , l ) when it enters level l ( K 1 ) for the first time.
Proof. 
Let us consider what must happen in order for the event { μ ( 1 , j ) , K = m } , for integers m N , to occur. Conditioning on the first entrance of X into l ( K ) before a visit to l ( 0 ) , the process X is forced to return to level l ( K ) , starting from states in l ( K ) , by means of m 1 upcrossings from l ( K 1 ) to l ( K ) before a visit to l ( 0 ) and a number of downcrossings from l ( K + 1 ) to l ( K ) , which are not relevant for the event { μ ( 1 , j ) , K = m } to occur. Then, we may obtain (7) by conditioning on the state ( K , n ) visited by X in its first entrance into l ( K ) , starting from ( 1 , j ) , avoiding l ( 0 ) . Note that, in the special case m = 0 , process X must enter level l ( 0 ) , starting from ( 1 , j ) , before moving up to l ( K ) , which occurs with probability P ( η ¯ ( 1 , j ) , 0 < η ( 1 , j ) , K ) = 1 u ( j , K ) Q K 1 , K 1 1 + M K , by Corollary 1.
Equation (8) is similarly obtained by conditioning on the state ( K 1 , l ) visited by process X in its first entrance into level l ( K 1 ) , starting from state ( K , n ) , whereas (9) is derived from the above argument by replacing the initial state ( 1 , j ) by ( K 1 , l ) . This completes the proof. □
In evaluating the sequence { Q ( K , n ) , K 1 ( l ) : l { 0 , , M K 1 } } of first-passage probabilities, we may observe that they correspond to the absorption probabilities into states in level l ( K 1 ) in an auxiliary absorbing process X ˜ ( K ) that, starting from ( K , n ) , takes values in the state space S ˜ ( K ) = l ( K 1 ) i = K N l ( i ) and has the following block-structured infinitesimal generator:
Q ˜ ( K ) = 0 ( 1 + M K 1 ) × ( 1 + M K 1 ) 0 ( 1 + M K 1 ) × ( N K + 1 + i = K N M i ) T ˜ K 1 ( K ) T ˜ ( K ) ,
where
T ˜ K 1 ( K ) = Q K , K 1 0 ( N K + i = K + 1 N M i ) × ( 1 + M K 1 ) ,
and the sub-matrix T ˜ ( K ) is obtained from Q by removing rows and columns associated with states in i = 0 K 1 l ( i ) . Specifically, it is readily seen that the matrix T ˜ 1 ( K ) T ˜ K 1 ( K ) consists of first-passage probabilities to states in level l ( K 1 ) , provided that process X starts from states in i = K N l ( i ) . This yields
Q ( K , n ) , K 1 ( l ) = e 1 + M K ( 1 + n ) V ˜ 1 , 1 ( K ) Q K , K 1 e 1 + M K 1 T ( 1 + l ) ,
for phases n { 0 , , M K } and l { 0 , , M K 1 } , where V ˜ 1 , 1 ( K ) = ( Q K , K ( 1 δ K , N ) U ˜ 1 , 2 ( K ) ( T ˜ 1 ( K + 1 ) ) U ˜ 2 , 1 ( K ) ) 1 , δ a , b is the Kronecker’s delta, and the matrices U ˜ 1 , 2 ( K ) and U ˜ 2 , 1 ( K ) are given by
U ˜ 1 , 2 ( K ) = Q K , K + 1 , 0 ( 1 + M K ) × ( N K 1 + i = K + 2 N M i ) , U ˜ 2 , 1 ( K ) = Q K + 1 , K 0 ( N K 1 + i = K + 2 N M i ) × ( 1 + M K ) .
Algorithm A2 (Appendix B) uses the above recursive relations and iteratively computes probabilities Q ( K , n ) , K 1 ( l ) , for phases n { 0 , , M K } and l { 0 , , M K 1 } , by observing that the matrix T ˜ 1 ( N ) is initially assigned the matrix Q N , N 1 .
The probability generating function φ ( 1 , j ) , K ( z ) = m = 0 z m P ( μ ( 1 , j ) , K = m ) of μ ( 1 , j ) , K can be derived from (7)–(9) and is given by
φ ( 1 , j ) , K ( z ) = 1 u ( j , K ) Q K 1 , K 1 1 + M K + z n = 0 M K P ( 1 , j ) , K ( n ) φ ( K , n ) , K ( z ) ,
for | z | 1 , where the generating functions φ ( K , n ) , K ( z ) , for phases n { 0 , , M K } , satisfy
φ ( K , n ) , K ( z ) = l = 0 M K 1 Q ( K , n ) , K 1 ( l ) φ ( K 1 , l ) , K ( z ) ,
for | z | 1 , with
φ ( K 1 , l ) , K ( z ) = 1 e 1 + M K 1 ( 1 + l ) W ( K 1 ) Q K 1 , K 1 1 + M K + z n = 0 M K P ( K 1 , l ) , K ( n ) φ ( K , n ) , K ( z ) ,
for | z | 1 and phases l { 0 , , M K 1 } . By differentiating these equalities successively with respect to z and setting z = 1 , we may obtain the column vectors m 1 ( k ) of factorial moments E [ μ ( 1 , j ) , K ( μ ( 1 , j ) , K 1 ) ( μ ( 1 , j ) , K k + 1 ) ] as follows:
m 1 ( k ) = P 1 , K k m K ( k 1 ) + m K ( k ) , k N ,
where the ( 1 + j , 1 + n ) -th entry of matrix P 1 , K is given by P ( 1 , j ) , K ( n ) , for phases j { 0 , , M 1 } and n { 0 , , M K } , and the column vectors m K ( k ) are obtained iteratively from the equality
I 1 + M K P K , K 1 P K 1 , K m K ( k ) = k P K , K 1 P K 1 , K m K ( k 1 ) , k N ,
with m K ( 0 ) = 1 1 + M K . In this equality, the ( 1 + n , 1 + l ) -th entry of P K , K 1 and the ( 1 + l , 1 + n ) -th entry of P K 1 , K are specified by the probabilities Q ( K , n ) , K 1 ( l ) in (10) and P ( K 1 , l ) , K ( n ) in (6), respectively, for phases l { 0 , , M K 1 } and n { 0 , , M K } .
Let us now turn to the probability law of the random variable γ ( 1 , j ) , K . The probability law of γ ( 1 , j ) , K has the discrete contribution
P ( γ ( 1 , j ) , K = 0 ) = 1 u ( j , K ) Q K 1 , K 1 1 + M K ,
since P ( γ ( 1 , j ) , K = 0 ) = P ( η ¯ ( 1 , j ) , 0 < η ( 1 , j ) , K ) , and a continuous contribution, which is linked the restricted Laplace-Stieltjes transform
ψ ( 1 , j ) , K ( s ) = E e s γ ( 1 , j ) , K 1 { η ( 1 , j ) , K < η ¯ ( 1 , j ) , 0 } ,
for R e ( s ) 0 .
By conditioning on the first state visited in l ( K ) before a visit to l ( 0 ) , it is seen that
ψ ( 1 , j ) , K ( s ) = n = 0 M K P ( 1 , j ) , K ( n ) l = 0 M K 1 θ ( K , n ) , K 1 ( s ; l ) E e s γ ( K 1 , l ) , K ,
for R e ( s ) 0 , where γ ( K 1 , l ) , K is the total time that process X spends at states in i = K N l ( i ) before a visit to l ( 0 ) , provided that ( K 1 , l ) is the initial state, and θ ( K , n ) , K 1 ( s ; l ) is the restricted Laplace-Stieltjes transform of the first-passage time ζ ( K , n ) , K 1 ( l ) to level l ( K 1 ) , provided that ( K , n ) is the initial state and the first state visited in level l ( K 1 ) is ( K 1 , l ) , for phases n { 0 , , M K } and l { 0 , , M K 1 } . Note that ζ ( K , n ) , K 1 ( l ) is a defective random variable with P ( ζ ( K , n ) , K 1 ( l ) < ) = Q ( K , n ) , K 1 ( l ) .
Theorem 3 tells us how to compute the column vectors Θ K , K 1 ( s ; l ) , for l { 0 , , M K 1 } , with ( 1 + n ) th entry given by θ ( K , n ) , K 1 ( s ; l ) , for n { 0 , , M K } , in terms of the Laplace-Stieltjes transforms θ ( i , n ) , K 1 ( s ; l ) of the first-passage time ζ ( i , n ) , K 1 ( s ; l ) to level l ( K 1 ) , provided that ( i , n ) is the initial state and the first state visited by process X in level l ( K 1 ) is ( K 1 , l ) , for phases n { 0 , , M K } and l { 0 , , M K 1 } , and integers i { K + 1 , , N } . From now on we denote by q ( i , j ) , ( i , j ) the ( 1 + j , 1 + j ) -th entry of the sub-matrix Q i , i and by q ( i , j ) the ( 1 + j , 1 + j ) -th entry of sub-matrix Q i , i , for phases j { 0 , , M i } and j { 0 , , M i } , and integers i { max { 0 , i 1 } , i , min { i + 1 , N } } .
Theorem 3.
For phases l { 0 , , M K 1 } , the column vector Θ K , K 1 ( s ; l ) is determined from the equality
Θ K , K 1 ( s ; l ) = g K ( s ; l ) + ( 1 δ K , N ) G K 1 ( s ) Q K , K + 1 Θ K + 1 , K 1 ( s ; l ) ,
for R e ( s ) 0 , where the column vector Θ K + 1 , K 1 ( s ; l ) is evaluated, starting from Θ N , K 1 ( s ; l ) = g N ( s ; l ) , from the relations Θ i , K 1 ( s ; l ) = g i ( s ; l ) + G i 1 ( s ) Q i , i + 1 Θ i + 1 , K 1 ( s ; l ) , for i { K + 1 , , N 1 } , and the matrices G i ( s ) and the column vectors g i ( s ; l ) satisfy
G i ( s ) = s I 1 + M i Q i , i ( 1 δ i , K ) Q i , i 1 G i 1 1 ( s ) Q i 1 , i , g i ( s ; l ) = G i 1 ( s ) Q i , i 1 δ i , K e 1 + M K 1 ( 1 + l ) + ( 1 δ i , K ) g i 1 ( s ; l ) ,
for integers i { K , , N } .
Proof. 
By conditioning on the first state visited by process X after leaving ( K , n ) , it is found that
θ ( K , n ) , K 1 ( s ; l ) = q ( K , n ) , ( K 1 , l ) s + q ( K , n ) + n = 0 , n n M K q ( K , n ) , ( K , n ) s + q ( K , n ) θ ( K , n ) , K 1 ( s ; l ) + ( 1 δ K , N ) n = 0 M K + 1 q ( K , n ) , ( K + 1 , n ) s + q ( K , n ) θ ( K + 1 , n ) , K 1 ( s ; l ) ,
for phases n { 0 , , M K } and l { 0 , , M K 1 } , and the sequences of Laplace-Stieltjes transforms { θ ( i , n ) , K 1 ( s ; l ) : l { 0 , , M K 1 } } , for phases n { 0 , , M i } and integers i { K + 1 , , N } with K { 2 , , N 1 } , satisfy
θ ( i , n ) , K 1 ( s ; l ) = n = 0 M i 1 q ( i , n ) , ( i 1 , n ) s + q ( i , n ) θ ( i 1 , n ) , K 1 ( s ; l ) + n = 0 , n n M i q ( i , n ) , ( i , n ) s + q ( i , n ) θ ( i , n ) , K 1 ( s ; l ) + ( 1 δ i , N ) n = 0 M i + 1 q ( i , n ) , ( i + 1 , n ) s + q ( i , n ) θ ( i + 1 , n ) , K 1 ( s ; l ) .
By using the column vectors Θ i , K 1 ( s ; l ) , for l { 0 , , M K 1 } , with entries θ ( i , n ) , K 1 ( s ; l ) , for n { 0 , , M i } and integers i { K , , N } , the above equations can be rewritten in matrix form as
s I 1 + M i Q i , i Θ i , K 1 ( s ; l ) = Q i , i 1 δ i , K e 1 + M K 1 ( 1 + l ) + ( 1 δ i , K ) Θ i 1 , K 1 ( s ; l ) + ( 1 δ i , N ) Q i , i + 1 Θ i + 1 , K 1 ( s ; l ) ,
for phases l { 0 , , M K 1 } and integers i { K , , N } , from which the theorem follows by block-Gaussian elimination. □
In a similar manner to (11), the Laplace-Stieltjes transform of γ ( K 1 , l ) , K can be expressed as
E e s γ ( K 1 , l ) , K = P ( μ K 1 , l ) , K = 0 ) + ψ ( K 1 , l ) , K ( s ) ,
for R e ( s ) 0 and phases l { 0 , , M K 1 } , where ψ ( K 1 , l ) , K ( s ) is the restricted Laplace-Stieltjes transform of γ ( K 1 , l ) , K on the sample paths of X verifying η ( K 1 , l ) , K < η ¯ ( K 1 , l ) , 0 . From Equations (11)–(13) and the relation
ψ ( K 1 , l ) , K ( s ) = n = 0 M K P ( K 1 , l ) , K ( n ) l = 0 M K 1 θ ( K , n ) , K 1 ( s ; l ) E e s γ ( K 1 , l ) , K ,
for phases l { 0 , , M K 1 } , it is seen that the column vector Ψ 1 , K ( s ) with entries ψ ( 1 , j ) , K ( s ) , for j { 0 , , M 1 } , is given by
Ψ 1 , K ( s ) = P 1 , K Θ ¯ K , K 1 ( s ) p K 1 + Ψ K 1 , K ( s ) ,
for R e ( s ) 0 , with
Ψ K 1 , K ( s ) = I 1 + M K 1 P K 1 , K Θ ¯ K , K 1 ( s ) 1 P K 1 , K Θ ¯ K , K 1 ( s ) p K 1 ,
where the ( 1 + n , 1 + l ) -th entry of the matrix Θ ¯ K , K 1 ( s ) records the Laplace-Stieltjes transform θ ( K , n ) , K 1 ( s ; l ) of ζ ( K , n ) , K 1 ( l ) , for n { 0 , , M K } and l { 0 , , M K 1 } , and the ( 1 + l ) th entry of the column vector p K 1 is given by P ( μ K 1 , l ) , K = 0 ) , for l { 0 , , M K 1 } . We may also observe that the matrix Θ ¯ K , K 1 ( s ) has the form
Θ ¯ K , K 1 ( s ) = ( Θ K , K 1 ( s ; 0 ) , , Θ K , K 1 ( s ; M K 1 ) ) ,
where the column vectors Θ K , K 1 ( s ; l ) , for l { 0 , , M K 1 } , can be derived from Theorem 3; see Algorithm A3 (Appendix C).
From (14) and (15), it is found that the following relations hold for the column vectors Γ k , K ( k ) = ( 1 ) k d k Ψ k , K ( s ) / d s k | s = 0 , with k { 1 , K 1 } :
Γ 1 , K ( k ) = P 1 , K Θ ¯ K , K 1 ( k ) p K 1 + k = 0 k k k Θ ¯ K , K 1 ( k ) Γ K 1 , K ( k k ) , k N , Γ K 1 , K ( k ) = I 1 + M K 1 P K 1 , K P K , K 1 1 P K 1 , K × Θ ¯ K , K 1 ( k ) p K 1 + ( 1 δ k , 0 ) k = 1 k k k Θ ¯ K , K 1 ( k ) Γ K 1 , K ( k k ) , k N 0 ,
with Θ ¯ K , K 1 ( k ) = ( 1 ) k d k Θ ¯ K , K 1 ( s ) / d s k | s = 0 , so that the kth moment of the random variable γ ( 1 , j ) , K is given by
E [ γ ( 1 , j ) , K k ] = δ k , 0 + ( 1 δ k , 0 ) Γ 1 , K ( k ) 1 + j , k N 0 ,
for phases j { 0 , , M 1 } . We only briefly indicate here that the matrix Θ ¯ K , K 1 ( k ) is derived from (12) by differentiating k times with respect to s and evaluating at s = 0 . Moreover, it can be readily evaluated from Θ ¯ K , K 1 ( k 1 ) , as shown in Algorithm A4 (Appendix C).

4. Area under the Level Trajectory

Consider the trajectory of the level variable I ( t ) , for which ( I ( 0 ) , J ( 0 ) ) = ( i , j ) with ( i , j ) S \ l ( 0 ) , and define the area under the level trajectory as the stochastic integral
α ( i , j ) , 0 = 0 η ¯ ( i , j ) , 0 I ( t ) d t ,
where, in a similar manner to η ¯ ( 1 , j ) , 0 , the random variable η ¯ ( i , j ) , 0 denotes the first-passage time to states in level l ( 0 ) , provided that process X starts from state ( i , j ) .
Remark 3.
In the setting of epidemic models, α ( 1 , j ) , 0 can be thought of as the total amount of individual time units of infection during the course of the epidemic. Its probability law, which is inherently linked to the duration η ¯ ( 1 , j ) , 0 of an outbreak, is directly related to the cost of the epidemic, as defined by Downton [35] and Gani and Jerwood [36]; for a related work, also see Ball [37].
The Laplace-Stieltjes transforms ϕ ( i , j ) , 0 ( s ) = E [ e s α ( i , j ) , 0 ] of α ( i , j ) , 0 , for R e ( s ) 0 and states ( i , j ) S \ l ( 0 ) , are uniquely determined as the solution to the system of equations
ϕ ( i , j ) , 0 ( s ) = j = 0 M i 1 q ( i , j ) , ( i 1 , j ) i s + q ( i , j ) ϕ ( i 1 , j ) , 0 ( s ) + j = 0 , j j M i q ( i , j ) , ( i , j ) i s + q ( i , j ) ϕ ( i , j ) , 0 ( s ) + ( 1 δ i , N ) j = 0 M i + 1 q ( i , j ) , ( i + 1 , j ) i s + q ( i , j ) ϕ ( i + 1 , j ) , 0 ( s ) ,
for R e ( s ) 0 and states ( i , j ) S \ l ( 0 ) , with ϕ ( 0 , j ) , 0 ( s ) = 1 , for phases j { 0 , , M 0 } . To prove Equation (16), we may condition on the first state visited by process X after leaving ( i , j ) . If this state is ( i , j ) , which occurs with probability q ( i , j ) 1 q ( i , j ) , ( i , j ) , then the conditional distribution of the stochastic integral α ( i , j ) , 0 is equivalent to the convolution of i α ¯ ( i , j ) and α ( i , j ) , 0 , where i α ¯ ( i , j ) amounts to the random area of a rectangle with height i and base given by the sojourn time α ¯ ( i , j ) at ( i , j ) . Equation (16) is then obtained from the equality
E e s ( i α ¯ ( i , j ) + α ( i , j ) , 0 ) = q ( i , j ) i s + q ( i , j ) ϕ ( i , j ) , 0 ( s ) ,
for states ( i , j ) i = i 1 min { i + 1 , N } l ( i ) \ { ( i , j ) } , since α ¯ ( i , j ) is an exponentially distributed random variable with mean q ( i , j ) 1 . In the special case i = 0 , it is clear that α ( 0 , j ) , 0 = 0 almost surely.
In matrix form, the system of Equations (16) becomes
i s I 1 + M i Q i , i Φ i , 0 ( s ) = Q i , i 1 δ i , 1 1 1 + M i 1 + ( 1 δ i , 1 ) Φ i 1 , 0 ( s ) + ( 1 δ i , N ) Q i , i + 1 Φ i + 1 , 0 ( s ) ,
for integers i { 1 , , N } , where Φ i , 0 ( s ) is a column vector of order 1 + M i and its ( 1 + j ) th entry is given by the Laplace-Stieltjes transform ϕ ( i , j ) , 0 ( s ) of α ( i , j ) , 0 , for phases j { 0 , , M i } and i { i 1 , i , min { i + 1 , N } } . Equation (17) results in the recursive relations
Φ i , 0 ( s ) = h i ( s ) + H i 1 ( s ) Q i , i + 1 Φ i + 1 , 0 ( s ) , i { 1 , , N 1 } ,
with Φ N , 0 ( s ) = h N ( s ) , where H i ( s ) = i s I 1 + M i Q i , i ( 1 δ i , 1 ) Q i , i 1 H i 1 1 ( s ) Q i 1 , i and h i ( s ) = H i 1 ( s ) Q i , i 1 δ i , 1 1 1 + M i 1 + ( 1 δ i , 1 ) h i 1 ( s ) , for integers i { 1 , , N } , from which it follows that the column vectors a i , 0 ( k ) with entries E [ α ( i , j ) , 0 k ] , for phases j { 0 , , M i } and k N , can be computed, starting from a N , 0 ( k ) = h N ( k ) , as
a i , 0 ( k ) = h i ( k ) + H i 1 Q i , i + 1 a i + 1 , 0 ( k ) , i { 1 , , N 1 } ,
where H i = H i ( 0 ) and h i ( k ) = H i 1 ( 1 δ i , 1 ) Q i , i 1 h i 1 ( k ) + k i a i , 0 ( k 1 ) , with a i , 0 ( 0 ) = 1 1 + M i . For an implementation of (18) and (19), see Algorithms A5 and A6 (Appendix D).

5. An Application to Varicella-Zoster Virus Infections

We illustrate our analysis by focusing here on a mathematical model for varicella-zoster virus in a nursing home. Varicella-zoster virus (VZV) causes chickenpox (varicella) and shingles (herpes zoster). In childhood, chickenpox disease produces itchy blisters but rarely causes serious problems. However, in adults who have not suffered the disease as children, chickenpox can lead to serious complications. After primary infection, VZV can remain dormant within dorsal root ganglia for life, and it can reactivate depending on a number of factors including the host immune system. Herpes zoster is the reactivation of VZV. Factors associated with recurrent disease include, among others, aging, immunosupression, intrauterine exposure to VZV, or having had varicella at a young age. Shingles is characterized by a rash of blisters, and it can be very painful but is not life-threatening. Varicella is highly contagious because the transmission occurs by direct contact, by air (coughing and sneezing) and by areosolization of virus from skin lesions. A person with active herpes zoster can transmit the VZV, through direct contact, to a person who never had chickenpox; we refer the reader to Reference [38] for a flow diagram showing the different stages for an individual during an outbreak.
Our interest is in illustrating the applicability of our methodology by focusing on a Markovian model for the spread of VZV infection in a closed population, such as a nursing home for elderly people, subject to repeated outbreaks. The mathematical model assumes an homogeneous and finite population with constant size N, where residents who die or abandon the nursing home are immediately replaced by the admission of a new resident, reflecting high demand for nursing resources. Newly admitted residents are assumed to be either susceptible or asymptomatic, but never showing signs or symptoms of varicella or herpes zoster. We define the continuous-time Markov chain Y = { ( I ( t ) , Z ( t ) , A ( t ) ) : t 0 } , where I ( t ) , Z ( t ) and A ( t ) represent the number of varicella infectious (i.e., residents infected and infectious with varicella), zoster infectious (i.e., residents showing dermal rash of herpes zoster) and asymptomatic (i.e., residents with dormant VZV) residents at time t. Since we assume constant population size, it is clear that the number of susceptible residents is given by S ( t ) = N I ( t ) Z ( t ) A ( t ) .
We assume that recovery times, as well as transmission times and the inter-event times for all other events in this process are exponentially distributed and mutually independent, leading to the Markovian hypothesis. We make the following further assumptions:
  • Varicella infectious residents recover at rate γ .
  • Zoster infectious residents recover at rate ϵ .
  • Residents are removed (either by dying or abandoning the nursing facility) at rate μ .
  • Newly admitted residents are (asymptomatically) infected with probability q.
  • Transmission between susceptible and varicella infectious residents occurs at rate β , while transmission between susceptible and zoster infectious residents occurs at rate η .
  • Reactivation of zoster for asymptomatic residents occurs at rate δ .
These hypotheses lead to a number of state transitions for process Y with infinitesimal rates
q ( i , z , a ) , ( i , z , a ) = i γ , if ( i , z , a ) = ( i 1 , z , a + 1 ) and i > 0 , z ϵ , if ( i , z , a ) = ( i , z 1 , a + 1 ) and z > 0 , i ( 1 q ) μ , if ( i , z , a ) = ( i 1 , z , a ) and i > 0 , i q μ , if ( i , z , a ) = ( i 1 , z , a + 1 ) and i > 0 , a ( 1 q ) μ , if ( i , z , a ) = ( i , z , a 1 ) and a > 0 , z ( 1 q ) μ , if ( i , z , a ) = ( i , z 1 , a ) and z > 0 , z q μ , if ( i , z , a ) = ( i , z 1 , a + 1 ) and z > 0 , ( N i z a ) q μ , if ( i , z , a ) = ( i , z , a + 1 ) and a + i + z < N , ( N i z a ) ( i β + z η ) , if ( i , z , a ) = ( i + 1 , z , a ) and a + i + z < N , a δ , if ( i , z , a ) = ( i , z + 1 , a 1 ) and a > 0 ,
for any states ( i , z , a ) and ( i , z , a ) with ( i , z , a ) ( i , z , a ) . We point out that some events are omitted here since they are unobserved by process Y , meaning that they do not cause a change of state (e.g., if an asymptomatic resident dies and a newly admitted asymptomatic resident arrives, which occurs with rate a q μ but does not affect the state of the process).
The continuous-time Markov chain Y is defined on the state space
S Y = { ( i , z , a ) : i , z , a { 0 , , N } , i + z + a { 0 , , N } } .
Even though process Y is three-dimensional (while process X in Section 1 is two-dimensional), one can obtain a QBD formulation for process Y by organizing S Y in levels as
S Y = i = 0 N l ( i ) ,
with l ( i ) = { ( i , z , a ) S Y : z + a { 0 , , N i } } , for integers i { 0 , , N } . The ith level l ( i ) is written as l ( i ) = z = 0 N i l ( i , z ) , where l ( i , z ) = { ( i , z , a ) l ( i ) : a { 0 , , N i z } } , so that the number of states in sub-level l ( i , z ) is # l ( i , z ) = N + 1 i z , and
# S Y = ( N + 1 ) ( N + 2 ) ( N + 3 ) 6 .
This organization of states in terms of levels and sub-levels, as well as the transitions described above, leads to the following block-tridiagonal representation for the infinitesimal generator of Y :
Q = A 0 , 0 A 0 , 1 A 1 , 0 A 1 , 1 A 1 , 2 A N 1 , N 2 A N 1 , N 1 A N 1 , N A N , N 1 A N , N .
We note that this tridiagonal structure means that process Y is a finite QBD process, so that our arguments in Section 2, Section 3, Section 4 and Section 5 directly apply. Variable I ( t ) in Y is the level, representing the number of varicella infectious individuals at any given time. The phase J ( t ) in our original process X in Section 1 has a bivariate representation here J ( t ) = ( Z ( t ) , A ( t ) ) . These phases are organized in terms of sub-levels as described above. In particular, one orders sub-levels inside l ( i ) as
l ( i , 0 ) l ( i , 1 ) l ( i , N i ) ,
while states inside each sub-level l ( i , z ) are ordered as
( i , z , 0 ) ( i , z , 1 ) ( i , z , N i z ) .
Thus, the first phase (denoted by j = 0 in Section 1) in level l ( i ) is equivalent to the pair ( z , a ) = ( 0 , 0 ) , while the last phase is the j = ( ( N + 1 i ) ( N + 2 i ) 2 1 ) t h one which corresponds to ( z , a ) = ( N i , 0 ) , since the number of phases in each level l ( i ) (denoted by M i + 1 in Section 1) is given by
# l ( i ) = ( N + 1 i ) ( N + 2 i ) 2 .
The organization of phases for each level l ( i ) in terms of sub-levels l ( i , z ) means that sub-matrices A i , i are given as follows:
  • For i { 1 , N 1 } , sub-matrix A i , i 1 is associated with jumps of process Y from states in level l ( i ) to states in level l ( i 1 ) . In particular, it is given by
    A i , i 1 = B i , i 1 ( 0 , 0 ) B i , i 1 ( 1 , 1 ) B i , i 1 ( N i , N i ) 0 .
    Matrices B i , i 1 ( z , z ) consist of transition rates from sub-level l ( i , z ) to sub-level l ( i 1 , z ) and are given in Appendix E. We can deal separately with the case i = N , for which
    A N , N 1 = B N , N 1 ( 0 , 0 ) , 0 .
  • For i { 0 , N 1 } , sub-matrix A i , i is related to transitions from level l ( i ) to level l ( i ) and has the structured form
    B i , i ( 0 , 0 ) B i , i ( 0 , 1 ) B i , i ( 1 , 0 ) B i , i ( 1 , 1 ) B i , i ( 1 , 2 ) B i , i ( N i 1 , N i 2 ) B i , i ( N i 1 , N i 1 ) B i , i ( N i 1 , N i ) B i , i ( N i , N i 1 ) B i , i ( N i , N i ) ,
    where matrices B i , i ( z , z ) consist of transition rates from states in sub-level l ( i , z ) to states in sub-level l ( i , z ) , for z { z 1 , z , z + 1 } , and are detailed in Appendix E. It is worth noting the particular case i = N , which leads to the single-element matrix A N , N = N ( μ + γ ) .
  • For i { 1 , , N 1 } , sub-matrix A i , i + 1 corresponds to transitions from states in level l ( i ) to states in level l ( i + 1 ) and is given by
    A i , i + 1 = B i , i + 1 ( 0 , 0 ) B i , i + 1 ( 1 , 1 ) B i , i + 1 ( 2 , 2 ) B i , i + 1 ( N i 1 , N i 1 ) 0 ,
    where matrices B i , i + 1 ( z , z ) contain transition rates from states in sub-level l ( i , z ) to states in sub-level l ( i + 1 , z ) , and are given in Appendix E. It is worth noting the particular case i = 0 , which leads to matrix
    A 0 , 1 = 0 ( N + 1 ) × N B 0 , 1 ( 1 , 1 ) B 0 , 1 ( 2 , 2 ) B 0 , 1 ( N 1 , N 1 ) 0 .
For process Y , the parameter values ( γ , ϵ , μ , q , β , δ ) in our numerical experiments have been chosen according to the following assumptions:
(i)
We consider a long-term nursing facility where the average length of stay of residents is 800 days (i.e., 2.202 years) [39,40] and set μ = 1 / 2.202 = 0.454 years 1 .
(ii)
Residents recover from varicella after an average of 7 days [38]; thus, we set γ = 52.142 years 1 .
(iii)
The average recovery time for herpes zoster is 20 days [38], so we set ϵ = 18.250 years 1 .
(iv)
Based on existing data for the reactivation rate for zoster [38,41,42], we set δ = 0.065 years 1 .
(v)
Since it is estimated that around 90 % of adults in the USA carry VZV and are at risk of developing herpes zoster [41], and a similar percentage is estimated for other countries in temperate climates [43], we explore values q ( 0.8 , 0.9 ) in our numerical results.
(vi)
Varicella is highly infectious, but the particular transmissibility depends on a number of factors [38,41,42,43] (e.g., amount of contact in the nursing facility, control strategies in place, such as cohorting of staff and residents, etc). Thus, we will explore two parameter values β { 38.0 , 190.0 } . In particular, we set β = 38.0 to broadly represent a situation where the nursing home has a range of control strategies in place when the outbreak starts, while β = 190.0 represents the situation where no control strategies are in place. Note that the value β = 190.0 is selected by assuming a basic reproduction number R 0 = β / γ = 3.644 , in accordance with estimated results for VZV transmission displayed in Reference [44].
Finally, herpes zoster is transmitted significantly less than varicella itself [41], but its particular transmission rate has not been precisely quantified to the best of our knowledge, so we explore values η ( 0 , β ) in our numerical results.
For purely illustrative purposes, we consider a nursing home with N = 50 residents and focus on four different scenarios which vary in potential initial conditions and which allow us to carry out a sensitivity analysis of the summary statistics described in Section 2, Section 3 and Section 4 on the parameter values discussed above. In particular, these scenarios are specified as follows:
  • Scenario 1.Outbreak initiated by a varicella infectious resident and prevalence of asymptomatics given by q = 0.9 , i.e., initial condition ( i , z , a , s ) = ( 1 , 0 , 45 , 4 ) .
  • Scenario 2.Outbreak initiated by a zoster infectious resident and prevalence of asymptomatics given by q = 0.9 , i.e., initial condition ( i , z , a , s ) = ( 0 , 1 , 45 , 4 ) .
  • Scenario 3.Outbreak initiated by a varicella infectious resident and prevalence of asymptomatics given by q = 0.8 , i.e., initial condition ( i , z , a , s ) = ( 1 , 0 , 40 , 9 ) .
  • Scenario 4.Outbreak initiated by a zoster infectious resident and prevalence of asymptomatics given by q = 0.8 , i.e., initial condition ( i , z , a , s ) = ( 0 , 1 , 40 , 9 ) .
For each scenario, our interest is in computing, by means of the analysis in Section 2, Section 3 and Section 4, the following summary statistics:
  • The probability P ( η ( i , z , a ) , K < η ¯ ( i , z , a ) , 0 ) of reaching level l ( K ) (that is, K varicella infectious residents in the nursing home) before reaching level l ( 0 ) (end of the varicella outbreak), for different values of K.
  • The mean number E [ μ ( i , z , a ) , K ] of upcrossings to level l ( K ) .
  • The proportion of expected time E [ γ ( i , z , a ) , K ] / E [ η ¯ ( i , z , a ) , 0 ] that the process Y stays at or above level l ( K ) (so, with K or more varicella infectious residents).
  • The ratio E [ α ( i , z , a ) , 0 ] / ( N · E [ η ¯ ( i , z , a ) , 0 ] ) , which represents the area under the curve of varicella infectives normalized by the total amount of time units that N residents stay in the nursing home during the varicella outbreak.
In Figure 1, we plot the probability P ( η ( i , z , a ) , K < η ¯ ( i , z , a ) , 0 ) of reaching a particular threshold value K of varicella infectives (which might represent, for example, a particular number of infectives which would trigger the implementation of particular control strategies in the nursing home), for K { 3 , 5 } , β { 38.0 , 190.0 } and versus different values of η ( 0 , β ) , for Scenarios 1–4. It is clear that this probability, for those scenarios related to a varicella infective starting the outbreak (Scenarios 1 and 3), does not significantly depend on the reactivation rate η of zoster infection as one would expect (since the initially infectious resident is a varicella infective). For Scenarios 2 and 4, in which a zoster infective starts the outbreak, the probability of reaching K varicella infective residents sharply increases for initially increasing values of η (better allowing for the initially infective zoster to transmit before recovering), and then slowly stabilizes. On the other hand, it is worth noting that, due to the highly infectious nature of VZV, the maximum number of varicella infective residents reached before the end of the outbreak –not explicitly computed here, but which clearly affects the probability of reaching the particular threshold levels l ( 5 ) and l ( 10 ) – directly depends on the number of susceptible residents in the nursing home when the outbreak starts. This number of susceptibles directly depends on parameter q ( q = 0.9 in Scenarios 1 and 2, leading to 4 susceptible residents; q = 0.8 in Scenarios 3 and 4, leading to 9 susceptible residents) and directly explains the asymptotic behavior of curves observed in Figure 1 for K = 3 and 5.
In Figure 2, we plot the mean number of upcrossings to level l ( K ) , for K = 3 , as a function of η . We note that we always obtain, regardless of the parameters varied here, a relatively small mean number of upcrossings (e.g., less than 1.5 in all scenarios). We point out that a mean number of upcrossings significantly below 1 means that the threshold number K = 3 of varicella infective residents is not actually reached in most of the stochastic realizations of process Y . This happens, for example, when a zoster infective resident starts the outbreak and there are control measures in place, so that the transmissibility of herpes zoster is low (i.e., relatively small values of η in Figure 2). For large enough values of η , or for those scenarios in which a varicella infective resident starts the outbreak, a mean number of upcrossings relatively close to 1 illustrates how level l ( K ) with K = 3 is in fact reached during the early stages of the outbreak (i.e., while the number of infective residents is increasing over early times, moving towards its peak beyond K = 3 ). Values of E [ μ ( i , z , a ) , K ] slightly above 1 illustrate the stochasticity of the epidemic process under analysis and might be explained by stochastic contributions from some particular realizations of the process (for example, if process Y reaches K = 3 varicella infective residents, and one of these residents recovers before another infection immediately occurs, moving the process to level l ( 2 ) before visiting level l ( 3 ) again, and causing then two upcrossings).
In Figure 3, we plot the proportion of expected time E [ γ ( i , z , a ) , K ] / E [ η ¯ ( i , z , a ) , 0 ] that the process Y stays at or above level l ( K ) . This might be of interest since, for example, if K varicella infective residents represent an alert or warning level from which the nursing home needs to incur in some particular costs per unit time (e.g., particular enhanced control measures), the quantity E [ γ ( i , z , a ) , K ] / E [ η ¯ ( i , z , a ) , 0 ] would become an implicit quantification of this cost. We plot E [ γ ( i , z , a ) , K ] / E [ η ¯ ( i , z , a ) , 0 ] for a nursing home with some control strategies initially in place (so β = 38.0 ), and for K = 3 for illustrative purposes. The proportion of expected time spent above level l ( K ) directly depends on who starts the outbreak (from either a varicella infective resident or a zoster infective resident) in the first place, the number of susceptible residents in the nursing home ( q = 0.9 versus q = 0.8 ) and the zoster infectivity rate η . Proportions near to zero for Scenarios 2 and 4 and small values of η are explained by the fact that level l ( 3 ) is likely not reached in these situations. On the other hand, for increasing values of the infectivity rate η , the proportion of expected time spent above level l ( 3 ) directly depends on how many susceptible residents stay in the nursing home (which allows for larger epidemic peaks beyond K = 3 to be reached, likely leading to larger intervals of time until the epidemic curve decreases—by recoveries of infective residents—and goes again below level l ( 3 ) ). Similar comments explain the behavior of Scenarios 1 and 3, but, in these, the impact of parameter η is negligible since a varicella infective resident starts the outbreak.
In Figure 4, the interest is in the ratio E [ α ( i , z , a ) , 0 ] / ( N · E [ η ¯ ( i , z , a ) , 0 ] ) , which represents the area under the curve of varicella infectious residents normalized by the total amount of time units that N residents stay at the nursing home during the varicella outbreak. We note here that this descriptor can be seen as a measure of cost, if, for example, the nursing home incurs in some costs per infective resident and per unit of time they remain infected. The behavior of this descriptor is similar to that observed in previous plots, whence we do not repeat preceding observations. However, we should emphasize here that the normalized area under the number of infectives is always less than the 7 % of the total cost during the outbreak –measured in terms of N · E [ η ¯ ( i , z , a ) , 0 ] –, in such a way that the smallest and the highest values of the ratio E [ α ( i , z , a ) , 0 ] / ( N · E [ η ¯ ( i , z , a ) , 0 ] ) correspond to Scenarios 2 and 3, respectively, in our numerical experiments.

6. Conclusions

In this paper, we extended the theory of finite QBD processes, given by Gaver et al. [1] by studying a number of random descriptors of interest which are defined inspired in their application to epidemic models, namely first-passage times and hitting probabilities to higher levels, number of upcrossings, and sojourn times, as well as the area under the level trajectory. We noted that these descriptors can have specific meanings when focusing on epidemic models: first-passage times and hitting probabilities can, for example, relate to the duration of an outbreak and the size of the epidemic, respectively; the number of upcrossings to a particular high level can represent the number of instances a particular threshold number of infectives is reached (which might lead to the introduction of particular control measures), while the area under the level trajectory can be translated into the area under the curve of infectives, a descriptor that has been analyzed before in the theory of mathematical epidemiology due to its potential interpretation in terms of the cost of a given outbreak. Although our results have been derived under the assumption that the finite QBD process is irreducible, they also hold under the less restrictive condition that l ( 0 ) is accessible from the class i = 1 N l ( i ) of communicating states.
In order to analyze these stochastic descriptors or summary statistics, we considered auxiliary bi-dimensional absorbing processes in which infinitesimal generators are described in terms of levels and phases, and we presented a block-structured form of these generators. We were able to exploit this structure to determine recursive relations involving sub-matrices of these infinitesimal generators, in order to compute the quantities of interest in an iterative and efficient way. Our algorithmic solution involves recursive procedures and block-Gaussian elimination, whence the computational complexity of Algorithms A1–A6 (Appendix A, Appendix B, Appendix C and Appendix D) can be written in a similar manner to the computational complexity of the linear level reduction algorithm of Gaver et al. [1], and Algorithms 1.A–3.A of Gómez-Corral and López-García [29]. This makes the memory requirements of Algorithms A1–A6, especially for storing auxiliary matrices in Algorithm A1, very demanding even for moderate values of N depending of the number of phases per level.
To illustrate the applicability of both our analytical and computational results, we have presented a numerical study of an epidemic model for the transmission of varicella-zoster virus within a nursing home. There is clearly future work to be done on the joint distribution of the random vector ( I max , τ max ) , where I max is the maximum number of residents who are simultaneously varicella infectious (i.e., the maximum of the level variable) and τ max is the time taken to reach this maximum number during an outbreak, and on how to relate herd immunity to the phase variable in the study of vaccination strategies in the context of varicella-zoster virus infections. Among other interesting problems to be addressed in epidemic models are also the extension to a population with variable size or the assumption of non-exponential events. These would lead to QBD processes with infinitely many possible values of the level variable and/or the phase variable, and piecewise-deterministic Markov processes, respectively. In these frameworks, the study of the stochastic descriptors analyzed in Section 2, Section 3 and Section 4 should require an analytical treatment and related numerical procedures that will be substantially different from those used in this paper; in particular, the analysis of first-passage times and sojourn times could benefit from the approach described by Dolgopyat and Goldsheid [45], who obtain necessary and sufficient conditions for the existence of the density of the invariant measure for random walks when the environment is ergodic in both the transient and recurrent regimes. Another aspect that deserves further exploration is how the finite-dimensional linear algebra ideas in Section 2 and Section 3 could be replaced by some suitable extension to the QBD case of the Karlin-McGregor orthogonal polynomial/spectral representation by translating the arguments in Reference [46,47,48] for discrete time processes to continuous time.

Author Contributions

Conceptualization, A.G.-C. and M.J.L.-H.; methodology, A.G.-C.; software, D.T.; validation, M.L.-G. and D.T.; formal analysis, A.G.-C., M.L.-G., and M.J.L.-H.; investigation, A.G.-C., M.L.-G., M.J.L.-H., and D.T.; writing—original draft preparation, A.G.-C. and M.L.-G.; writing—review and editing, M.L.-G. and M.J.L.-H.; supervision, A.G.-C.; project administration, A.G.-C. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Government of Spain (Ministry of Science and Innovation), project PGC2018-097704-B-I00 (A.G.-C.; M.L.-G.; M.J.L.-H.), and the Community of Madrid (General Directorate for Research and Technological Innovation), contract reference CT101/18-CT102/18/PEJD-2018-PRE/TIC-8871 (D.T.).

Acknowledgments

The authors thank the Editor and three anonymous reviewers for their constructive comments, which have improved the presentation of the paper.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Restricted Hitting Probabilities { P ( 1 , j ) , K ( n ) : n { 0 , , M K } } , for Phases j { 0 , , M 1 }

Algorithm A1Computation of the restricted hitting probabilities { P ( 1 , j ) , K ( n ) : n { 0 , , M K } } and the probability
P ( η ( 1 , j ) , K < η ¯ ( 1 , j ) , 0 ) , for phases j { 0 , , M 1 } .
Step 1: i : = 2 ;
         T 1 ( i ) : = Q i 1 , i 1 1 .
Step 2: While i < K ,
              i : = i + 1 ;
              U 1 , 2 ( i ) : = 0 ( i 3 + i = 1 i 3 M i ) × ( 1 + M i 1 ) Q i 2 , i 1 ;
              U 2 , 1 ( i ) : = 0 ( 1 + M i 1 ) × ( i 3 + i = 1 i 3 M i ) , Q i 1 , i 2 ;
              V 2 , 2 ( i ) : = Q i 1 , i 1 U 2 , 1 ( i ) ( T 1 ( i 1 ) ) U 1 , 2 ( i ) 1 ;
              V 2 , 1 ( i ) : = V 2 , 2 ( i ) U 2 , 1 ( i ) ( T 1 ( i 1 ) ) ;
              V 1 , 2 ( i ) : = T 1 ( i 1 ) U 1 , 2 ( i ) V 2 , 2 ( i ) ;
              V 1 , 1 ( i ) : = T 1 ( i 1 ) ( I i 2 + i = 1 i 2 M i U 1 , 2 ( i ) V 2 , 1 ( i ) ) ;
              T 1 ( i ) : = V 1 , 1 ( i ) V 1 , 2 ( i ) V 2 , 1 ( i ) V 2 , 2 ( i ) ;
Step 3: If K = 2 , then
              u ( j , i ) : = e 1 + M 1 ( 1 + j ) T 1 ( i ) ;
         else
              u ( j , i ) : = e i 2 + i = 1 i 2 M i ( 1 + j ) V 1 , 2 ( i ) ;
         P ( 1 , j ) , i ( n ) : = u ( j , i ) Q i 1 , i e 1 + M i T ( 1 + n ) ;
         P ( η ( 1 , j ) , i < η ¯ ( 1 , j ) , 0 ) : = u ( j , i ) Q i 1 , i 1 1 + M i .

Appendix B. Probabilities { Q ( K , n ) , K 1 ( l ) : l { 0 , , M K 1 } } , for Phases n { 0 , , M K }

Algorithm A2Computation of the first-passage probabilities { Q ( K , n ) , K 1 ( l ) : l { 0 , , M K 1 } } ,
for phases n { 0 , , M K } .
Step 1: i : = N ;
         T 1 ( i ) : = Q i , i 1 .
Step 2: If K = N , then
              V ˜ 1 , 1 ( i ) : = T ˜ 1 ( i ) ;
         else
              while i > K ,
                 i : = i 1 ;
                 U ˜ 1 , 2 ( i ) : = Q i , i + 1 , 0 ( 1 + M i ) × ( N i 1 + i = i + 2 N M i ) ;
                 U ˜ 2 , 1 ( i ) : = Q i + 1 , i 0 ( N i 1 + i = i + 2 N M i ) × ( 1 + M i ) ;
                 V ˜ 1 , 1 ( i ) : = ( Q i , i U ˜ 1 , 2 ( i ) ( T ˜ 1 ( i + 1 ) ) U ˜ 2 , 1 ( i ) ) 1 ;
                 V ˜ 1 , 2 ( i ) : = V ˜ 1 , 1 ( i ) U ˜ 1 , 2 ( i ) ( T ˜ 1 ( i + 1 ) ) ;
                 V ˜ 2 , 1 ( i ) : = T ˜ 1 ( i + 1 ) U ˜ 2 , 1 ( i ) V ˜ 1 , 1 ( i ) ;
                 V ˜ 2 , 2 ( i ) : = T ˜ 1 ( i + 1 ) I N i + i = i + 1 N M i + U ˜ 2 , 1 ( i ) V ˜ 1 , 2 ( i ) ;
                 T ˜ 1 ( i ) : = V ˜ 1 , 1 ( i ) V ˜ 1 , 2 ( i ) V ˜ 2 , 1 ( i ) V ˜ 2 , 2 ( i ) .
Step 3: For n { 0 , , M K } and l { 0 , , M K 1 } ,
              Q ( i , n ) , i 1 ( l ) : = e 1 + M i ( 1 + n ) V ˜ 1 , 1 ( i ) Q i , i 1 e 1 + M i 1 T ( 1 + l ) .

Appendix C. Column Vectors { Θ K , K 1 ( s ; l ) : l { 0 , , M K 1 } } and Related Moments

Algorithm A3 indicates how one may determine the sequence { Θ K , K 1 ( s ; l ) : l { 0 , , M K 1 } } by block-Gaussian elimination. The selection s = 0 leads to the matrix P K , K 1 , whence Algorithm A3 is an alternative procedure to Algorithm A2 for computing the probabilities Q ( K , n ) , K 1 ( l ) , for n { 0 , , M K } and l { 0 , , M K 1 } .
Algorithm A3Computation of the column vectors Θ K , K 1 ( s ; l ) , for phases l { 0 , , M K 1 } and
a predetermined complex value s with R e ( s ) 0 .
Step 1: i : = K ;
           G i ( s ) : = s I 1 + M i Q i , i ;
           while i < N ,
              i : = i + 1 ;
              G i ( s ) : = s I 1 + M i Q i , i Q i , i 1 G i 1 1 ( s ) Q i 1 , i .
Step 2: l : = 1 ;
         while l < M K 1 ,
              l : = l + 1 ;
              i : = K ;
              g i ( s ; l ) : = G i 1 ( s ) Q i , i 1 e 1 + M i 1 ( 1 + l ) ;
              while i < N ,
                  i : = i + 1 ;
                  g i ( s ; l ) : = G i 1 ( s ) Q i , i 1 g i 1 ( s ; l ) ;
              Θ i , K 1 ( s ; l ) : = g i ( s ; l ) ;
              while i > K ,
                  i : = i 1 ;
                  Θ i , K 1 ( s ; l ) : = g i ( s ; l ) + G i 1 ( s ) Q i , i + 1 Θ i + 1 , K 1 ( s ; l ) .
Starting from the column vectors Θ K , K 1 ( 0 ) ( l ) , l { 0 , , M K 1 } , with entries Q ( K , n ) , K 1 ( l ) , for n { 0 , , M K } , Algorithm A4 computes iteratively the column vectors Θ K , K 1 ( k ) ( l ) = ( 1 ) k d k Θ K , K 1 ( s ; l ) / d s k | s = 0 from Θ K , K 1 ( k 1 ) ( l ) and, as a consequence, the matrix Θ ¯ K , K 1 ( k ) ( l ) corresponds to ( Θ K , K 1 ( k ) ( 0 ) , , Θ K , K 1 ( k ) ( M K 1 ) ) , for integers k N .
Algorithm A4Computation of the column vectors Θ K , K 1 ( k ) ( l ) in terms of Θ K , K 1 ( k 1 ) ( l ) ,
for phases l { 0 , , M K 1 } .
Step 1: i : = K ;
           F i : = Q i , i ;
           while i < N ,
              i : = i + 1 ;
              F i : = Q i , i Q i , i 1 F i 1 1 Q i 1 , i .
Step 2: l : = 1 ;
           while l < M K 1 ,
              l : = l + 1 ;
              i : = K ;
              f i ( l ) : = l F i 1 Θ i , K 1 ( k 1 ) ( l ) ;
              while i < N ,
                  i : = i + 1 ;
                  f i ( l ) : = F i 1 l Θ i , K 1 ( k 1 ) ( l ) + Q i , i 1 f i 1 ( l ) ;
              Θ i , K 1 ( k ) ( l ) : = f i ( l ) ;
              while i > K ,
                  i : = i 1 ;
                  Θ i , K 1 ( k ) ( l ) : = f i ( l ) + F i 1 Q i , i + 1 Θ i + 1 , K 1 ( k ) ( l ) .
Step 3: Θ ¯ K , K 1 ( k ) ( l ) : = Θ K , K 1 ( k ) ( 0 ) , , Θ K , K 1 ( k ) ( M K 1 ) .

Appendix D. Laplace-Stieltjes Transform and Moments of α ( 1 , j ) , 0

Under the assumption that ( 1 , j ) is the initial state of process X , the Laplace-Stieltjes transform and the kth moment of α ( 1 , j ) , 0 are derived directly from Algorithms A5 and A6 as ϕ ( 1 , j ) , 0 ( s ) = Φ 1 , 0 ( s ) 1 + j and E [ α ( 1 , j ) , 0 k ] = a 1 , 0 ( k ) 1 + j , for k N .
Algorithm A5Computation of the column vectors Φ i , 0 ( s ) , for integers i { 1 , , N } and a predetermined
complex value s with R e ( s ) 0 .
Step 1: i : = 1 ;
           H i ( s ) : = s I 1 + M i Q i , i ;
           h i ( s ) : = H i 1 ( s ) Q i , i 1 1 1 + M i 1 ;
           while i < N ,
              i : = i + 1 ;
              H i ( s ) : = i s I 1 + M i Q i , i Q i , i 1 H i 1 1 ( s ) Q i 1 , i ;
              h i ( s ) : = H i 1 ( s ) Q i , i 1 h i 1 ( s ) ;
           Φ i , 0 ( s ) : = h i ( s ) .
Step 2: While i > 1 ,
              i : = i 1 ;
              Φ i , 0 ( s ) : = h i ( s ) + H i 1 ( s ) Q i , i + 1 Φ i + 1 , 0 ( s ) .
Algorithm A6Computation of the column vectors a i , 0 ( k ) , for integers i { 1 , , N } , k { 0 , , k } and
a predetermined k N .
Step 1: k : = 0 ;
           i : = 0 ;
           while i < N ,
              i : = i + 1 ;
              a i , 0 ( k ) : = 1 1 + M i ;
              H i : = Q i , i ( 1 δ i , 1 ) Q i , i 1 H i 1 1 Q i 1 , i .
Step 2: While k < k ,
           k : = k + 1 ;
           i : = 0 ;
           while i < N ,
              i : = i + 1 ;
              h i ( k ) : = H i 1 ( 1 δ i , 1 ) Q i , i 1 h i 1 ( k ) + k i a i , 0 ( k 1 ) ;
           a i , 0 ( k ) : = h i ( k ) ;
           while i > 1 ,
              i : = i 1 ;
              a i , 0 ( k ) : = h i ( k ) + H i 1 Q i , i + 1 a i + 1 , 0 ( k ) .

Appendix E. Matrices B i , i ( z , z ) in Section 5

In this appendix, we provide precise definitions for matrices B i , i ( z , z ) in Section 5. In particular, they are specified as follows:
  • For i { 1 , , N } and z { 0 , , N i } , matrix B i , i 1 ( z , z ) contains transition rates from states in level l ( i , z ) to states in level l ( i 1 , z ) , and is given by
    B i , i 1 ( z , z ) = i ( 1 q ) μ i ( γ + q μ ) i ( 1 q ) μ i ( γ + q μ ) i ( 1 q ) μ i ( γ + q μ ) .
  • For i { 0 , , N 1 } and z { 0 , , N i 1 } , matrix B i , i + 1 ( z , z ) contains transition rates from states in level l ( i , z ) to states in level l ( i + 1 , z ) , and is given by
    B i , i + 1 ( z , z ) = ( N i z ) ( i β + z η ) ( N i z 1 ) ( i β + z η ) 1 · ( i β + z η ) 0 .
  • For i { 0 , , N 1 } and z { 1 , , N i } , matrix B i , i ( z , z 1 ) contains transition rates from states in level l ( i , z ) to states in level l ( i , z 1 ) , and is given by
    B i , i ( z , z 1 ) = z ( 1 q ) μ z ( ϵ + q μ ) z ( 1 q ) μ z ( ϵ + q μ ) z ( 1 q ) μ z ( ϵ + q μ ) .
  • For i { 0 , , N 1 } and z { 0 , , N i } , matrix B i , i ( z , z ) contains transition rates from states in level l ( i , z ) to states in level l ( i , z ) , and has the form
    q ( i , z , 0 ) ( N i z ) q μ ( 1 q ) μ q ( i , z , 1 ) ( N i z 1 ) q μ ( N i z 1 ) ( 1 q ) μ q ( i , z , N i z 1 ) q μ ( N i z ) ( 1 q ) μ q ( i , z , N i z ) ,
    with q ( i , z , a ) = i γ + z ϵ + ( ( i + z + a ) ( 1 q ) + ( N a ) q ) μ + ( N i z a ) ( i β + z η ) + a δ .
  • For i { 0 , , N 1 } and z { 0 , , N i 1 } , matrix B i , i ( z , z + 1 ) contains transition rates from states in level l ( i , z ) to states in level l ( i , z + 1 ) , and is given by
    B i , i ( z , z + 1 ) = 0 δ 2 δ ( N i z 1 ) δ ( N i z ) δ .

References

  1. Gaver, D.P.; Jacobs, P.A.; Latouche, G. Finite birth-and-death models in randomly changing environments. Adv. Appl. Probab. 1984, 16, 715–731. [Google Scholar] [CrossRef]
  2. Baumann, H.; Sandmann, W. Steady state analysis of level dependent quasi-birth-and-death processes with catastrophes. Comput. Oper. Res. 2012, 39, 413–423. [Google Scholar] [CrossRef]
  3. Gun, L.; Makowski, A.M. Matrix-geometric solution for finite capacity queues with phase-type distributions. In Proceedings of the Performance 87, Brussels, Belgium, 7–9 December 1987; pp. 269–282. [Google Scholar]
  4. Perel, E.; Yechiali, U. Finite two layered queueing systems. Probab. Eng. Inform. Sci. 2016, 30, 492–513. [Google Scholar] [CrossRef] [Green Version]
  5. Ye, J.; Li, S.Q. Folding algorithm: A computational method for finite QBD processes with level-dependent transitions. IEEE Trans. Commun. 1994, 42, 625–639. [Google Scholar]
  6. Artalejo, J.R.; Gómez-Corral, A. Modelling communication systems with phase type service and retrial times. IEEE Commun. Lett. 2007, 11, 955–957. [Google Scholar] [CrossRef]
  7. Artalejo, J.R.; Lopez-Herrero, M.J. Cellular mobile networks with repeated calls operating in random environment. Comput. Oper. Res. 2010, 37, 1158–1166. [Google Scholar] [CrossRef]
  8. Chakravarthy, S.R.; Gómez-Corral, A. The influence of delivery times on repairable k-out-of-N systems with spares. Appl. Math. Model. 2009, 33, 2368–2387. [Google Scholar] [CrossRef]
  9. Moghaddass, R.; Zuo, M.J.; Wang, W. Availability of a general k-out-of-n:G system with non-identical components considering shut-off rules using quasi-birth–death process. Reliab. Eng. Syst. Safe 2011, 96, 489–496. [Google Scholar] [CrossRef]
  10. Amador, J.; Gómez-Corral, A. A stochastic epidemic model with two quarantine states and a limited carrying capacity for quarantine. Phys. A Stat. Mech. Appl. 2020, 544, 121899. [Google Scholar] [CrossRef]
  11. Artalejo, J.R.; Economou, A.; Lopez-Herrero, M.J. The stochastic SEIR model before extinction: Computational approaches. Appl. Math. Comput. 2015, 265, 1026–1043. [Google Scholar] [CrossRef]
  12. Economou, A.; Gómez-Corral, A.; López-García, M. A stochastic SIS epidemic model with heterogeneous contacts. Phys. A Stat. Mech. Appl. 2015, 421, 78–97. [Google Scholar] [CrossRef] [Green Version]
  13. Gamboa, M.; Lopez-Herrero, M.J. Measuring infection transmission in a stochastic SIV model with infection reintroduction and imperfect vaccine. Acta Biotheor. 2020, in press. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  14. Latouche, G.; Ramaswami, V. Introduction to Matrix Analytic Methods in Stochastic Modeling; ASA-SIAM: Philadelphia, PA, USA, 1999. [Google Scholar]
  15. Hajek, B. Birth-and-death processes on the integers with phases and general boundaries. J. Appl. Probab. 1982, 19, 488–499. [Google Scholar] [CrossRef]
  16. Akar, N.; Oğuz, N.C.; Sohraby, K. A novel computational method for solving finite QBD processes. Stoch. Models 2000, 16, 273–311. [Google Scholar] [CrossRef]
  17. Stewart, W.J. Introduction to the Numerical Solutions of Markov Chains; Princeton University Press: Princeton, NJ, USA, 1994. [Google Scholar]
  18. Naoumov, V. Modified matrix-geometric solution for finite QBD processes. In Advances in Algorithmic Methods for Stochastic Models; Latouche, G., Taylor, P.G., Eds.; Notable Publications, Inc.: Upper Saddle River, NJ, USA, 2000; pp. 257–263. [Google Scholar]
  19. Li, Q.L.; Cao, J. Two types of RG-factorizations of quasi-birth-and-death processes and their applications to stochastic integral functionals. Stoch. Models 2004, 20, 299–340. [Google Scholar] [CrossRef]
  20. Elhafsi, E.H.; Molle, M. On the solution to QBD processes with finite state space. Stoch. Anal. Appl. 2007, 25, 763–779. [Google Scholar] [CrossRef]
  21. De Nitto Personè, V.; Grassi, V. Solution of finite QBD processes. J. Appl. Probab. 1996, 33, 1003–1010. [Google Scholar] [CrossRef]
  22. Le Boudec, J.Y. An efficient solution method for Markov models of ATM links with loss priorities. IEEE J. Sel. Areas Comm. 1991, 9, 408–417. [Google Scholar] [CrossRef]
  23. Da Silva Soares, A.; Latouche, G. The group inverse of finite homogeneous QBD processes. Stoch. Models 2002, 18, 159–171. [Google Scholar] [CrossRef]
  24. Baumann, H.; Sandmann, W. Numerical solution of level dependent quasi-birth-and-death processes. Procedia Comput. Sci. 2012, 2012 1, 1561–1569. [Google Scholar] [CrossRef] [Green Version]
  25. Li, S.Q.; Sheng, H.D. Generalized folding-algorithm for sojourn time analysis of finite QBD processes and its queueing applications. Stoch. Models 1996, 12, 507–522. [Google Scholar]
  26. Shin, Y.W. Fundamental matrix of transient QBD generator with finite states and level dependent transitions. Asia Pac. J. Oper. Res. 2009, 26, 697–714. [Google Scholar] [CrossRef]
  27. Neuts, M.F. Matrix-Geometric Solutions in Stochastic Models: An Algorithmic Approach; The Johns Hopkins University Press: Baltimore, MD, USA, 1981. [Google Scholar]
  28. Artalejo, J.R.; Gómez-Corral, A. Retrial Queueing Systems: A Computational Approach; Springer: Berlin, Germany, 2008. [Google Scholar]
  29. Gómez-Corral, A.; López-García, M. Perturbation analysis in finite LD-QBD processes and applications to epidemic models. Numer. Linear Algebr. Appl. 2018, 2018, e2160. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  30. Amador, J.; Armesto, D.; Gómez-Corral, A. Extreme values in SIR epidemic models with two strains and cross-immunity. Math. Biosci. Eng. 2019, 16, 1992–2022. [Google Scholar] [CrossRef] [PubMed]
  31. Baumann, H.; Sandmann, W. Structured modeling and analysis of stochastic epidemics with immigration and demographic effects. PLoS ONE 2016, 11, e0152144. [Google Scholar] [CrossRef] [PubMed]
  32. Lefèvre, C.; Simon, M. SIR-type epidemic models as block-structured Markov processes. Methodol. Comput. Appl. Probab. 2020, 22, 433–453. [Google Scholar] [CrossRef]
  33. Neuts, M.F.; Li, J.M. An algorithmic study of S-I-R stochastic epidemic models. In Athens Conference on Applied Probability and Time Series Analysis. Volume I: Applied Probability In Honor of J.M. Gani. Lecture Notes in Statistics, Volume 114; Heyde, C.C., Prohorov, Y.V., Pyke, R., Rachev, S.T., Eds.; Springer: New York, NY, USA, 1996; pp. 295–306. [Google Scholar]
  34. Hunter, J.J. Mathematical Techniques of Applied Probability. Volume 1, Discrete Time Models: Basic Theory; Academic Press: New York, NY, USA, 1983. [Google Scholar]
  35. Downton, F. The area under the infectives trajectory of the general stochastic epidemic. J. Appl. Probab. 1972, 9, 414–417. [Google Scholar] [CrossRef]
  36. Gani, J.; Jerwood, D. The cost of a general stochastic epidemic. J. Appl. Probab. 1972, 9, 257–269. [Google Scholar] [CrossRef]
  37. Ball, F. A unified approach to the distribution of total size and total area under the trajectory of infectives in epidemic models. Adv. Appl. Probab. 1986, 18, 289–310. [Google Scholar] [CrossRef]
  38. Comba, M.; Martorano-Raimundo, S.; Venturino, E. A cost-effectiveness-assessing model of vaccination for varicella and zoster. Math. Model. Nat. Phenom. 2012, 7, 62–77. [Google Scholar] [CrossRef] [Green Version]
  39. Forder, J.; Fernandez, J.-L. Length of Stay in Care Homes; Report Commissioned by Bupa Care Services; PSSRU Discussion Paper 2769; PSSRU: Canterbury, UK, 2011; Volume 2769. [Google Scholar]
  40. Froggatt, K.; Edwards, M.; Morbey, H.; Payne, S. Mapping Palliative Care Systems in Long Term Care Facilities in Europe; PACE Work Package 1 and EAPC Taskforce Report; Palliative Care Older People, Lancaster University: Lancaster, UK, 2016. [Google Scholar]
  41. Cohen, K.R.; Salbu, R.L.; Frank, J.; Israel, I. Presentation and management of herpes zoster (shingles) in the geriatric population. Pharm. Therap. 2013, 38, 217–227. [Google Scholar]
  42. Zussman, J.; Young, L. Zoster vaccine live for the prevention of shingles in the elderly patient. Clin. Interv. Aging 2008, 3, 241–250. [Google Scholar] [PubMed] [Green Version]
  43. Mueller, N.H.; Gilden, D.H.; Cohrs, R.J.; Mahalingam, R.; Nagel, M.A. Varicella zoster virus infection: Clinical features, molecular pathogenesis of disease, and latency. Neurol. Clin. 2008, 26, 675–697. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  44. Nardone, A.; de Ory, F.; Carton, M.; Cohen, D.; van Damme, P.; Davidkin, I.; Rota, M.C.; de Melker, H.; Mossong, J.; Slacikova, H.; et al. The comparative sero-epidemiology of varicella zoster virus in 11 countries in the European region. Vaccine 2007, 25, 7866–7872. [Google Scholar] [CrossRef]
  45. Dolgopyat, D.; Goldsheid, I. Invariant measure for random walks on ergodic environments on a strip. Ann. Probab. 2019, 47, 2494–2528. [Google Scholar] [CrossRef]
  46. Castro, M.M.; Grünbaum, F.A. On a seminal paper by Karlin and McGregor. SIGMA 2013, 9, 020. [Google Scholar] [CrossRef] [Green Version]
  47. Coolen-Schrijner, P.; van Doorn, E.A. Analysis of random walks using orthogonal polynomials. J. Comp. Appl. Math. 1998, 99, 387–399. [Google Scholar] [CrossRef] [Green Version]
  48. Kovchegov, Y. Orthogonality and probability: Beyond nearest neighbor transitions. Electron. Commun. Probab. 2009, 14, 90–103. [Google Scholar] [CrossRef]
Figure 1. The probability P ( η ( i , z , a ) , K < η ¯ ( i , z , a ) , 0 ) as a function of η , for N = 50 .
Figure 1. The probability P ( η ( i , z , a ) , K < η ¯ ( i , z , a ) , 0 ) as a function of η , for N = 50 .
Mathematics 08 01718 g001
Figure 2. The mean number E [ μ ( i , z , a ) , K ] of upcrossings as a function of η , for β = 38.0 , K = 3 and N = 50 .
Figure 2. The mean number E [ μ ( i , z , a ) , K ] of upcrossings as a function of η , for β = 38.0 , K = 3 and N = 50 .
Mathematics 08 01718 g002
Figure 3. The proportion of expected time E [ γ ( i , z , a ) , K ] / E [ η ¯ ( i , z , a ) , 0 ] that process X spends at states in i = K N l ( i ) during an outbreak as a function of η , for β = 38.0 , K = 3 and N = 50 .
Figure 3. The proportion of expected time E [ γ ( i , z , a ) , K ] / E [ η ¯ ( i , z , a ) , 0 ] that process X spends at states in i = K N l ( i ) during an outbreak as a function of η , for β = 38.0 , K = 3 and N = 50 .
Mathematics 08 01718 g003
Figure 4. The ratio E [ α ( i , z , a ) , 0 ] / ( N · E [ η ¯ ( i , z , a ) , 0 ] ) as a function of η , for N = 50 .
Figure 4. The ratio E [ α ( i , z , a ) , 0 ] / ( N · E [ η ¯ ( i , z , a ) , 0 ] ) as a function of η , for N = 50 .
Mathematics 08 01718 g004

Share and Cite

MDPI and ACS Style

Gómez-Corral, A.; López-García, M.; Lopez-Herrero, M.J.; Taipe, D. On First-Passage Times and Sojourn Times in Finite QBD Processes and Their Applications in Epidemics. Mathematics 2020, 8, 1718. https://doi.org/10.3390/math8101718

AMA Style

Gómez-Corral A, López-García M, Lopez-Herrero MJ, Taipe D. On First-Passage Times and Sojourn Times in Finite QBD Processes and Their Applications in Epidemics. Mathematics. 2020; 8(10):1718. https://doi.org/10.3390/math8101718

Chicago/Turabian Style

Gómez-Corral, Antonio, Martín López-García, Maria Jesus Lopez-Herrero, and Diana Taipe. 2020. "On First-Passage Times and Sojourn Times in Finite QBD Processes and Their Applications in Epidemics" Mathematics 8, no. 10: 1718. https://doi.org/10.3390/math8101718

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop