History of AFNI updates  

|
November 23, 2016 05:08PM
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
Subject Author Posted

Linear contrasts using 3dMVM

Matthew_2 August 13, 2015 04:05PM

Re: Linear contrasts using 3dMVM

gang August 13, 2015 04:38PM

Re: Linear contrasts using 3dMVM

Matthew_2 August 16, 2015 04:40PM

Re: Linear contrasts using 3dMVM

gang August 17, 2015 02:48PM

Re: Linear contrasts using 3dMVM

Matthew_2 August 17, 2015 04:54PM

Re: Linear contrasts using 3dMVM

gang August 18, 2015 02:12PM

Re: Linear contrasts using 3dMVM

mrif November 21, 2016 04:28PM

Re: Linear contrasts using 3dMVM

gang November 22, 2016 03:24PM

Re: Linear contrasts using 3dMVM

mrif November 22, 2016 04:40PM

Re: Linear contrasts using 3dMVM

gang November 23, 2016 11:55AM

Re: Linear contrasts using 3dMVM

mrif November 23, 2016 05:08PM

Re: Linear contrasts using 3dMVM

gang November 25, 2016 01:52PM

Re: Linear contrasts using 3dMVM

mrif November 28, 2016 01:38PM

Re: Linear contrasts using 3dMVM

gang November 29, 2016 12:06PM

Re: Linear contrasts using 3dMVM

mrif November 29, 2016 01:39PM

Re: Linear contrasts using 3dMVM

gang November 30, 2016 03:48PM

Re: Linear contrasts using 3dMVM

mrif December 01, 2016 02:13PM