Learn R Programming

stratEst (version 0.1.2)

SGRIM: SGRIM

Description

Matrix representation of the semi grim strategy (Breitmoser 2015). The strategy plays C if both players played C, and D if both players played D. If one player played D and the other C, play C with some probability.

Usage

data(SGRIM)

Arguments

Format

A matrix with 1 row and 6 columns:

Rows

Each row corresponds to one states of the automaton.

Column 1

Enumerates the states of the automaton.

Column 2

Probability to play C given the current state of the automaton.

Column 3

State transition if the history of play in the last round was CC (input is 1).

Column 4

State transition if the history of play in the last round was CD (input is 2).

Column 5

State transition if the history of play in the last round was DC (input is 3).

Column 6

State transition if the history of play in the last round was DD (input is 4).

References

Breitmoser, Y. (2015): Cooperation, but no reciprocity: Individual strategies in the repeated prisoner's dilemma, American Economic Review, 105, 2882-2910.

Examples

Run this code
# NOT RUN {
strategies <- rbind(SGRIM,GRIM,ALLD,ALLC,TFT)
# }

Run the code above in your browser using DataLab