The question that we asked you when you were in China has still bothered me.
I have 2 within-subject variables , name(self,other) and Time, 17 subjects. I want to get the effect of self - other on the basis of 6 time points.
Then I ran 3dMVM, but got this ERROR
Error: $ operator is invalid for atomic vectors.
I am confused because there is no any $ in my script.
Here is my script:
#!/bin/tcsh
3dMVM -prefix ./group_result/name_result/task1_output.MVM -jobs 2
-bsVars ‘1’
-wsVars ‘nameTime’
-num_glf 3
-glfLabel 1 contrast_Time -glfCode 1 'name : 1self - 1other Time : 1t0 & 1t1 & 1t2 & 1t3 & 1t4 & 1t5’
-glfLabel 2 self_Time -glfCode 2 'name : 1self Time : 1t0 & 1t1 & 1t2 & 1t3 & 1t4 & 1t5’
-glfLabel 3 other_Time -glfCode 3 ‘name : 1other Time : 1t0 & 1t1 & 1t2 & 1t3 & 1t4 & 1*t5’
-dataTable
Subj name Time InputFile
s1 self t0 subj001/beta/subj001_task1_self+tlrc’[0]’
s1 self t1 subj001/beta/subj001_task1_self+tlrc’[1]’
s1 self t2 subj001/beta/subj001_task1_self+tlrc’[2]’
s1 self t3 subj001/beta/subj001_task1_self+tlrc’[3]’
s1 self t4 subj001/beta/subj001_task1_self+tlrc’[4]’
s1 self t5 subj001/beta/subj001_task1_self+tlrc’[5]’
s1 other t0 subj001/beta/subj001_task1_other+tlrc’[0]’
s1 other t1 subj001/beta/subj001_task1_other+tlrc’[1]’
s1 other t2 subj001/beta/subj001_task1_other+tlrc’[2]’
s1 other t3 subj001/beta/subj001_task1_other+tlrc’[3]’
s1 other t4 subj001/beta/subj001_task1_other+tlrc’[4]’
s1 other t5 subj001/beta/subj001_task1_other+tlrc’[5]’
s2 self t0 subj003/beta/subj003_task1_self+tlrc’[0]’
s2 self t1 subj003/beta/subj003_task1_self+tlrc’[1]’
s2 self t2 subj003/beta/subj003_task1_self+tlrc’[2]’
s2 self t3 subj003/beta/subj003_task1_self+tlrc’[3]’
s2 self t4 subj003/beta/subj003_task1_self+tlrc’[4]’
s2 self t5 subj003/beta/subj003_task1_self+tlrc’[5]’
s2 other t0 subj003/beta/subj003_task1_other+tlrc’[0]’
s2 other t1 subj003/beta/subj003_task1_other+tlrc’[1]’
s2 other t2 subj003/beta/subj003_task1_other+tlrc’[2]’
s2 other t3 subj003/beta/subj003_task1_other+tlrc’[3]’
s2 other t4 subj003/beta/subj003_task1_other+tlrc’[4]’
s2 other t5 subj003/beta/subj003_task1_other+tlrc’[5]’
s3 self t0 subj005/beta/subj005_task1_self+tlrc’[0]’
s3 self t1 subj005/beta/subj005_task1_self+tlrc’[1]’
s3 self t2 subj005/beta/subj005_task1_self+tlrc’[2]’
s3 self t3 subj005/beta/subj005_task1_self+tlrc’[3]’
s3 self t4 subj005/beta/subj005_task1_self+tlrc’[4]’
s3 self t5 subj005/beta/subj005_task1_self+tlrc’[5]’
s3 other t0 subj005/beta/subj005_task1_other+tlrc’[0]’
s3 other t1 subj005/beta/subj005_task1_other+tlrc’[1]’
s3 other t2 subj005/beta/subj005_task1_other+tlrc’[2]’
…
s17 …
I am looking forward to your reply, thank you so much!
Furthermore, until now only one script can run successly as follows (there is space between ‘-’ and ‘1’). , but you advice to use glt. So I am a little confused now.
The GLF test under 3dMVM is not valid for a within-subject factor even though the program does not complain.
Is ‘name’ a within- or between-subject factor?
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.