psuthaharan/twochoiceRL: Modeling Behavior for Two-Choice Decisions

Provides functions for (1) simulating a two-choice decision dataset based on the Q-learning model, (2) visualizing behavior of a particular simulated individual, and (3) estimating behavior - the learning rate (alpha) and choice randomness (beta) - from the simulated dataset using three parameter estimation techniques: Maximum-Likelihood Estimation (MLE), Maximum A Posteriori (MAP), and Expectation-Maximization with Laplace approximation (EML).

Getting started

Package details

MaintainerPraveen Suthaharan <praveen.suthaharan@yale.edu>
LicenseGPL-3
Version0.0.0.9000
URL https://github.com/psuthaharan/twochoiceRL
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("psuthaharan/twochoiceRL")
psuthaharan/twochoiceRL documentation built on Dec. 22, 2021, 9:56 a.m.