You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to running mediation_brain and encountered an issue.
While running mediation_brain, we intend to use brain images as the mediator with X independent variable and Y dependent outcome score.
In the run at the stage of mediator search, it reads the brain images list provided as mediators and creates an array with the values of every voxel in it.
In the mediation part, inputs get set up that matches the length of all three inputs X, Y, and M. At this point, the error occurs as the unequal length of the variables X, Y and M the following:
"Error using mediation>setup_inputs (line 1223)
X, Y, and M must be equal in length".
Any suggestions on how we can resolve the issue or find out more about the details of the mediation would be much appreciated.
Thank you
Apurva
The text was updated successfully, but these errors were encountered:
Hello Tor and co-developers,
I am new to running mediation_brain and encountered an issue.
While running mediation_brain, we intend to use brain images as the mediator with X independent variable and Y dependent outcome score.
In the run at the stage of mediator search, it reads the brain images list provided as mediators and creates an array with the values of every voxel in it.
In the mediation part, inputs get set up that matches the length of all three inputs X, Y, and M. At this point, the error occurs as the unequal length of the variables X, Y and M the following:
"Error using mediation>setup_inputs (line 1223)
X, Y, and M must be equal in length".
Any suggestions on how we can resolve the issue or find out more about the details of the mediation would be much appreciated.
Thank you
Apurva
The text was updated successfully, but these errors were encountered: