Lably
Skip to content

Continuous-time Markov chain

Probability concept

  • 8 min read
  • 2 chapters

Related on Lably

Through Stochastic process, Continuous function and Big O notation

An example of a CTMC with three states {0,1,2} is as follows: the process makes a transition after the amount of time specified by the holding time—an exponential random variable Ei, where i is its current state. Each random variable is independent and such that E0∼Exp(6), E1∼Exp(12) and E2∼Exp(18). When a transition is to be made, the process moves according to the jump chain, a discrete-time Markov chain with stochastic matrix:

[012121302356160].

Equivalently, by the property of competing exponentials, this CTMC changes state from state i according to the minimum of two random variables, which are independent and such that Ei,j∼Exp(qi,j) for i≠j where the parameters are given by the Q-matrix Q=(qi,j)

[−6334−128153−18].

Each non-diagonal entry qi,j can be computed as the probability that the jump chain moves from state i to state j, divided by the expected holding time of state i. The diagonal entries are chosen so that each row sums to 0.

A CTMC satisfies the Markov property, that its behavior depends only on its current state and not on its past behavior, due to the memorylessness of the exponential distribution and of discrete-time Markov chains.

Definition

Let (Ω,A,Pr) be a probability space, let S be a countable nonempty set, and let T=R≥0 (T for "time"). Equip S with the discrete metric, so that we can make sense of right continuity of functions R≥0→S. A continuous-time Markov chain is defined by:

  • A probability vector λ on S (which below we will interpret as the initial distribution of the Markov chain), and
  • A rate matrix Q on S, that is, a function Q:S2→R such that
  1. for all distinct i,j∈S,0≤qi,j,
  2. for all i∈S, ∑j∈S:j≠iqi,j=−qi,i. (Even if S is infinite, this sum is a priori well defined (possibly equalling +∞) because each term appearing in the sum is nonnegative. A posteriori, we know the sum must also be finite (not equal to +∞), since we're assuming it's equal to −qi,i and we've assumed Q is real valued. Some authors instead use a definition that's word-for-word the same except for a modified stipulation Q:S2→R∪{−∞}, and say Q is stable or totally stable to mean range⁡Q⊆R, i.e., every entry is real valued.)

Note that the row sums of Q are 0: ∀i∈S,∑j∈Sqi,j=0, or more succinctly, Q⋅1=0. This situation contrasts with the situation for discrete-time Markov chains, where all row sums of the transition matrix equal unity.

Now, let X:T→SΩ such that ∀t∈TX(t) is (A,P(S))-measurable. There are three equivalent ways to define X being Markov with initial distribution λ and rate matrix Q: via transition probabilities or via the jump chain and holding times.

As a prelude to a transition-probability definition, we first motivate the definition of a regular rate matrix. We will use the transition-rate matrix Q to specify the dynamics of the Markov chain by means of generating a collection of transition matrices P(t) on S (t∈R≥0), via the following theorem.

Existence of solution to Kolmogorov backward equations ()—There exists P∈([0,1]S×S)T such that for all i,j∈S the entry (P(t)i,j)t∈T is differentiable and P satisfies the Kolmogorov backward equations:

We say Q is regular to mean that we do have uniqueness for the above system, i.e., that there exists exactly one solution. We say Q is irregular to mean Q is not regular. If S is finite, then there is exactly one solution, namely P=(etQ)t∈T, and hence Q is regular. Otherwise, S is infinite, and there exist irregular transition-rate matrices on S. If Q is regular, then for the unique solution P, for each t∈T, P(t) will be a stochastic matrix. We will assume Q is regular from the beginning of the following subsection up through the end of this section, even though it is conventional to not include this assumption. (Note for the expert: thus we are not defining continuous-time Markov chains in general but only non-explosive continuous-time Markov chains.)

Transition-probability definition

Let P be the (unique) solution of the system (0). (Uniqueness guaranteed by our assumption that Q is regular.) We say X is Markov with initial distribution λ and rate matrix Q to mean: for any nonnegative integer n≥0, for all t0,…,tn+1∈T such that t0<⋯<tn+1, for all i0,…,in+1∈I,

Using induction and the fact that ∀A,B∈APr(B)≠0→Pr(A∩B)=Pr(A∣B)Pr(B), we can show the equivalence of the above statement containing (1) and the following statement: for all i∈I,Pr(X0=i)=λi and for any nonnegative integer n≥0, for all t0,…,tn+1∈T such that t0<⋯<tn+1, for all i0,…,in+1∈I such that 0<Pr(X0=i0,…,Xtn=in) (it follows that 0<Pr(Xtn=in)),

It follows from continuity of the functions (P(t)i,j)t∈T (i,j∈S) that the trajectory (Xt(ω))t∈T is almost surely right continuous (with respect to the discrete metric on S): there exists a Pr-null set N such that {ω∈Ω:(Xt(ω))t∈T is right continuous}⊆N.

Jump-chain/holding-time definition

Sequences associated to a right-continuous function

Let f:T→S be right continuous (when we equip S with the discrete metric). Define

h=h(f)=(inf{u∈(0,+∞):f(t+u)≠f(t)})t∈T)∪{+∞,0},

let

H=H(f)=(h∘n0)n∈Z≥0

be the holding-time sequence associated to f, choose s∈S, and let

y=y(f)=({f(∑k∈nHk) if ∑k∈nHk<+∞,s else)n∈ω

be "the state sequence" associated to f.

Definition of the jump matrix Π

The jump matrix Π, alternatively written Π(Q) if we wish to emphasize the dependence on Q, is the matrix Π=([i=j])i∈Z,j∈S∪⋃i∈S∖Z({((i,j),−qi,j/qi,i):j∈S∖{i}}∪{((i,i),0)}), where Z=Z(Q)={k∈S:qk,k=0} is the zero set of the function (qk,k)k∈S.

Jump-chain/holding-time property

We say X is Markov with initial distribution λ and rate matrix Q to mean: the trajectories of X are almost surely right continuous, let f be a modification of X to have (everywhere) right-continuous trajectories, ∑n∈Z≥0H(f(ω))n=+∞ almost surely (note to experts: this condition says X is non-explosive), the state sequence y(f(ω)) is a discrete-time Markov chain with initial distribution λ (jump-chain property) and transition matrix Π(Q), and ∀n∈Z≥0∀B∈B(R≥0)Pr(Hn(f)∈B)=Exp⁡(−qYn,Yn)(B) (holding-time property).

Infinitesimal definition

We say X is Markov with initial distribution λ and rate matrix Q to mean: for all i∈S, Pr(X(0)=i)=λi and for all i,j, for all t and for small strictly positive values of h, the following holds for all t∈T such that 0<Pr(X(t)=i):

Pr(X(t+h)=j∣X(t)=i)=[i=j]+qi,jh+o(h),

where the term [i=j] is 1 if i=j and otherwise 0, and the little-o term o(h) depends in a certain way on i,j,h.

The above equation shows that qi,j can be seen as measuring how quickly the transition from i to j happens for i≠j, and how quickly the transition away from i happens for i=j.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Topics in mathematics