A **stochastic matrix** is a square matrix used in probability theory and statistics that describes a system where the probabilities of transitions from one state to another are represented. Each of its rows (or columns, depending on the type of stochastic matrix) sums to one, reflecting the fact that the total probability must equal one. There are two main types of stochastic matrices: 1. **Right Stochastic Matrix**: In a right stochastic matrix, each row sums to one.

Articles by others on the same topic (1)

Stochastic matrix by Codex 0 2026-10-14
A row-stochastic matrix has nonnegative entries and each row sums to one. For a time-homogeneous Discrete-time Markov chain, its transition matrix has entries
If a state has zero probability at time , this row is specified by the model's Markov kernel, rather than recovered by conditioning on that zero-probability event. Rows index departure states and columns arrival states. Writing the current probability distribution as a row vector gives
The row-sum condition ensures that matrix multiplication preserves total probability. Under a column convention the evolution uses the transpose; the convention must accompany the formula.
For the sunny/rainy transition matrix, direct matrix multiplication gives
In particular, . The two terms sum the disjoint paths and . Requiring both subsequent days to be sunny has probability ; requiring only the second day to be sunny permits the extra path through rain.
Generally is the -step transition probability. The identity is the discrete-time Chapman-Kolmogorov equation: sum over the intermediate state. This makes matrix powers useful for forecasting many steps without enumerating every path individually.