psuthaharan/bandit2arm: Modeling Behavior from the Two-Armed Bandit Task

Provides functions for (1) simulating a two-armed bandit dataset based on the Q-learning model and (2) 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

AuthorPraveen Suthaharan
MaintainerPraveen Suthaharan <praveen.suthaharan@yale.edu>
LicenseGPL-3
Version0.1.0
URL https://github.com/psuthaharan/bandit2arm
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/bandit2arm")
psuthaharan/bandit2arm documentation built on Jan. 26, 2021, 1:36 a.m.