Analyzing Behavioral Data at the Cognitive Process Level with bmm in R
Lunchtime workshop — Psychonomic Society Annual Meeting 2026, San Diego
Welcome! This page collects everything from the workshop: the slides, the take-home notebooks, and the reading list. Nothing here requires an R installation — you can read all materials right in your browser and set up R whenever you like.
The bmm (Bayesian Measurement Models) R package lets you fit cognitive measurement models — signal detection, working-memory measurement, drift diffusion — with a model-first interface: you specify the cognitive model, bmm handles the translation to Bayesian hierarchical estimation in Stan.
Schedule
| Time | Segment | Presenter |
|---|---|---|
| ~10 min | Welcome & the bmm workflow | Gidon T. Frischkorn |
| ~20 min | Part 1: Signal Detection Theory | Gidon T. Frischkorn |
| ~25 min | Part 2: The Memory Measurement Model (M3) | Chenyu Li |
| ~25 min | Part 3: The EZ-Drift Diffusion Model | Adriana F. Chávez De la Peña |
| ~10 min | Q&A and wrap-up | all |
Materials
| Segment | Slides | Take-home notebook |
|---|---|---|
| Part 1: bmm workflow & Signal Detection Theory | slides (PDF) | notebook |
| Part 2: The Memory Measurement Model (M3) | slides (PDF) | notebook |
| Part 3: The EZ-Drift Diffusion Model | slides (PDF) | notebook |
The slides show every slide in its final state, one page per slide; the timed memory demos in Part 2 are summarized on one page each.
The notebooks show each complete analysis with output — read them like a tutorial, or run them yourself after the setup below.
Then: using bmm on your own data
The three segments demonstrate models on datasets that were prepared in advance. This notebook is the bridge to yours: which bmm model fits your paradigm (there are more than the three shown today), what shape your data has to be in, how to write the formula for your design, how to set up the Stan toolchain you did not need during the workshop — and what the first few error messages mean when you hit them.
Run the materials yourself (optional)
- Install R (≥ 4.3) and RStudio or Positron.
- Download the workshop repository: https://github.com/GidonFrischkorn/ShortWS_CognitiveModelling_bmm
- Open
ShortWS_CognitiveModelling_bmm.Rproj, then runsource("Install_Packages.R")once andsource("Check_Setup.R")to verify everything works.
Every model shown in the workshop ships pre-fitted in models/, so you do not need the Stan toolchain — the notebooks load cached fits and run in seconds.
Reading list
Tutorial papers and background reading for each segment are listed in the repository’s resources folder with DOIs; open-access PDFs are included there.
Contact
- Gidon T. Frischkorn (University of Zurich) — bmm intro & SDT
- Chenyu Li (University of Chicago) — Memory Measurement Model
- Adriana F. Chávez De la Peña (University of California, Irvine) — EZ-DDM
Reuse and citation
Please reuse these materials in your own teaching and research — that is what they are for. The slides and notebooks are licensed CC BY-NC-SA 4.0: adapt them freely, credit the presenters, keep them non-commercial, and share derivatives under the same terms. The R scripts are MIT-licensed with no such restriction, so you can adapt them to your own data whatever your setting.
Datasets and papers in the repository carry their original sources’ terms — see the repository README.
To cite: Frischkorn, G. T., Li, C., & Chávez De la Peña, A. F. (2026). Analyzing Behavioral Data at the Cognitive Process Level with bmm in R. Psychonomic Society Annual Meeting, San Diego. https://github.com/GidonFrischkorn/ShortWS_CognitiveModelling_bmm