Date: Wed, 1 May 1996 14:33:24 -0500
Reply-To: GERALD ZUCKIER <ZUCKIER@CHIME.ORG>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: GERALD ZUCKIER <ZUCKIER@CHIME.ORG>
Subject: Re: Stratification Index
One way to avoid sorting is if you know all the possible values X can have and
hardcode them into separate counters; i.e.
If X = 1 then count1 = count1 + 1;
If X = 2 then count2 = count2 + 1;
If X = 13.7 then count137 = count137 + 1;
then just look at the last observation of your output and deal with the
Otherwise it looks like a case for sorting by X and using first.x and last.x.