Hi Meng, the first row is what you want. The second row tests for an 
interaction between diagnosis, genotype, and age.
doug

On 08/04/2012 10:23 PM, Meng Li wrote:
> Hi Freesurfers,
>
> My experimental design includes 3 discrete factors and 1 continuous 
> variables:
>
> Discrete factors: diagnosis with two levels (A, B); genotype with two 
> levels (G, T); gender (F, M)
>
> Continuous variable: age
>
> So I can get 8 classes: AGF, AGM, ATF,ATM, BGF, BGM, BTF, BTM. Then I 
> want to perform 2 (diagnosis)* 2(genotype) interaction analysis with 
> regressing out the effect of gender and age. Is the following contrast 
> matrix correct?
>
> 0.25 0.25 -0.25 -0.25 -0.25 -0.25 0.25 0.25 0 0 0 0 0 0 0 0
>
> 0 0 0 0 0 0 0 00.25 0.25 -0.25 -0.25 -0.25 -0.25 0.25 0.25
>
> Any help will be very appreciated.
>
> Best wishes,
>
> Meng
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to