AFNI version info (afni -ver
): 24.1.15
Hi,
I am trying to run a mixed-effects model with a multi-level covariate. Specifically, one of my factors (emotion) has 3 levels, which apply to both my outcome measure and my voxel-wise covariate (since I am using time point 2 as outcome measure and time point 1 as a voxel-wise covariate). I tried to code it in 3dLME as below, but I get an error:
3dLME \\
-prefix followup_3dLME_ROI \\
-resid followup_3dLME_ROI_resid \\
-jobs 4 \\
-mask ROI+tlrc \\
-model "Group* Drug* Emotion+Age+Sex+Basecov" \\
-ranEff "~1" \\
-qVars "Age" \\
-vVars "Basecov" \\
-SS_type 3 \\
-dataTable @LME_dataTable.txt
Error in Stat[, , kk, ] <- aperm(parApply(cl, inData[, , kk, ], c(1, 2), : number of items to replace is not a multiple of replacement length Execution halted
If I remove "Basecov" from the -model and -vVars arguments, the function runs fine.
How can I run this analysis in 3dLME or another AFNI program, please?
Many thanks,
Paulina