- R_script_Behavioural_GLM_analysis_Acc_RT.R is the R-script for running the following regression model: DV ~ β + Age + Reserve + Age*Reserve + ε, in which DV = mean accuracy on SE, SH, TE and TH tasks; and mean RT for SE, SH, TE and TH tasks.
- R_script_B-PLS_post-hoc_GLM_analysis.R is the R-script for running post-hoc general linear model (GLM) comparisons on the brain scores for the task conditions against our three behavioural vectors of interest (Age, Reserve, and retrieval accuracy) while controlling for the effects of total grey matter volume.
- R_script_Structural_CT_analysis.R is the R-script for running whole brain vertex-wise regression analysis of cortical thickness, with age, and our proxy measure of cognitive reserve in the GLM while controlling for the effects of sex.