Lably
Skip to content

Discrete-time Markov chain

Probability concept

  • 11 min read
  • 6 chapters

Related on Lably

Through Probability, Stochastic process and Random variable

An example of a stochastic process which is not a Markov chain is the model of a machine which has states A and E and moves to A from either state with 50% chance if it has ever visited A before, and 20% chance if it has never visited A before (leaving a 50% or 80% chance that the machine moves to E). This is because the behavior of the machine depends on the whole history—if the machine is in E, it may have a 50% or 20% chance of moving to A, depending on its past values. Hence, it does not have the Markov property.

A Markov chain can be described by a stochastic matrix, which lists the probabilities of moving to each state from any individual state. From this matrix, the probability of being in a particular state n steps in the future can be calculated. A Markov chain's state space can be partitioned into communicating classes that describe which states are reachable from each other (in one transition or in many). Each state can be described as transient or recurrent, depending on the probability of the chain ever returning to that state. Markov chains can have properties including periodicity, reversibility and stationarity. A continuous-time Markov chain is like a discrete-time Markov chain, but it moves states continuously through time rather than as discrete time steps. Other stochastic processes can satisfy the Markov property, the property that past behavior does not affect the process, only the present state.

Definition

A discrete-time Markov chain is a sequence of random variables X0,X1,X2,... with the Markov property, namely that the probability of moving to the next state depends only on the present state and not on the previous states:

Pr(Xn+1=x∣X1=x1,X2=x2,…,Xn=xn)=Pr(Xn+1=x∣Xn=xn), if both conditional probabilities are well defined, that is, if Pr(X1=x1,…,Xn=xn)>0.

The possible values of Xi form a countable set S called the state space of the chain.

Markov chains are often described by a sequence of directed graphs, where the edges of graph n are labeled by the probabilities of going from one state at time n to the other states at time n + 1, Pr(Xn+1=x∣Xn=xn). The same information is represented by the transition matrix from time n to time n + 1. However, Markov chains are frequently assumed to be time-homogeneous (see variations below), in which case the graph and matrix are independent of n and are thus not presented as sequences.

These descriptions highlight the structure of the Markov chain that is independent of the initial distribution Pr(X1=x1). When time-homogeneous, the chain can be interpreted as a state machine assigning a probability of hopping from each vertex or state to an adjacent one. The probability Pr(Xn=x∣X1=x1) of the machine's state can be analyzed as the statistical behavior of the machine with an element x1 of the state space as input, or as the behavior of the machine with the initial distribution Pr(X1=y)=[x1=y] of states as input, where [P] is the Iverson bracket.

Variations

  • Time-homogeneous Markov chains (or stationary Markov chains) are processes where
Pr(Xn+1=x∣Xn=y)=Pr(Xn=x∣Xn−1=y)
for all n. The probability of the transition is independent of n.
  • A Markov chain with memory (or a Markov chain of order m)
where m is finite, is a process satisfying
Pr(Xn=xn∣Xn−1=xn−1,Xn−2=xn−2,…,X1=x1)=Pr(Xn=xn∣Xn−1=xn−1,Xn−2=xn−2,…,Xn−m=xn−m) for n>m
In other words, the future state depends on the past m states. It is possible to construct a chain (Yn) from (Xn) which has the 'classical' Markov property by taking as state space the ordered m-tuples of X values, ie. Yn=(Xn,Xn−1,…,Xn−m+1).

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Topics in mathematics