Learn R Programming

⚠️There's a newer version (1.2.1) of this package.Take me there.

hBayesDM (version 0.2.3.3)

Hierarchical Bayesian Modeling of Decision-Making Tasks

Description

Fit an array of decision-making tasks with computational models in a hierarchical Bayesian framework. Can perform hierarchical Bayesian analysis of various computational models with a single line of coding.

Copy Link

Version

Install

install.packages('hBayesDM')

Monthly Downloads

109

Version

0.2.3.3

License

GPL-3

Maintainer

WooYoung Ahn

Last Published

December 28th, 2016

Functions in hBayesDM (0.2.3.3)

dd_exp

Delay Discounting Task
gng_m1

Orthogonalized Go/Nogo Task
dd_cs

Delay Discounting Task
gng_m3

Orthogonalized Go/Nogo Task
bandit2arm_delta

Two-Arm Bandit Task
gng_m4

Orthogonalized Go/Nogo Task
gng_m2

Orthogonalized Go/Nogo Task
dd_hyperbolic

Delay Discounting Task
extract_ic

Extract Model Comparison Estimates
hBayesDM-package

Hierarchical Bayesian Modeling of Decision-Making Tasks
plotHDI

Plots highest density interval (HDI) from (MCMC) samples and prints HDI in the R console. HDI is indicated by a red line.
plotDist

Plots the histogram of MCMC samples.
multiplot

Function to plot multiple figures
HDIofMCMC

Compute Highest-Density Interval
igt_pvl_decay

Iowa Gambling Task
igt_vpp

Iowa Gambling Task
igt_pvl_delta

Iowa Gambling Task (Ahn et al., 2008)
plot.hBayesDM

General Purpose Plotting for hBayesDM. This function plots hyper parameters.
plotInd

Plots individual posterior distributions, using the stan_plot function of the rstan package
printFit

Print model-fits (mean LOOIC and WAIC values) of hBayesDM Models
prl_ewa

Probabilistic Reversal Learning Task
ra_noRA

Risk Aversion Task
ug_bayes

Norm-Training Ultimatum Game
prl_fictitious

Probabilistic Reversal Learning Task
rhat

Function for extracting Rhat values from an hBayesDM object
ra_prospect

Risk Aversion Task
ug_delta

Norm-Training Ultimatum Game
ra_noLA

Risk Aversion Task
prl_rp

Probabilistic Reversal Learning Task