Date: Thu, 26 Nov 2009 04:48:59 -0800
Reply-To: k <kristoffer.backman@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: k <kristoffer.backman@GMAIL.COM>
Organization: http://groups.google.com
Subject: The use of estimate statements in proc mixed
Content-Type: text/plain; charset=ISO-8859-1
Hi!
I have a question regarding the use of estimate och perhaps lsmeans
statements in sas. I am currently working with a growth model relating
a continious outcome to the age of the subject using proc mixed
controlling for a number of covariates.
The basic model is:
proc mixed data=a method=ml noitprint noclprint=10 covtest ;
class id baseage ;
model y = baseage group age age*group age*age age*age*group / chisq
cl residual vciry outp=resid1 outpm=resid2 ;
random int age / sub=id type=un g gcorr vcorr ;
run;
It is a polynomial model where I estimate cross sectional effects of
age as well as longitudinal effects. What I am interested in is to
estimate the vertical difference between regression lines at selected
valus of the age spectrum at certain covariate values (between group
differences). As I am not that accustomed to writing contrast and
estimate statements in order to answer there kind of questions any
suggestions would be welcome.
Kind regards
Kristoffer