Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Table of Contents
The pure selector allows users to select one action of n possibilities via a radio button. This selector is ideal for prisoner's dilemma or hawk-dove type matrix games in which the experimenter desires subjects to have choice over strictly pure action options.
- Y-axis - Subjects choose by using their mouse or up/down arrow-keys from a discrete set of action options indicated by the two radio buttons. The row in the payoff matrix corresponding to the subject's decision is then highlighted light blue, indicating that their payoffs will come from this row. For example, in the figure below this player has selected action "B", (note the radio button is filled and the bottom row is highlighted).
- X-axis - The action that counterpart subjects select is shown by highlighting the relevant column. This highlighting is updated instantaneously in continuous time, or for the previous subperiod with discrete time. In the figure below the counterpart player has chosen action "a", corresponding to payoffs in the left column of the payout matrix.
- Current flow payoffs - The intersection of subject actions - the cell that is doubly highlighted - displays current flow payoffs. In the figure below this player is earning 18, while the counterpart player is earning 0.
- Flow payoff chart - To the right of the payoff matrix and selector, a chart records over time subject's flow payoffs, including the subject's opponent's payoffs. Note that in the payoff chart, the most recent flow payoff for "You" is 18, and the most recent "Other" flow payoff is 0.
- Time Left - "Seconds left" and "Subperiods Left" are self explanatory. For more details, see the continuous time vs. discrete time discussion.
- "Previous Earnings", and "Current Earnings" are self-explanatory.
- Obviously, mixed strategies are not possible with this selector.
The below table is an example of the config file pure. The actual file has the items separated by commas, which is why the config files are CSV (comma separated value) files.
For more information about selector/payoff function compatibility go here