Home Statistical Dictionary Markov Chain
Markov Chain
A sequence of random variables moving through a countable set of states, where the probability of the next state depends only on the current state, never on the path taken to reach it.
In Plain English
A Markov chain is randomness with a short memory. Wherever the process is right now completely determines the odds of where it goes next, everything that happened before this moment is irrelevant. Weather models (today's state predicts tomorrow's), board games like Snakes and Ladders, and PageRank's web-surfing model are all Markov chains: the state space might be huge, but the rule governing each step only ever looks one step back.
Definition
A Markov chain is a discrete-time stochastic process taking values in a countable state space , satisfying the Markov property: the conditional distribution of the next state given the entire past depends only on the present state. Formally, for all states and all . The collection of one-step transition probabilities fully specifies the chain's dynamics (together with an initial distribution), and is conventionally arranged into a transition matrix. Markov chains form the foundation for a large family of models used throughout statistics and applied probability, including hidden Markov models, MCMC sampling, and queueing theory.
Formula
Notation
Properties
- The Markov property is about the present state, not about time itself, a chain can have an enormously complex state (e.g. the entire configuration of a board game) as long as that state alone, with no additional history, determines the next-step probabilities.
- Many processes that don't look memoryless at first can be turned into Markov chains by enlarging the state: for example, a process depending on the last two observations becomes Markov if the state is redefined as the pair (previous, current) observation.
- Markov chains underlie some of the most consequential algorithms in modern statistics and computing, Markov Chain Monte Carlo for Bayesian posterior sampling, Google's original PageRank algorithm, and hidden Markov models for speech recognition and genomics all build directly on this one memorylessness assumption.
At a Glance