Investigating differences in planning depth between young and old adults using the Space Adventure Task and a value iteration model described in https://github.com/dimarkov/pybefit/tree/master/examples/plandepth.
pybefit
Clone the PyBefit library
git clone https://github.com/dimarkov/pybefit.git
cd pybefitand follow the installation instruction in the README file. One can install the package either using poetry or anaconda package menager.
Running the following scripts performs model based data analysis and generates relevant figures:
| Nr. | Script | Description |
|---|---|---|
| 1 | fit_behavior.py | ...performs the inference of model parameters from Space Adventure Task raw data. |
| 2 | create_analysis_datasets.py | ...merges inference results and raw data of all tasks into .CSV files. |
| 3 | results_plot_allinOne.py | ...generates main results plot from .CSV dataset. |
| 4 | data_analysis.sps | ...performs all statistical analyses and generates regression plots. |