# Markov property

In probability theory and statistics, the term Markov property refers to the memoryless property of a stochastic process, which means that its future evolution is independent of its history. It is named after the Russian mathematician Andrey Markov. The term strong Markov property is similar to the Markov property, except that the meaning of "present" is defined in terms of a random variable known as a stopping time.
The term Markov assumption is used to describe a model where the Markov property is assumed to hold, such as a hidden Markov model.
A Markov random field extends this property to two or more dimensions or to random variables defined for an interconnected network of items. An example of a model for such a field is the Ising model.
A discrete-time stochastic process satisfying the Markov property is known as a Markov chain.

## Introduction

A stochastic process has the Markov property if the conditional probability distribution of future states of the process (conditional on both past and present values) depends only upon the present state; that is, given the present, the future does not depend on the past. A process with this property is said to be Markov or Markovian and known as a Markov process. Two famous classes of Markov process are the Markov chain and Brownian motion.
Note that there is a subtle, often overlooked and very important point that is often missed in the plain English statement of the definition: the statespace of the process is constant through time. The conditional description involves a fixed "bandwidth". For example, without this restriction we could augment any process to one which includes the complete history from a given initial condition and it would be made to be Markovian. But the state space would be of increasing dimensionality over time and does not meet the definition.

## Definition

Let $(\Omega ,{\mathcal {F}},P)$ be a probability space with a filtration $({\mathcal {F}}_{s},\ s\in I)$, for some (totally ordered) index set $I$; and let $(S,{\mathcal {S}})$ be a measurable space. A $(S,{\mathcal {S}})$-valued stochastic process $X=\{X_{t}:\Omega \to S\}_{t\in I}$ adapted to the filtration is said to possess the Markov property if, for each $A\in {\mathcal {S}}$ and each $s,t\in I$ with $s<t$,
    $P(X_{t}\in A\mid {\mathcal {F}}_{s})=P(X_{t}\in A\mid X_{s}).$
In the case where $S$ is a discrete set with the discrete sigma algebra and $I=\mathbb {N}$, this can be reformulated as follows:
    $P(X_{n+1}=x_{n+1}\mid X_{n}=x_{n},\dots ,X_{1}=x_{1})=P(X_{n+1}=x_{n+1}\mid X_{n}=x_{n}){\text{ for all }}n\in \mathbb {N} .$

## Alternative formulations

Alternatively, the Markov property can be formulated as follows.
    $\operatorname {E} [f(X_{t})\mid {\mathcal {F}}_{s}]=\operatorname {E} [f(X_{t})\mid \sigma (X_{s})]$
for all $t\geq s\geq 0$ and $f:S\rightarrow \mathbb {R}$ bounded and measurable.

## Strong Markov property

Suppose that $X=(X_{t}:t\geq 0)$ is a stochastic process on a probability space $(\Omega ,{\mathcal {F}},P)$ with natural filtration $\{{\mathcal {F}}_{t}\}_{t\geq 0}$. Then for any stopping time $\tau$ on $\Omega$, we can define
    ${\mathcal {F}}_{\tau }=\{A\in {\mathcal {F}}:\forall t\geq 0,\{\tau \geq t\}\cap A\in {\mathcal {F}}_{t}\}$.
Then $X$ is said to have the strong Markov property if, for each stopping time $\tau$, conditional on the event $\{\tau <\infty \}$, we have that for each $t\geq 0$, $X_{\tau +t}$ is independent of ${\mathcal {F}}_{\tau }$ given $X_{\tau }$.
The strong Markov property implies the ordinary Markov property since by taking the stopping time $\tau =t$, the ordinary Markov property can be deduced.

## In forecasting

In the fields of predictive modelling and probabilistic forecasting, the Markov property is considered desirable since it may enable the reasoning and resolution of the problem that otherwise would not be possible to be resolved because of its intractability. Such a model is known as a Markov model.

## Examples

Assume that an urn contains two red balls and one green ball. One ball was drawn yesterday, one ball was drawn today, and the final ball will be drawn tomorrow. All of the draws are "without replacement".
Suppose you know that today's ball was red, but you have no information about yesterday's ball. The chance that tomorrow's ball will be red is 1/2. That's because the only two remaining outcomes for this random experiment are:
| Day | Outcome 1 | Outcome 2 |
| Yesterday | Red | Green |
| Today | Red | Red |
| Tomorrow | Green | Red |
On the other hand, if you know that both today and yesterday's balls were red, then you are guaranteed to get a green ball tomorrow.
This discrepancy shows that the probability distribution for tomorrow's color depends not only on the present value, but is also affected by information about the past. This stochastic process of observed colors doesn't have the Markov property. Using the same experiment above, if sampling "without replacement" is changed to sampling "with replacement," the process of observed colors will have the Markov property.
An application of the Markov property in a generalized form is in Markov chain Monte Carlo computations in the context of Bayesian statistics.