Data Analysis

Data Processing

The data preprocessing notebook contains the code for:

  • Import data from dropbox
  • Add columns for analysis
  • Clean data
    • Remove poor accuracy subjects
    • Remove really long duration trials

Note

This is a Jupyter notebook. However it is using an R kernel. It is best viewed using Jupyter Lab.

Behavioral

The behavioral analysis notebook contains the code for:

  • Basic Psychometrics
    • RT
    • Fixations
    • P(accept) offer
  • Performance
  • Attention
    • First Fixation
    • First Multiplier
    • Middle Fixation
    • Final Fixation
    • Multiplier Difference
  • Multiplier weighting
  • Choice ~ Attention & Value

Note

This is a Jupyter notebook. However it is using an R kernel. It is best viewed using Jupyter Lab.

DDM

A number of versions of an attentional drift diffusion model (aDDM) were simulated and fit to the data.

Versions

The versions that have been iterated through, and their fits, can be viewed via this Jupyter notebook [add notebook].

The data from these simulations lives [update location]

Note that all simulations were run using SciNet.

Running on a Cluster

In order to run on a cluster (like SciNet) you will need an account.

More information can be found here about options.