Data and code to reproduce "A computational evaluation of two models of retrieval processes in sentence processing in aphasia" by Lissón et al. (2020).
This is the content of the R code files:
- Lissonetal2021-script.R: contains the code for all the analyses and plots in the paper except the section on Bayes factors and the recovery of the parameters. It also contains the code to run the Stan files.
- sim_data_LissonEtAl2020.R: contains the code to generate simulated data from the parameters of the model, and then fit the data to the models again, in order to assess the recovery of the parameters.
- BF_LissonEtAl2020.R: code for the Bayes factor analyses of the paper.
- PackagesInfo.txt: list of the R packages and versions.
The Stan files contain the activation-based model and the direct-access model, respectively. They have to be run using the code in Lissonetal2021-script.R