Date: Mon, 17 Nov 2008 15:07:11 -0500
Reply-To: Brad Heins <hein0106@UMN.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Brad Heins <hein0106@UMN.EDU>
Subject: Proc Mixed help
I have a question about proc mixed at if there is a trick I can do with my
model statement or not.
I have a variable aocm that is continuous and is nested within a class
variable (LNR) that has 3 levels. From the output below you can see that at
LNR 2 and 3 the regression coefficient is not significant, but it for LNR 1.
Is there a way that I can tell Proc mixed to just adjust for only LNR 1 and
not for LNR 2 or 3 since they are not significant. I want to leave LNR 1 is
the model and adjust for those records, but not for LNR 2 or 3 because the
regression coefficients make no biological sense to the data that I have.
Any help would be appreciated.
proc mixed statement:
class group lnr hy;
model y= group lnr hy aocm(lnr) ;
Effect Estimate Error DF t Value Pr > |t|
aocm(LNR) 1 2.1697 0.2378 9660 4.92 <.0001
aocm(LNR) 2 -1.0259 0.2432 9660 8.33 <.6538
aocm(LNR) 3 -1.4974 0.2572 9660 5.82 <.8520