| Date: | Mon, 9 Mar 2009 14:10:56 -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: Proc report help |
|
| In-Reply-To: | <23ffaa90-78f5-46ff-9e90-702947972153@j35g2000yqh.googlegroups.com> |
| Content-Type: | text/plain; charset=ISO-8859-1 |
If I remember correctly from a similar question (of mine) last week I think
compute before; and compute after; work like first.(X) and last.(X) for that
sort of purpose.
-Joe
On Mon, Mar 9, 2009 at 1:49 PM, kasa <venkatrkasa@gmail.com> wrote:
> data have
>
> visit Stat groupa groupb
> baseline N 13 26
> baseline Mean 53.48 44.56
> baseline S.D 3.48 6.88
> baseline Median 43 23
> day5 N 13 26
> day5 Mean 53.48 44.56
> day5 S.D 3.48 6.88
> day5 Median 43 23
>
> Instead of modifying the data in 'have' can I get the report like
> below one by using any
> statements in proc report itself to get the report below.
> I remember in data _null_ we can use if first.visit and put @[1] visit
> else we can
> put @ [1]+1 stat is there anything in proc report that perform the
> similar kind of job;
>
> Need
> groupa groupb
> baseline
> N 13 26
> Mean 53.48 44.56
> S.D 3.48 6.88
> Median 43 23
> day5
> N 13 26
> Mean 53.48 44.56
> S.D 3.48 6.88
> Median 43 23
>
>
> Thanks for your help in advance
>
|