![]() |
![]() |
|
![]() |
![]() |
Encyclopedia :
E :
EX :
EXA :
Examples of Markov chains |
|
|
Examples of Markov chainsThis page contains examples of Markov chains in action. A game of Monopoly, snakes and ladders or any other game whose moves are determined entirely by dice is a Markov chain. This is in contrast to card games such as poker or blackjack, where the cards represent a 'memory' of the past moves. To see the difference, consider the probability for a certain event in the game. In the above mentioned dice games, the only thing that matters is the current state of the board. The next state of the board depends on the current state, and the next roll of the dice. It doesn't depend on how things got to their current state. In a game such as poker or blackjack, a player can gain an advantage by remembering which hands have already been played (and hence which cards are no longer in the deck), so the next state (or hand) of the game is not independent of the past states. A very simple weather model The probabilities of weather conditions, given the weather on the preceding day,
likely to be followed by another sunny day, and a rainy day is 50% likely to be followed by another rainy day. The columns can be labelled "sunny" and "rainy" respectively, and the rows can be labelled in the same order. (P)i j is the probability that, if a given day is of type j, it will be Notice that the columns of P sum to 1: this is because P is a stochastic matrix. Predicting the weatherThe weather on day 0 is known to be sunny. This is represented by a vector in which the "sunny" entry is 100%, and the "rainy" entry is 0%:
The weather on day 2 can be predicted in the same way:
inaccurate and tend towards a steady state vector. This vector represents the probabilities of sunny and rainy weather on all days, and is independent of the initial weather. The steady state vector is defined as:
is at least one Pn with all non-zero entries). Since the q is independent from initial conditions, it must be unchanged when transformed by P. This makes it an eigenvector (with eigenvalue 1), and means it can be derived from P. For the weather example:
: Set s = q2, so 5 s = q1. We want
Citation Ranking For the most prolific example of the use of Markov chains, see Google. External links
|
|
|
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License. |
|
| © 2008 Chamas Enterprises Inc. |