Skip to content

EMC2

Bayesian Hierarchical Analysis of Cognitive Models of Choice

v3.4.1 · Jan 12, 2026 · GPL (>= 3)

Description

Fit Bayesian (hierarchical) cognitive models using a linear modeling language interface using particle Metropolis Markov chain Monte Carlo sampling with Gibbs steps. The diffusion decision model (DDM), linear ballistic accumulator model (LBA), racing diffusion model (RDM), and the lognormal race model (LNR) are supported. Additionally, users can specify their own likelihood function and/or choose for non-hierarchical estimation, as well as for a diagonal, blocked or full multivariate normal group-level distribution to test individual differences. Prior specification is facilitated through methods that visualize the (implied) prior. A wide range of plotting functions assist in assessing model convergence and posterior inference. Models can be easily evaluated using functions that plot posterior predictions or using relative model comparison metrics such as information criteria or Bayes factors. References: Stevenson et al. (2024) <doi:10.31234/osf.io/2e4dq>.

Downloads

662

Last 30 days

5424th

662

Last 90 days

662

Last year

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 13.8Mb
  sub-directories of 1Mb or more:
    R      2.0Mb
    doc    3.8Mb
    libs   7.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 13.3Mb
  sub-directories of 1Mb or more:
    R      2.0Mb
    doc    3.8Mb
    libs   6.7Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  7.0Mb
  sub-directories of 1Mb or more:
    R      1.1Mb
    doc    3.8Mb
    libs   1.4Mb
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 13.8Mb
  sub-directories of 1Mb or more:
    R      2.0Mb
    doc    3.8Mb
    libs   7.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 13.3Mb
  sub-directories of 1Mb or more:
    R      2.0Mb
    doc    3.8Mb
    libs   6.7Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  7.0Mb
  sub-directories of 1Mb or more:
    R      1.1Mb
    doc    3.8Mb
    libs   1.4Mb

Dependency Network

Dependencies Reverse dependencies abind coda magic MASS matrixcalc msm mvtnorm Matrix Rcpp Brobdingnag corrplot colorspace psych lpSolve WienR EMC2

Version History

new 3.4.1 Mar 9, 2026