Learn R Programming

binaryRL (version 0.9.0)

Mason_2024_Exp1: Experiment 1 from Mason et al. (2024)

Description

This dataset originates from Experiment 1 of Mason et al. (2024), titled "Rare and extreme outcomes in risky choice" (tools:::Rd_expr_doi("10.3758/s13423-023-02415-x")). The raw data is publicly available on the Open Science Framework (OSF) at https://osf.io/hy3q4/. For the purposes of this package, we've performed basic cleaning and preprocessing of the original dataset.

Arguments

Format

A data frame with 45000 rows and 11 columns:

Subject

Subject ID, an integer (total of 143).

Block

Block number, an integer (1 to 6).

Trial

Trial number, an integer (1 to 60).

L_choice

Left choice, a character indicating the option presented. The possible options are:

  • A: 100% gain 4.

  • B: 90% gain 0 and 10% gain 40.

  • C: 100% lose 4.

  • D: 90% lose 0 and 10% lose 40.

R_choice

Right choice, a character indicating the option presented. The possible options are:

  • A: 100% gain 4.

  • B: 90% gain 0 and 10% gain 40.

  • C: 100% lose 4.

  • D: 90% lose 0 and 10% lose 40.

L_reward

Reward associated with the left choice.

R_reward

Reward associated with the right choice.

Sub_Choose

The chosen option, either L_choice or R_choice.

Frame

Type of frame, a character string (e.g., "Gain", "Loss", "Catch").

NetWorth

The participant's net worth at the end of each trial.

RT

The participant's reaction time (in milliseconds) for each trial.

Examples

Run this code
  # Load the Mason_2024_Exp1 dataset
  data(binaryRL::Mason_2024_Exp1)
  head(binaryRL::Mason_2024_Exp1)

Run the code above in your browser using DataLab