Software

R packages for cognitive measurement and Bayesian modeling

Most R packages for cognitive measurement models require researchers to write their own Stan or JAGS code. The packages I work on wrap those models in a brms-compatible interface, so fitting them feels more like running a regression than writing a custom sampler.


bmm

bmm is an R package I co-develop with Ven Popov for fitting cognitive measurement models in a hierarchical Bayesian framework. It builds on brms and Stan, and uses the same formula syntax. If you know brms, you already know most of how bmm works.

The current focus is visual working memory, where several competing measurement models exist but have historically been painful to fit. bmm implements them all in one place.

Models

Install

# From CRAN
install.packages("bmm")

# Development version
remotes::install_github("venpopov/bmm")