Hello everyone,
I am using the mediation toolbox for the first time and I am working with DTI data (using the FA maps as mediators).
[I am using matlab R2019a. My X variable is a column vector with participants ages and Y is a column vector with behavioral scores, while M is a set of FA maps - for each participant - as .nii files.]
- When I run mediation_brain
(mediation_brain(x,y,imgs,'names',names,'mask', mask, 'noverbose', 'covnames', covs)
it seems to run with no problem, but when I try to open the M-Y_effect.img, X-M_effect.img or X-M-Y_effects.img the images are blank.
Also, after running publish_mediation_report the file doesn't show any tables and I get an error under 'Path a results table, uncorrected'. I am attaching the pdf of the mediation report with the error.
mediation report.pdf
Would you have any suggestion to why this is the case or how I can solve this?
Any help would be appreciated.
Best regards,
Clara