LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2007, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 4 Apr 2007 16:55:59 -0400
Reply-To:   Jeff Miller <jeffmiller@ALPHAPOINT05.NET>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Jeff Miller <jeffmiller@ALPHAPOINT05.NET>
Subject:   Cubic model in Proc Mixed
Content-Type:   text/plain; charset="us-ascii"

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


Back to: Top of message | Previous page | Main SAS-L page