Hey guys, this is my first post, so thanks in advance for reading.
I am using SAS, and comparing the effects of a drug on a biological measure, additionally I am taking repeated measurements from the same experimental setup. I have two treatment groups.
I can navigate main effects (effects of treatment and time) just fine, but I want to dig a little deeper. Specifically, I want to be able to say that particular times are significantly different from one another (orthogonal contrast) but I cant quite get the SAS language right.
Here is my code thus far:
proc glm data=Dopamine;
class Treatment;
model time0 time15 time30 time60 time90 = Treatment / nouni;
repeated Time;
run;
In otherwords, variable 1 = treatment, variable 2 = time with 5 levels. I am looking for a way to contrast time 0 with other times. This does not work:
contrast 'time0vstime15' time 1 0 0 0 1;
but this is all I know about contrasts. Any help would be great!
I am using SAS, and comparing the effects of a drug on a biological measure, additionally I am taking repeated measurements from the same experimental setup. I have two treatment groups.
I can navigate main effects (effects of treatment and time) just fine, but I want to dig a little deeper. Specifically, I want to be able to say that particular times are significantly different from one another (orthogonal contrast) but I cant quite get the SAS language right.
Here is my code thus far:
proc glm data=Dopamine;
class Treatment;
model time0 time15 time30 time60 time90 = Treatment / nouni;
repeated Time;
run;
In otherwords, variable 1 = treatment, variable 2 = time with 5 levels. I am looking for a way to contrast time 0 with other times. This does not work:
contrast 'time0vstime15' time 1 0 0 0 1;
but this is all I know about contrasts. Any help would be great!