Single-level and multi-level mediation analyses for any kind of data, with bootstrap-based significance testing. Neuroimaging-oriented functions allow for mediation effect parametric mapping (mapping of mediation effects across the brain) and multivariate mediation.
Is there a way to determine a k-extent (to choose specific regions with k voxels as significant) for the toolbox?
How can I enter my covariates in the toolbox?
when I run the mediation_example_script_1.m (and also mediation_example_script_2.m) script, I get the following error:
Error:File: mediation_brain_results.m Line: 295 Column: 35
Identifier 'clpos_extent' is not a function or a shared variable. To share 'clpos_extent' with nested function, initialize it in the
current scope. For more information, see Sharing Variables Between Parent and Nested Functions.
I have three questions about the CanLab toolbox:
Is there a way to determine a k-extent (to choose specific regions with k voxels as significant) for the toolbox?
How can I enter my covariates in the toolbox?
when I run the mediation_example_script_1.m (and also mediation_example_script_2.m) script, I get the following error:
Error:File: mediation_brain_results.m Line: 295 Column: 35 Identifier 'clpos_extent' is not a function or a shared variable. To share 'clpos_extent' with nested function, initialize it in the current scope. For more information, see Sharing Variables Between Parent and Nested Functions.
Error in mediation_brain_results_all_script (line 238) [clpos, clneg, clpos_data, clneg_data, clpp2, clnn2] = mediation_brain_results ...
Error in mediation_example_script_1 (line 80) mediation_brain_results_all_script;
Would you please guide me how to solve this error?