The code accompanying our manuscript: Balancing safety and efficiency in human decision making (https://elifesciences.org/reviewed-preprints/101371)
Gridworld results can be obtained by running multiple_runs.py
in GridWorlds/multiple_runs/
.
Model-fitting scripts are provided in the folder FishVRTask
, which can be run either in Python using PyStan or in R using Stan. Codes for running it within the hBayesDM package are also provided, please follow: https://github.com/CCS-Lab/hBayesDM/wiki/How-to-add-new-model to run within hBayesDM.
For further queries please contact [email protected]