Download presentation

Presentation is loading. Please wait.

Published byRay Blacker Modified about 1 year ago

1
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Markov Chains and the Theory of Games 9 Markov Chains Regular Markov Chains Absorbing Markov Chains Game Theory and Strictly Determined Games Games with Mixed Strategies

2
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc 2. The sum of the entries in each column of T is 1. Any square matrix that satisfies the properties: can be referred to as a stochastic matrix. Ex. Stochastic, columns add to 1 Not stochastic, column 1: sum = 1.3

3
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Markov Process (Chain) Stochastic Process in which the outcomes at any stage of the experiment depend only on the outcomes of the preceding stage. The state is the outcome at any stage. The outcome at the current stage is called the current state.

4
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Ex. We are given a process with 2 choices: A and B. It is expected that if a person chooses A then that person has a 30% probability of choosing A the next time. If a person chooses B then that person has a 60% probability of choosing B the next time. A AA B B B Basically: This can be represented by a transition matrix

5
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc State 1 State 2 The probability that something in state 1 will be in state 1 in the next step is a 11 = 0.3 The probability that something in state 2 will be in state 1 in the next step is a 12 = 0.4

6
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Transition Matrix A transition matrix associated with a Markov chain with n states is an n X n matrix T with entries a ij 2. The sum of the entries in each column of T is 1. Next state Current State Current state Next state

7
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Ex. It has been found that of the people that eat brand X cereal, 85% will eat brand X again the next time and the rest will switch to brand Y. Also, 90% of the people that eat brand Y will eat brand Y the next time with the rest switching to brand X. At present, 70% of the people will eat brand X and the rest will eat brand Y. What percent will eat brand X after 1 cycle? Initial stateTransition: One cycle: So 62.5% will eat brand X X Y

8
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Notice from the previous example: is called a distribution vector In general, the probability distribution of the system after n observations is given by

9
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Regular Markov Chain A stochastic matrix T is a regular Markov chain if the sequence T, T 2, T 3,… approaches a steady-state matrix in which the rows of the limiting matrix are all equal and all the entries are positive. Ex. Regular: all entries positive

10
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Ex. T is Regular: all entries of T 2 positive Notice Ex. Notice Not regular: entries of T to a power will never all be positive.

11
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Steady–State Distribution Vector The steady-state distribution vector is the limiting vector from the repeated application of the transition matrix to the distribution vector. Ex. Given Notice (after some work) Tends toward

12
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Finding the Steady-State Distribution Vector Let T be a regular stochastic matrix. Then the steady- state distribution vector X may be found by solving the vector equation together with the condition that the sum of the elements of the vector X be equal to 1.

13
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Ex. Find the steady-state vector for the transition matrix: Also need: Which gives:So

14
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Absorbing Stochastic Matrix An absorbing stochastic matrix has the properties: 1.There is at least one absorbing state. 2.It is possible to go from any non-absorbing state to an absorbing state in one or more stages. Ex. Absorbing Matrix State 3 is an absorbing state and an object may go from state 2 or 1 (non-absorbing states) to state 3

15
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Given an absorbing stochastic matrix it is possible to rewrite it in the form: AbsorbingNonabsorbing I: identity matrix O: zero matrix Ex

16
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Finding the Steady-State Matrix for an Absorbing Stochastic Matrix Suppose an absorbing stochastic matrix A has been partitioned into submatrices Then the steady-state matrix of A is given by Where the order of the identity matrix is chosen to have the same order as R.

17
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Ex. Compute the steady-state matrix for the matrix from the previous example:

18
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc The steady-state matrix is: Original columns Original rows This means that an object starting in state 3 will have a probability of of being in state 2 in the long term.

19
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Game Theory A combination of matrix methods with the theory of probability to determine the optimal strategies to be used when opponents are competing to maximize gains (minimize losses).

20
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Ex. Rafe (row player) and Carley (column player) are playing a game where each holds out a red or black chip simultaneously (neither knows the other’s choice). The betting is summarized below Carley holds black Carley holds red Rafe holds black Carley pays Rafe $5 Rafe pays Carley $10 Rafe holds red Carley pays Rafe $2 Carley pays Rafe $3

21
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc The game is a zero-sum game since one person’s payoff is the same as the other person’s loss. We can summarize the game as a payoff matrix for Rafe: R1R2R1R2 C 1 C 2 Rafe basically picks a row and Carley picks a column. Since the matrix is a payoff for Rafe, he wants to maximize the entry while Carley wants to minimize the entry.

22
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc R1R2R1R2 C 1 C 2 Rafe should look at the minima for each row, then pick the larger of the minima. This is called the Maximin strategy. –10 2 minima Carley should look for the maxima of the columns, then pick the smallest of the maxima. This is called the Minimax strategy. 5 3 maxima From this we see that Rafe should pick row 2 while Carley should pick column 2.

23
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Maxmin Strategy (R’s move) 1.For each row (payoff matrix), find the smallest entry in that row. 2.Choose the row for which the entry found in step 1 is as large as possible. Minmax Strategy (C’s move) 1.For each column of the payoff matrix, find the largest entry in that column. 2.Choose the column for which the entry found in step 1 is as small as possible.

24
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Ex. Determine the maximin and minimax strategies for each player in a game that has the payoff matrix: Row minima Column maxima –2 –4 4 3 –2 The row player should pick row 1. The column player should pick column 3. *Note: the column player is favored under these strategies (win 2)

25
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Optimal Strategy The optimal strategy in a game is the strategy that is most profitable to a particular player.

26
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Strictly Determined Game A strictly determined game is characterized by the following properties: 1.There is an entry in the payoff matrix that is simultaneously the smallest entry in its row and the largest entry in its column. This entry is called the saddle point for the game. 2.The optimal strategy for the row (column) player is precisely the maxmin (minmax) strategy and is the row (column) containing the saddle point.

27
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc From a previous example: This is a strictly determined game with saddle point. The optimal strategies are for row player to pick row 1 and the column player to pick column 3. The value of the game is –2.

28
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Mixed Strategies Making different moves during a game. A row (column) player may choose different rows (columns) during the game. Ex. The game below has no saddle point. From a minimax/maximin strategy the row player should pick row 2 and the column player should pick column 3.

29
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc For a mixed strategy, let the row player pick row 2, 80% of the time and row 1, 20 % of the time. Let the column player pick column 1, 2, and 3, 10%, 20%, and 70% of the time respectively. Row player: Column player: To find the expected value of the game we compute: = 1.1 payoff Expected value

30
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Expected Value of a Game Let P and Q be the mixed strategies for the row player R and the column player C respectively. The expected value, E, of the game is given by: Payoff matrix

31
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Optimal Strategies for Nonstrictly Determined Games Payoff matrix Row player: Column player: Where Value of the game:

32
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc Ex. Given the payoff matrix, find the optimal strategies and then the value of the game. Row player should pick each row 50% of the time. Column player should pick column 1, 90% of the time. Value:

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google