Close
This site uses cookies

By using this site, you consent to our use of cookies. You can view our terms and conditions for more information.

Cognitivemodels – an Extendable R Software Package to Develop and Test Cognitive Models

Authors
Dr. Jana Jarecki
University of Basel ~ Economic Psychology
Florian Seitz
University of Basel ~ Department of Psychology
Abstract

We present the software package cognitivemodels, a tool to build, apply, estimate, test, and develop computational cognitive models in R. The free package is designed for coding efficiency, robustness, and flexibility and offers novice modelers a user-friendly front-end to use models and experienced modelers a powerful back-end to write models. Here, we show how the package implements the generalized context model (Nosofsky, 1986) and cumulative prospect theory (Tversky \& Kahneman, 1992) and how end users can write further models with the package. We further present the package's variety of goodness-of-fit measures (e.g., binomial or normal log likelihood, mean-squared error, or accuracy), parameter constraints (linear constraints, box constraints, equality constraints, fixed parameters), optimization routines (e.g., Nelder-Mead), and choice rules (e.g., soft-max, epsilon greedy, or Luce's choice rule). We believe the package makes cognitive modeling more widely accessible and adds to robust model development.

Discussion
New

There is nothing here yet. Be the first to create a thread.

Cite this as:

Jarecki, J. B., & Seitz, F. (2020, July). Cognitivemodels – an Extendable R Software Package to Develop and Test Cognitive Models. Paper presented at Virtual MathPsych/ICCM 2020. Via mathpsych.org/presentation/177.