Session 3: Computational Game Theory

Similar documents
Can we have no Nash Equilibria? Can you have more than one Nash Equilibrium? CS 430: Artificial Intelligence Game Theory II (Nash Equilibria)

CS711: Introduction to Game Theory and Mechanism Design

Solution to Tutorial 1

Game Theory Notes: Examples of Games with Dominant Strategy Equilibrium or Nash Equilibrium

Solution to Tutorial /2013 Semester I MA4264 Game Theory

ECON 459 Game Theory. Lecture Notes Auctions. Luca Anderlini Spring 2017

Continuing Education Course #287 Engineering Methods in Microsoft Excel Part 2: Applied Optimization

Outline for today. Stat155 Game Theory Lecture 13: General-Sum Games. General-sum games. General-sum games. Dominated pure strategies

S 2,2-1, x c C x r, 1 0,0

(a) Describe the game in plain english and find its equivalent strategic form.

Game Theory. Analyzing Games: From Optimality to Equilibrium. Manar Mohaisen Department of EEC Engineering

SI 563 Homework 3 Oct 5, Determine the set of rationalizable strategies for each of the following games. a) X Y X Y Z

Chapter 10: Mixed strategies Nash equilibria, reaction curves and the equality of payoffs theorem

Journal of College Teaching & Learning February 2007 Volume 4, Number 2 ABSTRACT

AS/ECON 2350 S2 N Answers to Mid term Exam July time : 1 hour. Do all 4 questions. All count equally.

Elements of Economic Analysis II Lecture X: Introduction to Game Theory

The Ohio State University Department of Economics Second Midterm Examination Answers

Math 135: Answers to Practice Problems

CS 331: Artificial Intelligence Game Theory I. Prisoner s Dilemma

EconS 301 Intermediate Microeconomics. Review Session #13 Chapter 14: Strategy and Game Theory

Economics 502 April 3, 2008

Microeconomic Theory II Preliminary Examination Solutions

CS188 Spring 2012 Section 4: Games

Université du Maine Théorie des Jeux Yves Zenou Correction de l examen du 16 décembre 2013 (1 heure 30)

Yao s Minimax Principle

6.254 : Game Theory with Engineering Applications Lecture 3: Strategic Form Games - Solution Concepts

ECONS 424 STRATEGY AND GAME THEORY HANDOUT ON PERFECT BAYESIAN EQUILIBRIUM- III Semi-Separating equilibrium

Week 8: Basic concepts in game theory

Thursday, March 3

ECE 586BH: Problem Set 5: Problems and Solutions Multistage games, including repeated games, with observed moves

Introduction to Multi-Agent Programming

TUFTS UNIVERSITY DEPARTMENT OF CIVIL AND ENVIRONMENTAL ENGINEERING ES 152 ENGINEERING SYSTEMS Spring Lesson 16 Introduction to Game Theory

6.896 Topics in Algorithmic Game Theory February 10, Lecture 3

Economics 109 Practice Problems 1, Vincent Crawford, Spring 2002

ECE 586GT: Problem Set 1: Problems and Solutions Analysis of static games

MA300.2 Game Theory 2005, LSE

Note on Using Excel to Compute Optimal Risky Portfolios. Candie Chang, Hong Kong University of Science and Technology

Microeconomic Theory II Preliminary Examination Solutions Exam date: August 7, 2017

preferences of the individual players over these possible outcomes, typically measured by a utility or payoff function.

Exercises Solutions: Game Theory

Final Examination December 14, Economics 5010 AF3.0 : Applied Microeconomics. time=2.5 hours

Math 167: Mathematical Game Theory Instructor: Alpár R. Mészáros

Name. FINAL EXAM, Econ 171, March, 2015

Outline for today. Stat155 Game Theory Lecture 19: Price of anarchy. Cooperative games. Price of anarchy. Price of anarchy

Introduction to Industrial Organization Professor: Caixia Shen Fall 2014 Lecture Note 5 Games and Strategy (Ch. 4)

Game Theory. Lecture Notes By Y. Narahari. Department of Computer Science and Automation Indian Institute of Science Bangalore, India October 2012

Prisoner s Dilemma. CS 331: Artificial Intelligence Game Theory I. Prisoner s Dilemma. Prisoner s Dilemma. Prisoner s Dilemma.

In the Name of God. Sharif University of Technology. Microeconomics 2. Graduate School of Management and Economics. Dr. S.

Microeconomics Comprehensive Exam

Economics 209A Theory and Application of Non-Cooperative Games (Fall 2013) Repeated games OR 8 and 9, and FT 5

Bayesian Nash Equilibrium

Microeconomics of Banking: Lecture 5

Mixed Strategies. Samuel Alizon and Daniel Cownden February 4, 2009

Midterm #2 EconS 527 [November 7 th, 2016]

M.Phil. Game theory: Problem set II. These problems are designed for discussions in the classes of Week 8 of Michaelmas term. 1

Player 2 H T T -1,1 1, -1

6.207/14.15: Networks Lecture 10: Introduction to Game Theory 2

CSE 316A: Homework 5

Microeconomic Theory II Preliminary Examination Solutions Exam date: June 5, 2017

Economics 171: Final Exam

CS 188 Fall Introduction to Artificial Intelligence Midterm 1. ˆ You have approximately 2 hours and 50 minutes.

Regret Minimization and Security Strategies

Chapter 2 Strategic Dominance

Ph.D. Preliminary Examination MICROECONOMIC THEORY Applied Economics Graduate Program June 2015

Ten Little Treasures of Game Theory and Ten Intuitive Contradictions: Instructions and Data

Game Theory Lecture #16

G5212: Game Theory. Mark Dean. Spring 2017

General Examination in Microeconomic Theory SPRING 2014

FDPE Microeconomics 3 Spring 2017 Pauli Murto TA: Tsz-Ning Wong (These solution hints are based on Julia Salmi s solution hints for Spring 2015.

Corporate Control. Itay Goldstein. Wharton School, University of Pennsylvania

TTIC An Introduction to the Theory of Machine Learning. Learning and Game Theory. Avrim Blum 5/7/18, 5/9/18

m 11 m 12 Non-Zero Sum Games Matrix Form of Zero-Sum Games R&N Section 17.6

Iterated Dominance and Nash Equilibrium

ECO303: Intermediate Microeconomic Theory Benjamin Balak, Spring 2008

Game Theory: Global Games. Christoph Schottmüller

February 23, An Application in Industrial Organization

Jianfei Shen. School of Economics, The University of New South Wales, Sydney 2052, Australia

Finding Mixed-strategy Nash Equilibria in 2 2 Games ÙÛ

Early PD experiments

ECO410H: Practice Questions 2 SOLUTIONS

Duopoly models Multistage games with observed actions Subgame perfect equilibrium Extensive form of a game Two-stage prisoner s dilemma

Comparative Study between Linear and Graphical Methods in Solving Optimization Problems

Elements of Economic Analysis II Lecture XI: Oligopoly: Cournot and Bertrand Competition

An introduction on game theory for wireless networking [1]

Signaling Games. Farhad Ghassemi

Microeconomics II. CIDE, MsC Economics. List of Problems

Prisoner s dilemma with T = 1

Regret Minimization and Correlated Equilibria

MATH 4321 Game Theory Solution to Homework Two

MA200.2 Game Theory II, LSE

ECON Microeconomics II IRYNA DUDNYK. Auctions.

Strategies and Nash Equilibrium. A Whirlwind Tour of Game Theory

Ad Auctions October 8, Ad Auctions October 8, 2010

Econ 101A Final exam Mo 19 May, 2008.

CS364A: Algorithmic Game Theory Lecture #14: Robust Price-of-Anarchy Bounds in Smooth Games

Lecture 6 Dynamic games with imperfect information

Economics Honors Exam Review (Micro) Mar Based on Zhaoning Wang s final review packet for Ec 1010a, Fall 2013

Repeated Games with Perfect Monitoring

Econ 101A Final exam May 14, 2013.

Ph.D. Preliminary Examination MICROECONOMIC THEORY Applied Economics Graduate Program August 2017

Transcription:

Session 3: Computational Game Theory Andreas Niedermayer October 2015 Contents 1 Introduction 2 2 Football Game 2 2.1 Exercise: Simulation............................... 2 2.2 Exercise: Find the Equilibrium......................... 3 3 Coordination Game 3 3.1 Exercise: Simulation............................... 3 3.2 Exercise: Find the Equilibrium......................... 3 3.3 Algorithmic Solution............................... 4 4 Appendix (Optional): More General McKelvey Algorithm 5 Slightly rearranged by Marco Riguzzi and Guido Baldi

1 INTRODUCTION 2 1 Introduction In the first part of this session we will look at the use of computers for solving problems in game theory. We don t expect you to have previous knowledge of game theory, concepts necessary for this session will be explained in class. However, it might be helpful to take a brief look at the definition of a Nash equilibrium in a microeconomics textbook. (For a simple definition look at the chapter on game theory in Varian [?]; for a more general definition Kreps [?] p. 404). With two players A and B a pair of strategies is a Nash equilibrium if A s choice is optimal, given B s choice, and B s choice is optimal given A s choice. (Varian [?], p. 482) i.e. a pair of strategies is a Nash equilibrium if neither of the players has an incentive to deviate from his actual strategy, given the strategy of the other player. Two basic types of Nash equilibria are the Nash equilibrium in pure strategies, and the Nash equilibrium in mixed strategies. At a Nash equilibrium in mixed strategies, the players choose the probabilities with which they play their strategies, such that no player has an incentive to alter his choice of probabilities, given the choice of probabilities of the other player. We will consider two examples of games that yield a Nash equilibrium in mixed strategies (football game and coordination game). 2 Football Game Consider the following game: a striker has passed the defense and only the goalkeeper is left between him and the goal. He has two possibilities: shoot the ball to the left or to the right. The goalkeeper can either jump to the left (from the striker s point of view) or to the right. If the goalkeeper jumps into the same direction as the striker shoots the ball, he can catch it. Otherwise, the striker scores. The payoffs of the game are: Striker shoot left shoot right jump left 0, 0 1, 1 Goalkeeper jump right 1, 1 0, 0 What do you think are the optimal strategies of the two players? 2.1 Exercise: Simulation Assume that the goalkeeper jumps to the left with probability 0.4. Interesting questions then are: With what probability should the striker shoot to the left? What is the payoff of the striker if he shoots to the left with probability x? Use Excel to calculate the striker s average payoff for 1000 random draws, for different values of x. That is, generate 1000 random draws for the behavior of the goalkeeper, given that he jumps left with a probability of 0.4. Then generate 1000 random draws for the behavior of the striker, given that he shoots left with probability x. Match the outcomes of the random

3 COORDINATION GAME 3 draws and compute the average payoff per shot of the striker. Vary x. What value of x should the striker choose, given the probability of the goalkeeper to jump left? Hint: To create a random number which is uniformly distributed between 0 and 1 in the German version of Excel enter =ZUFALLSZAHL() 1. If you want to have left in a cell with probability 0.3 and right with probability 0.7 type =WENN(ZUFALLSZAHL()<0.3;"left";"right") 2. Run the simulation for different values for the probability of the goalkeeper jumping to the left (e.g. 0, 0.5, 0.6, 1). 2.2 Exercise: Find the Equilibrium Create an 11 11 table with the columns as the probability of the striker shooting to the left (p shoot left = 0, 0.1, 0.2,... 1) and the rows as the probabilities of the goalkeeper of jumping left (p jump left = 0, 0.1, 0.2,... 1). Fill the table with the expected payoffs of the striker for the specific p shoot left and p jump left. Do you see points where the striker has no interest in deviating unilaterally? Do the same for the goalkeeper. Is there a Nash equilibrium in mixed strategies? 3 Coordination Game A couple loses each other in a shopping mall and tries to find each other again. The shopping mall has a west exit and an east exit. If they both go to the same exit, they can go home together (payoff 1), otherwise they have to continue searching for each other for hours (payoff 0). Man Woman west exit east exit west exit 1, 1 0, 0 east exit 0, 0 1, 1 What strategy should they pursue? 3.1 Exercise: Simulation Where should one go if one s partner goes to the west exit with probability 0.4? Try different probabilities and calculate the average payoff for 1000 random draws as in 2.1. In what respect do your findings differ from those derived in 2.1? 3.2 Exercise: Find the Equilibrium Create a table as in 2.2. Note that only one table is necessary, as both players have the same payoff structure. For each player mark the points where he/she has no incentive to 1 =RAND() in the English version 2 =IF(RAND()<0.3,"left","right")

3 COORDINATION GAME 4 unilaterally deviate. Is there a Nash equilibrium in mixed strategies? Compare your results to those derived from 2.2. 3.3 Algorithmic Solution Using Excel Solver, there is a procedure that is much faster than the one applied in exercises 2.2 and 3.2. McKelvey (1992) [?] has developed an algorithm to find the mixed strategy (i.e. probabilistic) Nash equilibria of a game numerically. It is a general algorithm for an arbitrary number of players with an arbitrary number of strategies, but we will look for the specific algorithm for the coordination game. We define the function v( ) as 3 v(p 1 1, p 1 2, p 2 1, p 2 2) = [ { max 0, p i j ( p 1 1p 2 1 + p 1 2p2)}] 2 2 i=1 j=1 with p i j denoting the probability that player i plays strategy j. (Player 1 is the man, player 2 the woman, strategy 1 is the west exit, strategy 2 the east exit). All Nash equilibria of the game are minima of v( ), further v() has the value 0 for a Nash equilibrium. To find the Nash equilibria all we have to do is tell the Excel Solver to minimize v(). Exercise: Create an Excel sheet with some initial value for p 1 1 and p 2 1. (Because the probabilities of the strategies of a player have to sum up to 1, you can express p 1 2 as (1 p 1 1) and p 2 2 as (1 p 2 1).) Enter the v() function. In the Excel menu choose Extras:Solver 4 and the dialog depicted in fig. 1 should appear. As the target cell ( Zielzelle ) choose the cell where v() is. Choose to minimize the target value ( Zielwert: Min ). Choose the cells with the probabilities of going to the west exit and the east exit as variable cells ( Veränderbare Zellen ). As constraints ( Nebenbedingungen ) enter that probabilities have to be between 0 and 1. Now click on the solve button ( Lösen ). Excel will try varying the probabilities in order to minimize v(). What equilibrium do you get? Try different starting values for the probabilities and rerun the solver. What equilibria do you get? Enter p 1 1 = 0.25 and p 2 1 = 0.25 and run the Solver. What do you get? Is this a Nash equilibrium? 3 This function is specific to the payoffs of the coordination game. Equation (1) is the general form for a 2 2 game. 4 in English version: Tools:Solver; in Excel 2007: Daten: Solver

4 APPENDIX (OPTIONAL): MORE GENERAL MCKELVEY ALGORITHM 5 Figure 1: Solver Dialog 4 Appendix (Optional): More General McKelvey Algorithm If there is enough time left, you can look at a more general version of the McKelvey algorithm. Here we will look at the solution of a two player two strategies game (see Judd (1998) [?] for an even more general version of the algorithm). Consider the following game: Player 1 Player 2 strategy 1 strategy 2 strategy 1 m 1 1,1, m 2 1,1 m 1 1,2, m 2 1,2 strategy 2 m 1 2,1, m 2 2,1 m 1 2,2, m 2 2,2 Here m i j,k is the payoff of player i if player 1 plays j and player 2 plays k. Let pi j still denote the probability that player i plays strategy j. Now function v() has the following value: v(p 1 1, p 1 2, p 2 1, p 2 2) = [ { max p 2 1m 1 j,1 + p 2 2m 1 j,2 j=1 + k=1 [ { max p 1 1m 2 1,j + p 1 2m 2 2,j j=1 }] 2 p 1 kp 2 l m 1 k,l l=1 k=1 2 p 1 kp 2 l mk,l}] 2. (1) l=1