A z-Tree Course
4: Simple 2-player Games
Matteo Ploner
Università degli Studi di Trento
A symmetric coordination game
A symmetric Coordination Game
| A | B |
---|
A | 10, 10 | 0, 0 |
B | 0, 0 | 10, 10 |
-
Consider a simple 2-player Coordination Game
-
Choosing the same action leads to a positive outcome
-
Perfectly symmetric game
-
Roles (Row/Column) are not relevant
-
2 actions available
Game Grid
-
We define the game grid
-
We populate it with payoffs
-
We only have two combinations [0,0] | [10,10]
The choice
-
Our main obervational unit
-
input_A
-
Dichotomous variable
-
Collected via a radio input
Compute Payoffs
-
1) We need to retrieve the information of the other
-
Check the matching of choices and comoute payoffs accordingly
Payoffs
-
We condition output upon coordination
-
Different messages to those who coordinated and those who did not!
Payoffs
-
Provide participants with full information
-
Actions of both players
-
Payoffs
Description of the Game
-
A well-known 2-player sequential game
-
The first mover (Proposer) proposes a share of a pie
-
A second mover (Responder) decides whether to accept it or not
-
When the proposal is accepted, the pie is shared as proposed
-
When the proposal is rejected, both parties earn zero
Preliminaries
-
We define the endowment (size of the pie)
-
Groups and roles are randomly assigned
-
We assign the roles using subject number (cubicle)
-
Odd are Proposer, Even are Responder
The Proposer's stage
-
The Responders do not participate in the Proposer's stage
-
The input format is an integer (tokens_sent)
-
Important to set the Minimum and Maximum accordingly
The Responder's stage
-
The Proposers do not participate in the Proposer's stage
Compute Payoffs
-
To compute payoffs (in the payoffs table) we need to retrieve the actions of both parties
Compute Payoffs (alternative)
-
Alternatively, you also could first "store" results
RECORDS.new{
Period=:Period;
Group=:Group;
Sent=:tokens_sent;
Accept=:accept_other;
}
-
The, retrieve them to compute payoffs
Offer=RECORDS.find(same(Group) & same(Period), Sent);
Accept=RECORDS.find(same(Group) & same(Period), Accept);
if(Proposer==1){
Payoff=(Endowment-Offer)*Accept;
}else{
Payoff=Offer*Accept;
}
Display Results
-
Give the same information to both, but condition the message according to the role
-
Two boxes with conditional display according to the role
Assignment 1
-
Take the Coordination Game
-
Before playing the game, players can send to the other a free-form communication
-
The other player must read it in the same screen he/she is choosing
Assignment 2
-
Take the UG game
-
Manipulate the consequences of a rejection
-
A: rejection has no monetary consequences
-
B: rejection has monetary consequences only for the proposer
-
C: rejection has monetary consequences only for the responder
-
Implement a UG with strategy method
-
Responder states A/R for each possible choice, before knowing the choice of the Proposer
-
| Choice of the other |
---|
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
Your choice | | | | | | | | | | | |
-
HInt: Use arrays!
1/20
A z-Tree Course
4: Simple 2-player Games
Matteo Ploner
Università degli Studi di Trento