| Date: | Wed, 13 Jan 2010 09:23:03 -0600 |
| Reply-To: | Joe Matise <snoopy369@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Joe Matise <snoopy369@GMAIL.COM> |
| Subject: | Re: how to find max value in one varaible |
|
| In-Reply-To: | <201001130634.o0CNnqXw005833@malibu.cc.uga.edu> |
| Content-Type: | text/plain; charset=ISO-8859-1 |
|---|
If you prefer to not use SQL (which I think is the easiest option), PROC
MEANS/SUMMARY will give you max and min (and lots of other more complex stat
procs, like UNIVARIATE, will as well). Just include it in the statistics
keywords for output.
-Joe
On Wed, Jan 13, 2010 at 12:34 AM, Shaik Hymad <hymadsk@gmail.com> wrote:
> Hi to all,
>
> I have data like
>
> patid value
> 011 22.3
> 012 25.3
> 013 29.3
> 014 32.3
>
> I want to output like max value in above dataset
>
> Thanks,
> Hymad
>
|