Date: Tue, 19 Mar 2002 07:53:55 -0500
Reply-To: David Huffer <dhuffer@CRIM.UMD.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: David Huffer <dhuffer@CRIM.UMD.EDU>
Organization: University of Maryland College Park
Subject: Re: winsorizing???
use proc rank.
example, trimmed mean: group the variable into quartiles (where groups 1 and
2 are the middle 50%):
proc rank data=a out=b groups=4;
then you could use the variable rank_x in a where statement in other
procedures. As in:
proc means data=b;
where rank_x in (1,2);