Date: Tue, 6 May 2008 08:48:01 -0500
Reply-To: Robin R High <rhigh@UNMC.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Robin R High <rhigh@UNMC.EDU>
Subject: Re: PROC MIXED
Content-Type: text/plain; charset="US-ASCII"
proc mixed produces residual values for each observation, but they are
not saved in a file. how can i eliminate observations with high
You can apply the outp= or outpm= options; the first is adjusted for
random effects, the second is the means only, so you have two types of
residuals to consider, which are placed in the output file.
Since all the original data is kept in the new files, you can apply
decision rules to outliers on them.
proc mixed data=dt ;
class grp trt;
model y = trt / outp=prd(keep=grp trt y pred resid)
outpm=prdm(keep=grp trt y pred resid);
random grp / solution;
proc print data=prd; run;
proc print data=prdm; run;
University of Nebraska Medical Center