Let (Xn)n≥0 be a Markov chain on the probability space (Ω,F,P) with set of states I and transition matrix (pij)i,j∈I. For every n in N={0,1,2,…} denote by Fn the smallest sub-σ-algebra of F containing the events
{Xn=in,…,X0=i0},in,…,i0∈I.
The σ-algebra Fn is made of the events for which one can say whether they occurred or not after observing the random variables X0,…,Xn. Roughly speaking, Fn represents the history of the Markov chain up to time n.
Definition 6.1 (Natural filtration). The family (Fn)n≥0 of sub-σ-algebras of F is called the natural filtration of the Markov chain (Xn)n≥0.
Definition 6.2 (Stopping time). A random variable T:Ω→N∪{+∞} is a stopping time, with respect to the filtration (Fn)n≥0, if the event {T≤n} belongs to the σ-algebra Fn for all n≥0.
In the sense of Definition 6.2, for every state j the time Tj of the first entrance in j,
Tj=inf{n≥1:Xn=j}(with inf∅:=+∞),
is a stopping time with respect to the natural filtration (Fn)n≥0 because, for all n≥1,
{Tj≤0}{Tj≤n}=∅,=ν=1⋃n{Xν=j}.
In a similar way, for every state j the time Uj of the first exit from j, defined for every ω∈Ω by
Uj(ω)={min{n≥1:Xn(ω)=j}+∞if Xn(ω)=j for some n≥1,otherwise,
is a stopping time with respect to the natural filtration (Fn)n≥0 because, for all n≥1, we have
The distribution of the random variable Uj can be found explicitly, and it gives an insight into the behaviour of a Markov chain.
Theorem 6.3. If 0<pjj<1, then under Pj the random variable Uj has geometric distribution with parameter 1−pjj. The random variable XUj defined by
XUj(ω)=n≥1∑Xn(ω)1{Uj=n}(ω)
if Uj(ω)<+∞, and in an arbitrary way on the set {Uj=+∞} (which has probability 0), satisfies, for all k=j,
Pj{XUj=k}=1−pjjpjk.
Proof (complete). The distribution of Uj is found by noting that
Roughly speaking, the strong Markov property is the Markov property when one considers past, present and future with respect to a stopping time, not a constant time as in the usual Markov property. As a first step we prove Theorem 6.4.
Theorem 6.4. Let (Xn)n≥0 be a Markov chain on a probability space (Ω,F,P) with transition matrix (pij)i,j∈I and let T be a stopping time with respect to its natural filtration such that P{T<∞}=1. For all ω∈Ω and n≥0 denote
Yn(ω)={XT(ω)+n(ω)i∞if T(ω)<+∞,if T(ω)=+∞,
where i∞ is an arbitrary state. The collection of random variables (Yn)n≥0 is a Markov chain with the same transition matrix (pij)i,j∈I.
Proof (complete). First note that Yn is a random variable because, for all n≥0 and j∈I, the set {Yn=j} is an event, that is, it belongs to F, as it can be written in the form
{XT+n=j}=0≤ν<∞⋃({T=ν}∩{Xν+n=j})
if j=i∞ and
{T=+∞}∪(0≤ν<∞⋃({T=ν}∩{Xν+n=i∞}))
if j=i∞. Here and below, an event written with XT,XT+1,… is contained in {T<+∞}: for instance, {XT=i} stands for {T<+∞,XT=i}.
To prove the theorem it suffices to check that, for all n≥0 and all finite families (ik)0≤k≤n of states such that the event {Yn=in,…,Y0=i0} has strictly positive probability, and for all states j, we have
Here a term whose conditioning event has probability 0 is read as 0. Now, if n≥1, the event {Xl+n−1=in−1,…,Xl=i0,T=l} belongs to the σ-algebra Fl+n−1, and, by the usual Markov property, we find
Indeed, each event of Fl+n−1 is a countable union of disjoint events {Xl+n−1=kl+n−1,…,X0=k0}, and condition (ii) of Definition 1.2 of the first post applies to each of them intersected with {Xl+n=in}. The equality also holds for n=0. The identity P{Yn+1=j∣Yn=in}=pinj can be checked in the same way. ■
We now prove that the Markov chain Y=(Ym)m≥0 is also independent of its past up to a stopping time T with respect to the conditional probabilities P{⋅∣XT=i,T<+∞}.
Definition 6.5 (Stopped Markov chain). Let (Xn)n≥0 be a Markov chain and T a stopping time of its natural filtration. The Markov chain stopped at timeT is the family X∣T of random variables (Xn∣T)n≥0 defined by Xn∣T=XT∧n, where T∧n=min{T,n}.
Lemma 6.6. Let (Xn)n≥0 be a Markov chain. For every stopping time T, all m,k≥0, all i,j1,…,jm∈I and every event B belonging to the σ-algebra Fk with P({Xk=i}∩{T=k}∩B)>0, we have
coincide, because by the Markov property they coincide on the events of the form {Xk=ik,…,X0=i0}, which generate the σ-algebra Fk. In detail, as {Xk=i}∩{T=k} belongs to Fk, each such event A is contained in it or disjoint from it, and in the first case Q1(A)=Q2(A) is the Markov property, while in the second both vanish. Every event of Fk is a countable disjoint union of events A, so Q1=Q2, and dividing by P({Xk=i}∩{T=k}∩B)>0 gives the lemma. ■
Theorem 6.7. Let T and Y=(Ym)m≥0 be as in Theorem 6.4, and let i be a state with P{XT=i,T<+∞}>0. The families of random variables Y and X∣T are independent with respect to the probability measure P{⋅∣XT=i,T<+∞}.
Proof (complete). Write j0=i. It suffices to check that, for all n,m>0 and all states j1,…,jm,i0,…,in, the events {Ym=jm,…,Y1=j1,Y0=j0} and {XT∧n=in,…,XT∧0=i0} are independent. We begin by computing
where i∞ is an arbitrary state. Since the stopping time Ti(1) is Pi-almost surely finite and the random variable Y0 is Pi-almost surely equal to i, by Theorem 6.4 the sequences of random variables (Xn)n≥0 and (Yn)n≥0 have the same distributions. Moreover, the n-th entrance in i of (Xn)n≥0 coincides with the (n−1)-th entrance in i of (Yn)n≥0. Therefore we have