A Markov chain is a sequence of states with the memoryless property:
All the future-relevant information sits in the current state. The transition matrix encodes the dynamics.
Two key facts:
- After steps, the state distribution is , where is the initial distribution treated as a row vector.
- An irreducible aperiodic chain on a finite state space has a unique stationary distribution that's the long-run limit of .
In finance, Markov chains model credit rating migration (today's rating depends only on yesterday's), hidden regime models for volatility, and the random-walk hypothesis for prices. PageRank, the original engine behind Google search, is also a stationary distribution of a Markov chain — applied to the web's hyperlink graph.