Skip to contents

Data from an experiment investigating differences in reaction times across three tasks of increasing complexity.

Participants reacted to a square or a circle (variable shape) appearing on the screen by

  • pressing the space bar whenever they saw any shape (block reaction).

  • pressing the space bar whenever they saw a specific shape (block goNoGo).

  • pressing a key when they saw one of the shapes and a different key when they saw the other one (block discrimination).

Usage

MC

Format

A data frame with 2,404 rows and 4 variables:

submission_id

A unique identifier for each participant.

shape

The shape presented on the screen.

block

The task of how to react to a shape.

RT

The measured reaction time in milliseconds.

Examples

if (FALSE) {
# fit a linear model using 'brms'
# regress reaction time as a function of the block
fit <- brms::brm(RT ~ block, data = MC)

# check encoding scheme used in the model
get_cell_definitions(fit)

# get draws for the reaction block
extract_cell_draws(fit, block == "reaction")

# compare the goNoGo block with the reaction block
compare_groups(fit, block == "goNoGo", block == "reaction")
}