help > Testing model fit for rs-fmri analyses
Showing 1-1 of 1 posts
Display:
Results per page:
17 hours ago | etow6030
Testing model fit for rs-fmri analyses

Hello :slight_smile:


I am analysing some resting-state data that was inputted into fmriprep and xcp-d for pre and post-processing, and now I am running second-level analyses using conn /spm.


My modelling is running fine, but I am wanting to confirm the “best” covariates to include in the model. I found an spm toolbox extension called MACS - however this doesnt run for second-level analyses.


Does anyone have any idea how to utilise the SPM.mat derived from conn_module to calculate goodness of fit? I want to compare a few models :slight_smile:


This is my script for conn:



conn_module(‘GLM’, …
‘design_matrix’, X, …
‘data’, {‘n44ses01_threedim_zscore_connmat.mat.nii’}, …
‘contrast_between’,[1 -1 0 0 0 0 0 0 0]); %ptsd+ and ptsd-



In which the n44ses01_threedim_zscore_connmat.mat.nii is a 4D matrix of 256x256 ROIs x 44 subjects


Thanks