Hello!
Hope your week is going well. I am trying to run a group level analysis where I have a within subjects variable (Reputation) and a between subjects variable (Aggression), but my between subjects variable also varies within subjects (Reputation). Essentially, I have different reputations (Mean, Nice, UnpMean, UnpNice) and there is an average aggression value for each of those (aggression to mean condition, aggression to nice condition, etc.).
Typically, when I’ve run these analyses in the past, my between subjects variable was something like age which wouldn’t vary within conditions. So I would set up the GLT like so
Reputation: 1Mean Age :
Reputation: 1Mean - 1*Nice Age :
However, in this instance, it seems to me that this would not accomplish the same goal as:
Reputation: 1Mean Aggression to mean :
Reputation: 1Mean x aggression to mean - 1*Nice x aggression to nice.
How can I set up my GLT to accomplish this aim? I have pasted a subset of my script below. Thank you!
3dMVM
-prefix 3dMVM.Aim1FBxAgg.062222
-jobs 11
-bsVars ‘Aggression’
-qVars ‘Aggression’
-wsVars ‘Reputation’
-num_glt 13
-gltLabel 1 FB.Mean-Nice -gltCode 1 ‘Reputation : +1Mean -1Nice’
-gltLabel 2 FB.Uncertain-Mean -gltCode 2 ‘Reputation : +0.5UnpNice +0.5UnpMean -1Mean’
-gltLabel 3 FB.Uncertain-Nice -gltCode 3 'Reputation : +0.5UnpNice +0.5UnpMean -1Nice’
-gltLabel 4 FB.AllCertain -gltCode 4 ‘Reputation : +1Mean +1Nice’
-gltLabel 5 FB.AllCertain-Uncertain -gltCode 5 ‘Reputation : +1Mean +1Nice -1UnpNice -1UnpMean’
-gltLabel 6 FB.Mean-Nice_Agg -gltCode 6 ‘Reputation : +1Mean -1Nice Aggression : ’
-gltLabel 7 FB.Uncertain-Mean_Agg -gltCode 7 ‘Reputation : +0.5UnpMean +0.5UnpNice -1Mean Aggression : ’
-gltLabel 8 FB.Uncertain-Nice_Agg -gltCode 8 'Reputation : +0.5UnpMean +0.5UnpNice -1Nice Aggression : ’
-gltLabel 9 FB.Nice_Agg -gltCode 9 ‘Reputation : +1Nice Aggression : ’
-gltLabel 10 FB.Mean_Agg -gltCode 10 'Reputation : +1Mean Aggression : ’
-gltLabel 11 FB.Uncertain_Agg -gltCode 11 ‘Reputation : +1UnpMean +1UnpNice Aggression : ’
-gltLabel 12 FB.AllCertain_Agg -gltCode 12 ‘Reputation : +1Mean +1Nice Aggression : ’
-gltLabel 13 FB.AllCertain-Uncertain_Agg -gltCode 13 ‘Reputation : +1Mean +1Nice -1UnpMean -1UnpNice Aggression : ’
-dataTable
Subj Reputation Aggression InputFile
s1562 Nice 2.86 $subjdata/s1562/s1562.results.IndividualLevel062122/stats.s1562+tlrc’[FB.Nice#0_Coef]’
s1562 Mean 4.83 $subjdata/s1562/s1562.results.IndividualLevel062122/stats.s1562+tlrc’[FB.Mean#0_Coef]’
s1562 UnpNice 3.5 $subjdata/s1562/s1562.results.IndividualLevel062122/stats.s1562+tlrc’[FB.UnpNice#0_Coef]’
s1562 UnpMean 3.25 $subjdata/s1562/s1562.results.IndividualLevel062122/stats.s1562+tlrc’[FB.UnpMean#0_Coef]’
s1571 Nice 2.36 $subjdata/s1571/s1571.results.IndividualLevel062122/stats.s1571+tlrc’[FB.Nice#0_Coef]’
s1571 Mean 4.54 $subjdata/s1571/s1571.results.IndividualLevel062122/stats.s1571+tlrc’[FB.Mean#0_Coef]’
s1571 UnpNice 3.0 $subjdata/s1571/s1571.results.IndividualLevel062122/stats.s1571+tlrc’[FB.UnpNice#0_Coef]’
s1571 UnpMean 2.7 $subjdata/s1571/s1571.results.IndividualLevel062122/stats.s1571+tlrc’[FB.UnpMean#0_Coef]’
s1577 Nice 3.17 $subjdata/s1577/s1577.results.IndividualLevel062122/stats.s1577+tlrc’[FB.Nice#0_Coef]’
s1577 Mean 4.04 $subjdata/s1577/s1577.results.IndividualLevel062122/stats.s1577+tlrc’[FB.Mean#0_Coef]’
s1577 UnpNice 2 $subjdata/s1577/s1577.results.IndividualLevel062122/stats.s1577+tlrc’[FB.UnpNice#0_Coef]’
s1577 UnpMean 3 $subjdata/s1577/s1577.results.IndividualLevel062122/stats.s1577+tlrc’[FB.UnpMean#0_Coef]’ \