Stochastic matrix
From Wikipedia, the free encyclopedia
- For a matrix whose elements are stochastic, see Random matrix
- A right stochastic matrix is a square matrix each of whose rows consists of nonnegative real numbers, with each row summing to 1.
- A left stochastic matrix is a square matrix each of whose columns consist of nonnegative real numbers, with each column summing to 1.
- A doubly stochastic matrix is a square matrix where all entries are nonnegative and all rows and all columns sum to 1.
A common convention in English language mathematics literature is to use row vectors of probabilities and right stochastic matrices rather than column vectors of probabilities and left stochastic matrices; this article follows that convention.
Contents |
Definition and properties
A stochastic matrix describes a Markov chain over a finite state space S.If the probability of moving from to in one time step is , the stochastic matrix P is given by using as the row and column element, e.g.,
An initial distribution is given as a row vector.
A stationary probability vector is defined as a vector that does not change under application of the transition matrix; that is, it is defined as a left eigenvector of the probability matrix, associated with eigenvalue 1:
Example: the cat and mouse
Suppose you have a timer and a row of five adjacent boxes, with a cat in the first box and a mouse in the fifth box at time zero. The cat and the mouse both jump to a random adjacent box when the timer advances. E.g. if the cat is in the second box and the mouse in the fourth one, the probability is one fourth that the cat will be in the first box and the mouse in the fifth after the timer advances. If the cat is in the first box and the mouse in the fifth one, the probability is one that the cat will be in box two and the mouse will be in box four after the timer advances. The cat eats the mouse if both end up in the same box, at which time the game ends. The random variable K gives the number of time steps the mouse stays in the game.The Markov chain that represents this game contains the following five states:
- State 1: cat in the first box, mouse in the third box: (1, 3)
- State 2: cat in the first box, mouse in the fifth box: (1, 5)
- State 3: cat in the second box, mouse in the fourth box: (2, 4)
- State 4: cat in the third box, mouse in the fifth box: (3, 5)
- State 5: the cat ate the mouse and the game ended: F.
Long-term averages
As state 5 is an absorbing state the long-term average vector . Regardless of the initial conditions the cat will eventually catch the mouse.Phase-type representation
As the game has an absorbing state 5 the distribution of time to absorption is discrete phase-type distributed. Suppose the system starts in state 2, represented by the vector . To simplify the calculations, state five can be ignored. Let- with
See also
- Muirhead's inequality
- Perron–Frobenius theorem
- Doubly stochastic matrix
- Discrete phase-type distribution
- Probabilistic automaton
- Models of DNA evolution
References
- G. Latouche, V. Ramaswami. Introduction to Matrix Analytic Methods in Stochastic Modeling, 1st edition. Chapter 2: PH Distributions; ASA SIAM, 1999.
No comments:
Post a Comment
Thank you