I think I understand what to do but if somebody could confirm that what I do is correct, it will be great.
I want to create a design matrix lets where I use Var3 as a regressor with sex and age as a covariates in a group of individuals. I would do it without demeaning the age...is this correct?
Lets say I have 5 subjects, my design.mat will look like:
Sex Age Var3
1 75 1634.75
0 75 1153.25
1 83 3151
0 73 1651
0 81 1503.25
and my design.con would look like:
0 0 1
0 0 -1
Thanks in advance,
Rodrigo
|