Skip to content

Releases: CCS-Lab/hBayesDM

hBayesDM 0.7.1

21 Jan 11:44

Choose a tag to compare

  • Make it usable without manually loading rstan.
  • Remove an annoying warning about using ..insensitive_data_columns.

hBayesDM 0.7.0

14 Dec 02:53

Choose a tag to compare

  • Now, in default, you should build a Stan file into a binary for the first time to use it. To build all the models on installation, you should set an environmental variable BUILD_ALL to true before installation.
  • Now all the implemented models are refactored using hBayesDM_model function. You don't have to change anything to use them, but developers can easily implement new model now!
  • We added a Kalman filter model for 4-armed bandit task (bandit4arm2_kalman_filter; Daw et al., 2006) and a probability weighting function for general description-based tasks (dbdm_prob_weight; Erev et al., 2010; Hertwig et al., 2004; Jessup et al., 2008).
  • Initial values of parameter estimation for some models are updated as plausible values, and the parameter boundaries of several models are fixed (see more on issue #63 and #64 in Github).
  • Exponential and linear models for choice under risk and ambiguity task now have four model regressors: sv, sv_fix, sv_var, and p_var.
  • Fix the Travix CI settings and related codes to be properly passed.

hBayesDM 0.6.3

30 Oct 09:03

Choose a tag to compare

  • Update the dependencies on rstan (>= 2.18.1)
  • Remove rstantools from Imports
  • No changes on model files, as same as the version 0.6.2

hBayesDM 0.6.2

19 Oct 07:56

Choose a tag to compare

What's new in v0.6.2

  • Fix an error on choiceRT_ddm (#44)

hBayesDM 0.6.1

19 Oct 07:39

Choose a tag to compare

What's new in v0.6.1

  • Solve an issue with built binary files.
  • Fix an error on peer_ocu with misplaced parentheses.

hBayesDM 0.6.0

11 Sep 18:36

Choose a tag to compare

What's new in v0.6.0

  • Add new tasks (Balloon Analogue Risk Task, Choice under Risk and Ambiguity Task, Probabilistic Selection Task, Risky Decision Task (a.k.a. Happiness task), Wisconsin Card Sorting Task)
  • Add a new model for the Iowa Gambling Task (igt_orl)
  • Change priors (Half-Cauchy(0, 5) --> Half-Cauchy(0, 1) or Half-Normal(0, 0.2)
  • printFit function now provides LOOIC weights and/or WAIC weights

hBayesDM 0.5.1

26 Mar 10:25
147496a

Choose a tag to compare

What's new in v0.5.1.

  • Add models for the Two Step task
  • Add models without indecision point parameter (alpha) for the PRL task (prl_*_woa.stan)
  • Model-based regressors for the PRL task are now available
  • For the PRL task & prl_fictitious.stan & prl_fictitious_rp.stan --> change the range of alpha (indecision point) from [0, 1] to [-Inf, Inf]

hBayesDM 0.5.0

25 Dec 19:36

Choose a tag to compare

What's new in v0.5.0

  • Support variational Bayesian methods (vb=TRUE)
  • Allow posterior predictive checks, except for drift-diffusion models (inc_postpred=TRUE)
  • Add the peer influence task (Chung et al., 2015, USE WITH CAUTION for now and PLEASE GIVE US FEEDBACK!)
  • Add 'prl_fictitious_rp' model
  • Made changes to be compatible with the newest Stan version (e.g., // instead of # for commenting).
  • In 'prl_*' models, 'rewlos' is replaced by 'outcome' so that column names and labels would be consistent across tasks as much as possible.
  • Email feature is disabled as R mail package does not allow users to send anonymous emails anymore.
  • When outputs are saved as a file (*.RData), the file name now contains the name of the data file.

hBayesDM 0.4.0

19 Oct 07:58

Choose a tag to compare

  • Add a choice reaction time task and evidence accumulation models
    • Drift diffusion model (both hierarchical and single-subject)
    • Linear Ballistic Accumulator (LBA) model (both hierarchical and single-subject)
  • Add PRL models that can fit multiple blocks
  • Add single-subject versions for the delay discounting task (dd_hyperbolic_single and dd_cs_single).
  • Standardize variable names across all models (e.g., rewlos --> outcome for all models)
  • Separate versions for CRAN and GitHub. All models/features are identical but the GitHub version contains precompilled models.

hBayesDM 0.3.1

19 Oct 07:59

Choose a tag to compare

  • Remove dependence on the modeest package. Now use a built-in function to estimate the mode of a posterior distribution.
  • Rewrite the "printFit" function.