24
Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study Company behavior in imperfectly competitive markets (such as Coke vs. Pepsi). Military strategies. – Bargaining/Negotiations. – Biology A game consists of players, strategies, and payoffs.

Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Embed Size (px)

Citation preview

Page 1: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Game Theory

• Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents.

• Useful to study– Company behavior in imperfectly competitive markets

(such as Coke vs. Pepsi).– Military strategies.– Bargaining/Negotiations.– Biology

• A game consists of players, strategies, and payoffs.

Page 2: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Battle of Bismarck Sea

• We want to model the Battle of the Bismarck Sea.• Two Admirals: Imamura (Japan) and Kenny (US).• Japan is in retreat. • Imamura wants to transport troops in a convoy from Rabaul to Lae • Kenny wants to bomb Japanese troops. .• North route is two days, Southern route is three days.• It takes one day for Kenny to switch searching routes.

Page 3: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Imamura wants to run convoy from Rabaul to Lae

Page 4: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Battle of Bismarck SeaImamura

Kenny

1

North

2-2

2-2

3-1 -3

South

North

South

This representation is called a Normal form Game.•Imamura wants to transport troops.• Kenny wants to bomb Japanese troops. .• North route is two days, Southern route is three days.• It takes one day for Kenny to switch routes.

Page 5: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Battle of Bismarck SeaImamura

Kenny

1

North

2-2

2-2

3-1 -3

South

North

South

• Imamura wants to transport troops.• Kenny wants to bomb Japanese troops. .• North route is two days, Southern route is three days.• It takes one day for Kenny to switch routes.

Players

Page 6: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Battle of Bismarck SeaImamura

Kenny

1

North

2-2

2-2

3-1 -3

South

North

South

• Imamura wants to transport troops.• Kenny wants to bomb Japanese troops. .• North route is two days, Southern route is three days.• It takes one day for Kenny to switch routes.

Players

Imamura’sStrategies

Page 7: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Battle of Bismarck SeaImamura

Kenny

1

North

2-2

2-2

3-1 -3

South

North

South

• Imamura wants to transport troops.• Kenny wants to bomb Japanese troops. .• North route is two days, Southern route is three days.• It takes one day for Kenny to switch routes.

Players

Imamura’sStrategies

Kenny’sStrategies

Page 8: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Battle of Bismarck SeaImamura

Kenny

1

North

2-2

2-2

3-1 -3

South

North

South

• Imamura wants to transport troops.• Kenny wants to bomb Japanese troops. .• North route is two days, Southern route is three days.• It takes one day for Kenny to switch routes.

Imamura’sPayoffs:Each day ofBombing =-1 in payoff

Page 9: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Battle of Bismarck SeaImamura

Kenny

1

North

2-2

2-2

3-1 -3

South

North

South

• Imamura wants to transport troops.• Kenny wants to bomb Japanese troops. .• North route is two days, Southern route is three days.• It takes one day for Kenny to switch routes.

Imamura’sPayoffs:Each day ofBombing =-1 in payoff

Kenny’sPayoffs:Each day ofBombing =1 in payoff

Page 10: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Battle of Bismarck SeaImamura

Kenny

1

North

2-2

2-2

3-1 -3

South

North

South

• Imamura wants to transport troops.• Kenny wants to bomb Japanese troops. .• North route is two days, Southern route is three days.• It takes one day for Kenny to switch routes.

Notice that Kenny guessing wrong costs him a day.

Page 11: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

The Prisoners’ DilemmaClyde

Bonnie

-1C

S

-5-1

-15-5

-10-15 -10

C

S

Bonnie and Clyde are caught. They can confess or be silent.

Page 12: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Nash equilibrium • A Nash equilibrium is a set of strategies (s1,s2)

– Where each player has no incentive to deviate given the other players’ strategies.

– (or) Given other equilibrium strategies a player would choose his equilibrium strategy.

– (or) A best response to a best response.– u1(s1,s2)>=u1(z,s2) for all possible z and

u2(s1,s2)>=u2(s1,z) for all possible z.• A pure strategy equilibrium is where each player only

chooses a particular strategy with certainty.• What are the pure-strategy equilibria in Prisoners’ dilemma?

Page 13: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Trench Warfare: a prisoners’ dilemmaMars

Venus

-1Shoot

Not Shoot

-5-1

-15-5

-10-15 -10

Shoot

Not Shoot

Are we doomed to the bad outcome?Not in trench warfare of WWI.This happens since the game is repeated –that is, played several times.

Page 14: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Repeated games: forever punish

• Forever punish strategy: if someone cheats, punish forever.– Cheating gives short term gain but long term loss.– Gain of 4 for the time of cheating.– Loss of 5 from the next period on. – Whether this stops cheating depends upon how you

value today compared to tomorrow (discount rate).• Forever punish is not so great if there is uncertainty.

Why?• Many tribal religions do not have explicit ethical code as

part of the religion: no stealing, no murder, etc.

Page 15: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Coordination ProblemJim

Sean

0.5Beta

VHS

10.5

01

20 2

Beta

VHS

• Jim and Sean want to have the same VCR.• Beta is a better technology than VHS.

Page 16: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Information Technology

• Phones, Faxes, e-mail, etc. all have the following property: – Network externalities: The more people using it the

more benefit it is to each user.

• Computers, VCRs, PS2s, also have this property in that both software can be traded among users and the larger the user market, the larger number of software titles are made.

• How do markets operate with such externalities?

Page 17: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Discussion points

• Competitors: VHS vs. Beta, Qwerty vs. Dvorak, Windows vs. Mac, Playstation vs. Xbox.

• Does the best always win?• Standardization helps with network externalities.

– Drive on left side vs. right side. Out of 206 countries 144 (70%) are rhs.

– Left is more nature for an army: swords in right hand, mounting horses. (Napolean liked the other way.)

– Sweden switched from left to right in 1967.

• Lots of networks: Religions and Languages.

Page 18: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Penalty KickGoalie

Kicker

1Kick R

Dive L

-1-1

11

-1-1 1

Dive R

Kick L

• A Kicker can kick a ball left or right.• A Goalie can dive left or right.

Page 19: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Mixed Strategy equilibrium

• Happens in the Penalty kick game.• Notice that if the Kicker kicks 50-50 (.5L+.5R),

the Goalie is indifferent to diving left or right.• If the Goalie dives 50-50 (.5L+.5R), the Kicker is

indifferent to kicking left or right.• Thus, (.5L+.5R,.5L+.5R) is a mixed-strategy N.E.• Nash showed that there always exists a Nash

equilibrium (which includes mixed strategies).

Page 20: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Do you believe it?

• Can we empirically test this theory?• Yes!

– Study was done with the Italian football league.– Step 1: See if the strategies are really left or right.– Step 2: Calculate payoffs. How? If when the goalie

guesses correctly, there is no goal 100% of the time the payoffs are 0 for the kicker and 100 for the goalie. If there no goal 80% of the time, then the payoffs are 20 for the kicker and 80 for the goalie, etc…

– Step 3: Calculate the Nash equilibrium.– Step 4: Compare.

Page 21: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Do you believe it? • Do they really choose only L or R? Yes. Kickers 93.8% and

Goalie 98.9%.• Kickers are either left or right footed. Assume R means kick

in “easier” direction. Below is percentage of scoring.

• Nash prediction for (Kicker, Goalie)=(41.99L+58.01R, 38.54L+61.46R)

• Actual Data =(42.31L+57.69R, 39.98L+60.02R)

92.91Kick R

Dive L

58.3 94.97

69.92

Dive R

Kick L

Page 22: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Parking Enforcement GameStudent Driver

University

5Don’t

Park OK

-5-95

5-5

0-5 5

Park in Staff

Check

• Student can decide to park in staff parking.• University can check cars in staff parking lot.

Page 23: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

What happens?

• If the University checks, what do the students do?• If the students park ok, what does the Uni do?• If the uni doesn’t check, what do the students do?• If the students park in the staff parking, what does

the uni do?• What is the equilibrium of the game?• What happens if the university makes it less harsh

a punishment to only –10. Who benefits from this? Who is hurt by this?

Page 24: Game Theory Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents. Useful to study –Company

Answer

• Student parks legally 1/3 of the time and the uni checks 1/10 of the time.

• With lower penalty, student parks legally 1/3 of the time and the uni checks 2/3 of the time.

• Who’s expected payoff changes? No one.