If your covariate is in the model, it is considered in the analysis.

If you want to test the effect of the covariate, you want to put a 1 or -1 over the column.

If you want to test another effect in the model (e.g. group), then a 0 should be over the covariate column.

As usual, if you write down the null hypothesis, you will be able to determine the weights for each column.



Best Regards, Donald McLaren
=================
D.G. McLaren, Ph.D.
Research Fellow, Department of Neurology, Massachusetts General Hospital and
Harvard Medical School
Postdoctoral Research Fellow, GRECC, Bedford VA
Website: http://www.martinos.org/~mclaren
Office: (773) 406-2464
=====================
This e-mail contains CONFIDENTIAL INFORMATION which may contain PROTECTED
HEALTHCARE INFORMATION and may also be LEGALLY PRIVILEGED and which is
intended only for the use of the individual or entity named above. If the
reader of the e-mail is not the intended recipient or the employee or agent
responsible for delivering it to the intended recipient, you are hereby
notified that you are in possession of confidential and privileged
information. Any unauthorized use, disclosure, copying or the taking of any
action in reliance on the contents of this information is strictly
prohibited and may be unlawful. If you have received this e-mail
unintentionally, please immediately notify the sender via telephone at (773)
406-2464 or email.

On Thu, Sep 25, 2014 at 10:44 PM, Jake Thompson <[log in to unmask]> wrote:
Hello,

I was thinking of including gender as a covariate in analysis and I see that it says to enter the values "per subject" in an X-by-1 array.


Please let me know if this is correct:
I would set male =1 and female= 2

1   (indicates subject one is male)
2   (indicates subject two is female)
2
2
1
1
2
2
1
2

Also to be clear this is added as an addition colum in the contrast manager so if I want to consider this co variate in analysis I put 1 in the contrast matrix for this column, correct?



Thanks,

Jake