LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (November 2007, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 12 Nov 2007 22:24:05 -0600
Reply-To:     Yu Zhang <zhangyu05@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Yu Zhang <zhangyu05@GMAIL.COM>
Subject:      Re: Screens
In-Reply-To:  <OFC4882CE8.CB02E61B-ON85257391.007525D2-85257391.007538CB@hgsi.com>
Content-Type: text/plain; charset=ISO-8859-1

proc sql; select id, screen from one group by id having sum(screen<=0.1)>=1; quit;

HTH

Yu

> Dear All: > My data set is as folows > > ID Screen > A 0.05 > A 0.15 > A 0.02 > B 0.2 > B 0.3 > C 0.4 > C 0.02 > C 0.5 > If even one of the individual records of an ID have a screen value that is > less than or equal to 0.1 then then all the records of that ID should be > selected. So all the values of ID A should be selected and all the values > of ID C should be selected. All the values of ID B should be dropped. > Any suggestions? > Thanx. > Randy >


Back to: Top of message | Previous page | Main SAS-L page