ms&e 246: lecture 2 the basics - stanford...

50
MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Upload: ngonga

Post on 07-Jul-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

MS&E 246: Lecture 2The basics

Ramesh JohariJanuary 16, 2007

Page 2: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Course overview

(Mainly) noncooperative game theory.

Noncooperative:Focus on individual players’ incentives (note these might lead to cooperation!)

Game theory:Analyzing the behavior of rational,self interested players

Page 3: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

What’s in a game?

1. Players: Who? 2. Strategies: What actions are available?3. Rules: How? When? What do they know?4. Outcomes: What results?5. Payoffs:

How do players evaluate outcomes ofthe game?

Page 4: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Chess

1. Players: Chess masters2. Strategies: Moving a piece3. Rules: How pieces are moved/removed4. Outcomes: Victory or defeat5. Payoffs:

Thrill of victory,agony of defeat

Page 5: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Rationality

Players are rational and self-interested:

They will always choose actions that maximize their payoffs,given everything they know.

Page 6: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Static games

We first focus on static games.(one-shot games, simultaneous-move games)

For any such game, the rules say:All players must simultaneously pick a strategy.

This immediately determines an outcome, and hence their payoff.

Page 7: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Knowledge

• All players knowthe structure of the game:

players, strategies, rules,outcomes, payoffs

Page 8: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Common knowledge

• All players knowthe structure of the game• All players know all players know

the structure• All players know all players know all players know

the structure

and so on... ⇒We say: the structure is common knowledge.

This is called complete information.

Page 9: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

PART I: Static games of complete information 

Page 10: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Representation

• N : # of players• Sn : strategies available to player n• Outcomes:

Composite strategy vectors• Πn(s1, …, sN) :

payoff to player n whenplayer i plays strategy si, i = 1, …, N

Page 11: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: A routing game

MCI and AT&T:A Chicago customer of MCI wants to send

1 MB to an SF customer of AT&T.A LA customer of AT&T wants to send

1 MB to an NY customer of MCI.Providers minimize their own cost.Key: MCI and AT&T only exchange traffic

(“peer”) in NY and SF.

Page 12: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: A routing game

San Francisco

Chicago

Los Angeles

New York

MCI

AT&T

Costs (per MB): Long links = 2; Short links = 1

(1 MB for AT&T/SF)

(1 MB for MCI/NY)

Page 13: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: A routing game

Players: MCI and AT&T (N = 2)Strategies: Choice of traffic exit

S1 = S2 = { nearest exit, furthest exit }Payoffs:Both choose furthest exit: ΠMCI = ΠAT&T = -2Both choose nearest exit: ΠMCI = ΠAT&T = -4MCI chooses near, AT&T chooses far:ΠMCI = -1, ΠAT&T = -5

Page 14: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: A routing game

Games with N = 2, Sn finite for each nare called bimatrix games.

(-2,-2)(-5,-1)far

(-1,-5)(-4,-4)near

farnear

AT&T

MCI

Page 15: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Matching pennies

This is a zero-sum matrix game.

(1,-1)(-1,1)T

(-1,1)(1,-1)H

TH

Player 2

Player 1

Page 16: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Dominance

sn ∈ Sn is a (weakly) dominated strategy if

there exists sn* ∈ Sn such that

Πn(sn*, s-n) ≥ Πn(sn, s-n),

for any choice of s-n , withstrict ineq. for at least one choice of s-n

If the ineq. is always strict, then sn is a strictly dominated strategy.

Page 17: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Dominance

sn* ∈ Sn is a weak dominant strategy if

sn* weakly dominates all other sn ∈ Sn.

sn* ∈ Sn is a strict dominant strategy if

sn* strictly dominates all other sn ∈ Sn.

(Note: dominant strategies are unique!)

Page 18: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Dominant strategy equilibrium

s ∈ S1 × L × SN is a

strict (or weak)dominant strategy equilibrium

if sn is a strict (or weak) dominant strategyfor each n.

Page 19: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Back to the routing game

Nearest exit is strict dominant strategyfor MCI.

(-2,-2)(-5,-1)far

(-1,-5)(-4,-4)near

farnear

AT&T

MCI

Page 20: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Back to the routing game

Nearest exit is strict dominant strategyfor AT&T.

(-2,-2)(-5,-1)far

(-1,-5)(-4,-4)near

farnear

AT&T

MCI

Page 21: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Back to the routing game

Both choosing nearest exit is astrict dominant strategy equilibrium.

(-2,-2)(-5,-1)far

(-1,-5)(-4,-4)near

farnear

AT&T

MCI

Page 22: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Second price auction

• N bidders• Strategies: Sn = [0, ∞); sn = “bid”• Rules & outcomes:

High bidder wins, pays second highest bid• Payoffs:

• Zero if a player loses• If player n wins and pays tn , then

Πn = vn - tn

• vn : valuation of player n

Page 23: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Second price auction

• Claim: Truthful bidding (sn = vn) is a weak dominant strategy for player n.

• Proof: If player n considers a bid > vn :

Payoff may be lower when n wins,and the same (zero) when n loses

Page 24: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Second price auction

• Claim: Truthful bidding (sn = vn) is a weak dominant strategy for player n.

• Proof: If player n considers a bid < vn :

Payoff will be same when n wins,but may be worse when n loses

Page 25: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Second price auction

• We conclude:

Truthful bidding is a (weak)dominant strategy equilibrium for the second price auction.

Page 26: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Matching pennies

No dominant/dominated strategy exists!Moral: Dominant strategy eq. may not exist.

(1,-1)(-1,1)T

(-1,1)(1,-1)H

TH

Player 2

Player 1

Page 27: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Iterated strict dominance

Given a game:• Construct a new game by removing a

strictly dominated strategy from one of the strategy spaces Sn .

• Repeat this procedure until no strictly dominated strategies remain.

If this results in a unique strategy profile,the game is called dominance solvable.

Page 28: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Iterated strict dominance

• Note that the bidding game in Lecture 1 was dominance solvable.

• There the unique resulting strategy profile was (6,6).

Page 29: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example

Down

Up

(2,0)(0,1)(0,3)

(0,1)(1,2)(1,0)

RightMiddleLeft

Player 2

Player 1

Page 30: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example

Down

Up

(2,0)(0,1)(0,3)

(0,1)(1,2)(1,0)

RightMiddleLeft

Player 2

Player 1

Page 31: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example

Down

Up

(2,0)(0,1)(0,3)

(0,1)(1,2)(1,0)

RightMiddleLeft

Player 2

Player 1

Page 32: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example

Thus the game is dominance solvable.

Down

Up

(2,0)(0,1)(0,3)

(0,1)(1,2)(1,0)

RightMiddleLeft

Player 2

Player 1

Page 33: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Cournot duopoly

• Two firms (N = 2)• Cournot competition:

each firm chooses a quantity sn ≥ 0• Cost of producing sn : c sn

• Demand curve:Price = P(s1 + s2) = a – b (s1 + s2)

• Payoffs:Profit = Πn(s1, s2) = P(s1 + s2) sn – c sn

Page 34: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Cournot duopoly

• Claim:The Cournot duopoly is

dominance solvable.• Proof technique:

First construct thebest response for each player.

Page 35: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Best response

Best response set for player n to s-n:Rn(s-n) = arg maxsn ∈ Sn

Πn(sn, s-n)

[ Note: arg maxx ∈ X f(x) is theset of x that maximize f(x) ]

Page 36: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Cournot duopoly

Calculating the best response given s-n:

Differentiate and solve:

So:

Page 37: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Cournot duopoly

For simplicity, let t = (a - c)/bt

00 s1

s2

R1(s2)

R2(s1)

t

Page 38: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Cournot duopoly

Step 1: Remove strictly dominated s1.t

00 s1

s2

R1(s2)

R2(s1)

t

All s1 > t/2 are strictlydominated by s1 = t/2

Page 39: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Cournot duopoly

Step 2: Remove strictly dominated s2.

00 s1

s2

R1(s2)

R2(s1)

t

t

All s2 > t/2 are strictlydominated by s2 = t/2…

Page 40: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Cournot duopoly

Step 2: Remove strictly dominated s2.

00 s1

s2

R1(s2)

R2(s1)

t

t

All s2 > t/2 are strictlydominated by s2 = t/2…

…and all s2 < t/4 are strictly dominated by s2 = t/4.

Page 41: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Cournot duopoly

Step 3: Remove strictly dominated s1.

00 s1

s2

R1(s2)

R2(s1)

t

t

Page 42: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Cournot duopoly

Step 4: Remove strictly dominated s2.

00 s1

s2

R1(s2)

R2(s1)

t

t

Page 43: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Cournot duopoly

The process converges to the intersection point: s1 = t/3, s2 = t/3

[5t/16, 11t/32]5

[21t/64, 43t/128]7

[t/4, 3t/8]3

[0, t/2]1

Undominated s1Step #

Page 44: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Example: Cournot duopoly

Lower bound =

Upper bound =

Page 45: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Dominance solvability: comments

• Order of elimination doesn’t matter• Just as most games don’t have DSE,

most games are not dominance solvable

Page 46: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Rationalizable strategies

Given a game:• For each player n, remove strategies from

each Sn that are not best responses for anychoice of other players’ strategies.

• Repeat this procedure.

Strategies that survive this process are called rationalizable strategies.

Page 47: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Rationalizable strategies

In a two player game, a strategy s1 is rationalizable for player 1 if there exists a chain of justifications1 → s2 → s1’ → s2’ → … → s1

where each is a best response to the one before.

Page 48: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Rationalizable strategies

• If sn is rationalizable, it alsosurvives iterated strict dominance.(Why?)

⇒ For a dominance solvable game, there is a unique rationalizable strategy,and it is the one given by iterated strict dominance.

Page 49: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Rationalizability: example

Note that M is not rationalizable,but it survives iterated strict dominance.

B

T

(1,0)(1,1)(1,5)

(1,5)(1,1)(1,0)

RML

Player 2

Player 1

Page 50: MS&E 246: Lecture 2 The basics - Stanford Universityweb.stanford.edu/~rjohari/teaching/notes/246_lecture2_2007.pdf · MS&E 246: Lecture 2 The basics Ramesh Johari January 16, 2007

Rationalizable strategies

Note for later:

When “mixed” strategies are allowed,rationalizability = iterated strict

dominancefor two player games.