Other packages > Find by keyword >

EMC2  

Bayesian Hierarchical Analysis of Cognitive Models of Choice
View on CRAN: Click here


Download and install EMC2 package within the R console
Install from CRAN:
install.packages("EMC2")

Install from Github:
library("remotes")
install_github("cran/EMC2")

Install by package version:
library("remotes")
install_version("EMC2", "3.4.1")



Attach the package and use:
library("EMC2")
Maintained by
Niek Stevenson
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2024-09-10
Latest Update: 2025-06-27
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>.
How to cite:
Niek Stevenson (2024). EMC2: Bayesian Hierarchical Analysis of Cognitive Models of Choice. R package version 3.4.1, https://cran.r-project.org/web/packages/EMC2. Accessed 05 Jun. 2026.
Previous versions and publish date:
2.0.2 (2024-09-10 11:30), 2.1.0 (2024-10-14 22:10), 3.0.0 (2025-03-07 02:10), 3.1.0 (2025-03-10 09:50), 3.1.1 (2025-04-07 04:30), 3.2.0 (2025-06-27 14:10), 3.2.1 (2025-09-22 15:10), 3.3.0 (2025-12-02 08:00)
Other packages that cited EMC2 R package
View EMC2 citation profile
Other R packages that EMC2 depends, imports, suggests or enhances
Complete documentation for EMC2
Functions, R codes and Examples using the EMC2 R package
Full EMC2 package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA