Gang Wrote:
-------------------------------------------------------
> > Is there another way to construct the linear
> trend without excluding the middle term? Could
> using 3dRegAna work?
>
> No, forget about 3dRegAna. 3dLME might be a better
> solution. First, code "condition" as a
> quantitative variable:
>
> one -> -1
> two -> 0
> three -> 1
>
> Then run 3dLME:
>
> 3dLME -prefix ... -jobs 12 -model "condition"
> -qVars "condition" -ranEff '~condition' \
> -gltLabel ... -gltCode ... \
> -dataTable \
> Subj condition InputFile \
> s1 -1 s1_A+tlrc \
> s1 0 s1_B+tlrc \
> s1 -1 s1_C+tlrc \
> ...
Gang,
Thanks for the suggestion.
We have a 2nd within-subjects factor in this model. Would this code work as well:
Subj condition treatment InputFile \
s1 -1 before s1_1_A+tlrc \
s1 0 before s1_B+tlrc \
s1 -1 before s1_C+tlrc \
.s1 -1 after s1_1_A+tlrc \
s1 0 after s1_B+tlrc \
s1 -1 after s1_C+tlrc \ ..
How you model the linear trend if we wanted to collapse across the treatment factor?
Thanks
Michael