|
Hi all,
I have a mixed model with Location as fixed, Treatment as random, and Time
as repeated (and within Treatment)
So, I've been using
proc mixed
data=mix1 order=data ;
class Location Treatment;
model yvalue = Location Treatment Time / solution ;
random Treatment(Location)/ sub=Treatment type=cs;
repeated / sub=Time type=cs ;
run;
Now I want to test a cubic trend over time.
proc mixed
data=mix1 order=data ;
class Location Treatment;
model yvalue = Location Treatment Time TimeSqr TimeCube / solution ;
random Treatment(Location)/ sub=Treatment type=cs;
repeated / sub=TimeCube type=cs ;
run;
For the repeated line, should I be stating Time(Treatment) instead of just
Time?
Also, is it fine to put TimeCube in the repeated statement and ignore Timeqr
and Time?
Thanks for any feedback,
Jeff Miller
University of Florida
|