cpm.brainexplorer#

Descriptive statistics and exclusion criteria for the games of BrainExplorer. Each class reads the data of one game, from a pandas DataFrame or a CSV file, computes the metrics of each participant with metrics(), applies the participant-level exclusion criteria with clean_data(), and describes every metric in its codebook, get_codebook().

bandits.MilkyWay

Compute descriptive statistics from the two-armed bandit tasks in BrainExplorer, Milky Way (reward) and Pirate Market (punishment).

information_gathering.TreasureHunt

Compute descriptive statistics from the information-gathering task in BrainExplorer, Treasure Hunt.

perceptual_decision_making.SpaceObserver

Compute descriptive statistics from the perceptual decision-making task with confidence judgements in BrainExplorer, Space Observer.

risky_decision_making.Scavenger

Compute descriptive statistics from the risky decision-making task in BrainExplorer, Scavenger.