Hallo FSL experts,I'm sorry for the newbie question. I would like to know how to compute the R-squared to determine the proportion of variance that a glm model explains.I have fitted to some resting-state data a model made of 19 EVs (18 of them are of no-interest) using fsl_glm, demeaning both the data and the design matrix (I haven't used the options to normalize them to unit variance).Since R-squared can be calculated as 1-(residual_var/total_var), I have used fslmaths as follows:fslmaths filtered_functional_data -mul ROI_mask -Tstd -sqr TotVar -----> to compute the total variance of the signal in a given ROIfslmaths fsl_glm_results_sigsq -div TotVar -sub 1 -abs R-squaredIs that correct?Thanks,Filippo Migliorati