Materials and data for the article: Carrillo, Benhamou et al., Assessing the validity and reliability of computational phenotyping of mood (2026) PLOS Computational Biology
The repository contains 3 directories:
- data: raw data and formatted data in a long table for analysis; they follow the same internal organisation in 3 datasets (CvQ, RvQ and RvR). Each of these dataset was the result of an experiment where subjects participated in one session of two different tasks, twice with an interval of two weeks (RvQ: riven and quiz, RvR: riven and lottery, CvQ: quiz). Subject identification numbers as they exist in the raw data and formatted tables are internal to these datasets.
- results:
- model fits to experimental data are organised in the same way as the experimental data.
- simulation-inversion results, with simulation input encoded in file names
- analysis: custom MATLAB code used for analysis
- the root directory (+ utils) contains the code used to fit the models to the experimental data, complete model-free and model-based analyses of the experimental data, and generate figures 6-8
- the simulation folder inside (+ utils and plotting functions) contains the code used to simulate and invert models, complete the associated analyses, and generate figures 2-5.