Hi Bo,

Sorry I made a mistake in the last letter. I now know that 1-9 columns are for male groups and 9-18 columns are for female groups.

But according to your description, gender should be a factor rather than a covariate in your analysis.

I think your matrix still doesn't look quite right to me. Since the interaction you are interested in doesn't involve gender, the coefficients for F&M groups should really be identical, from what I see.

I tried to write a matrix and included it in the attachment. Since I'm not sure if it is correct, I included the intermediate steps, so hopefully you can judge for yourself.

Cherry

On Sat, Nov 17, 2012 at 10:22 PM, xiangbo_2010 <xiangbo_2010@126.com> wrote:
Dear Cherry
   I our analysis, the gender as a Covariate, so  all female groups assigned 0 in the matrix, following is new matrix:
1 -1 -1 -1 -1 -1 0 0 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1-1 -1 0 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 1 -1 -1 -1 -1 -1 0 0 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 1-1 -1 0 -1 -1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

is it correct?  

 

Any help will be very appreciated.

 

Best wishes,

 

Bo Xiang 








At 2012-11-18 10:51:07,"Yizhou Ma" <ym850@nyu.edu> wrote:
Hi Bo,

I'm definitely not an expert of this, but I see that you really nead some help, so I tried to look at your matrix. From my humble opinion it doesn't look correct. Firstly, the first 9 groups are male groups and the last 9 are female groups. Then why are all female groups assigned 0 in the matrix? Secondly, since the interaction you are interested in have a df of 4, do you think maybe you should have 4 rows rather than 8 in your matrix?

Cherry

On Sat, Nov 17, 2012 at 9:21 PM, xiangbo_2010 <xiangbo_2010@126.com> wrote:
Hi Freesurfer experts,
I'm very sorry to bother you, but I am very confused with the following questions:

My experimental design includes three discrete factors:  factor 1 with three levels (A,B,C ); factor 2 with three levels (O,P,Q); gender (F, M), and one covariate.

So I can get 18 classes: FAO, FAP,FAQ,FBO,FBP,FBQ,FCO,FCP,FCQ,MAO, MAP,MAQ,MBO,MBP,MBQ,MCO,MCP,MCQ.  I want to perform the interaction between factor 1 and factor 2 regressing out the effect of gender and one covariate, but I don't know the rules for setting the contrasts for the F-test.  The contrast matrix I used is:

1 1 1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

1 -1 0 1 -1 0 1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

1 1 1 0 0 0 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

1 0 -1 1 0 -1 1 0 -1  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 1 1 1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 1 -1 0 1 -1 0 1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 1 0 -1 1 0 -1 1 0 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

is it correct?  

 

Any help will be very appreciated.

 

Best wishes,

 

Bo Xiang 










_______________________________________________
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/co! mplianceline . 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.





_______________________________________________
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.