Hi,
I'm trying to analyze data using 3dMVM with the following variables: Sex (Male, female; between); condition (Alcohol, Placebo; within); ASL (1,2,3; within). My script seems to run fine, but the output is empty (the entire file is NaN). I've run the same analysis with just Sex and condition as variables, and it works fine. I have no idea what I've done wrong. My script is pasted below and any help would be appreciated!
Thanks very much!!
Nicole
#!/bin/sh
path=/Users/Shared/cihr/mri/analysis
3dMVM -prefix ${path}/group/scanXconditionXsex_MVM \
-model "sex" \
-wsVars "asl*condition" \
-dataTable \
Subj asl condition sex InputFile \
1017 1 Placebo male ${path}/1017/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1034 1 Placebo male ${path}/1034/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1038 1 Placebo female ${path}/1038/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1048 1 Placebo male ${path}/1048/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1049 1 Placebo female ${path}/1049/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1052 1 Placebo male ${path}/1052/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1065 1 Placebo male ${path}/1065/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1074 1 Placebo female ${path}/1074/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1081 1 Placebo male ${path}/1081/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1087 1 Placebo female ${path}/1087/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1097 1 Placebo male ${path}/1097/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1100 1 Placebo female ${path}/1100/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1115 1 Placebo female ${path}/1115/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1139 1 Placebo male ${path}/1139/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1140 1 Placebo male ${path}/1140/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1147 1 Placebo female ${path}/1147/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1154 1 Placebo male ${path}/1154/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1156 1 Placebo female ${path}/1156/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1168 1 Placebo male ${path}/1168/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1017 2 Placebo male ${path}/1017/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1034 2 Placebo male ${path}/1034/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1038 2 Placebo female ${path}/1038/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1048 2 Placebo male ${path}/1048/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1049 2 Placebo female ${path}/1049/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1052 2 Placebo male ${path}/1052/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1065 2 Placebo male ${path}/1065/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1074 2 Placebo female ${path}/1074/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1081 2 Placebo male ${path}/1081/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1087 2 Placebo female ${path}/1087/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1097 2 Placebo male ${path}/1097/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1100 2 Placebo female ${path}/1100/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1115 2 Placebo female ${path}/1115/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1139 2 Placebo male ${path}/1139/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1140 2 Placebo male ${path}/1140/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1147 2 Placebo female ${path}/1147/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1154 2 Placebo male ${path}/1154/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1156 2 Placebo female ${path}/1156/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1168 2 Placebo male ${path}/1168/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1017 3 Placebo male ${path}/1017/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1034 3 Placebo male ${path}/1034/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1038 3 Placebo female ${path}/1038/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1048 3 Placebo male ${path}/1048/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1049 3 Placebo female ${path}/1049/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1052 3 Placebo male ${path}/1052/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1065 3 Placebo male ${path}/1065/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1074 3 Placebo female ${path}/1074/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1081 3 Placebo male ${path}/1081/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1087 3 Placebo female ${path}/1087/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1097 3 Placebo male ${path}/1097/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1100 3 Placebo female ${path}/1100/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1115 3 Placebo female ${path}/1115/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1139 3 Placebo male ${path}/1139/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1140 3 Placebo male ${path}/1140/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1147 3 Placebo female ${path}/1147/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1154 3 Placebo male ${path}/1154/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1156 3 Placebo female ${path}/1156/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1168 3 Placebo male ${path}/1168/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1017 1 Alcohol male ${path}/1017/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1034 1 Alcohol male ${path}/1034/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1038 1 Alcohol female ${path}/1038/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1048 1 Alcohol male ${path}/1048/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1049 1 Alcohol female ${path}/1049/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1052 1 Alcohol male ${path}/1052/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1065 1 Alcohol male ${path}/1065/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1074 1 Alcohol female ${path}/1065/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1081 1 Alcohol male ${path}/1081/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1087 1 Alcohol female ${path}/1087/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1097 1 Alcohol male ${path}/1097/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1100 1 Alcohol female ${path}/1100/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1115 1 Alcohol female ${path}/1115/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1139 1 Alcohol male ${path}/1139/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1140 1 Alcohol male ${path}/1140/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1147 1 Alcohol female ${path}/1147/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1154 1 Alcohol male ${path}/1154/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1156 1 Alcohol female ${path}/1156/scan1/cbf/cbf1_mask6mm+tlrc[0] \
1168 1 Alcohol male ${path}/1168/scan2/cbf/cbf1_mask6mm+tlrc[0] \
1017 2 Alcohol male ${path}/1017/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1034 2 Alcohol male ${path}/1034/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1038 2 Alcohol female ${path}/1038/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1048 2 Alcohol male ${path}/1048/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1049 2 Alcohol female ${path}/1049/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1052 2 Alcohol male ${path}/1052/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1065 2 Alcohol male ${path}/1065/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1074 2 Alcohol female ${path}/1074/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1081 2 Alcohol male ${path}/1081/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1087 2 Alcohol female ${path}/1087/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1097 2 Alcohol male ${path}/1097/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1100 2 Alcohol female ${path}/1100/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1115 2 Alcohol female ${path}/1115/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1139 2 Alcohol male ${path}/1139/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1140 2 Alcohol male ${path}/1140/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1147 2 Alcohol female ${path}/1147/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1154 2 Alcohol male ${path}/1154/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1156 2 Alcohol female ${path}/1156/scan1/cbf/cbf2_mask6mm+tlrc[0] \
1168 2 Alcohol male ${path}/1168/scan2/cbf/cbf2_mask6mm+tlrc[0] \
1017 3 Alcohol male ${path}/1017/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1034 3 Alcohol male ${path}/1034/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1038 3 Alcohol female ${path}/1038/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1048 3 Alcohol male ${path}/1048/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1049 3 Alcohol female ${path}/1049/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1052 3 Alcohol male ${path}/1052/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1065 3 Alcohol male ${path}/1065/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1074 3 Alcohol female ${path}/1074/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1081 3 Alcohol male ${path}/1081/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1087 3 Alcohol female ${path}/1087/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1097 3 Alcohol male ${path}/1097/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1100 3 Alcohol female ${path}/1100/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1115 3 Alcohol female ${path}/1115/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1139 3 Alcohol male ${path}/1139/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1140 3 Alcohol male ${path}/1140/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1147 3 Alcohol female ${path}/1147/scan2/cbf/cbf3_mask6mm+tlrc[0] \
1154 3 Alcohol male ${path}/1154/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1156 3 Alcohol female ${path}/1156/scan1/cbf/cbf3_mask6mm+tlrc[0] \
1168 3 Alcohol male ${path}/1168/scan2/cbf/cbf3_mask6mm+tlrc[0]