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.5.0")



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.5.0, https://cran.r-project.org/web/packages/EMC2. Accessed 24 Oct. 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), 3.4.1 (2026-01-12 11:10), (2026-07-14 14:40)
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

magicfor  
Magic Functions to Obtain Results from for Loops
Magic functions to obtain results from for loops. ...
Download / Learn more Package Citations See dependency  
forecastHybrid  
Convenient Functions for Ensemble Time Series Forecasts
Convenient functions for ensemble forecasts in R combining approaches from the 'forecast' package. ...
Download / Learn more Package Citations See dependency  
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  
FDRsampsize  
Compute Sample Size that Meets Requirements for Average Power and FDR
Defines a collection of functions to compute average power and sample size for studies that use the ...
Download / Learn more Package Citations See dependency  
gemlog  
File Conversion for "Gem Infrasound Logger"
Reads data files from the 'Gem infrasound logger' for analysis and converts to segy format (which is ...
Download / Learn more Package Citations See dependency  
climwin  
Climate Window Analysis
Contains functions to detect and visualise periods of climate sensitivity (climate windows) for a g ...
Download / Learn more Package Citations See dependency  

29,080

R Packages

247,686

Dependencies

77,281

Author Associations

29,081

Publication Badges

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