Date: Wed, 5 Jan 2005 22:59:06 -0500
Reply-To: "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM>
Subject: Re: Accumulated sum
It's a simple question, not stupid.
PROC TABULATE cannot do this because it only does summarizations, not
running accumulations of summaries.
On Wed, 5 Jan 2005 07:41:09 -0800, Richard <heteroliu@GMAIL.COM> wrote:
>Hi,
>
>A very stupid question...
>
>If I have data look like this
>
>number
>---------
>10
>12
>13
>15
>
>and I would like to add a column as accumulated sum for this field...
>
>number acc
>----------------
>10 10
>12 22
>13 35
>15 50
>
>
>
>Can I do this in proc tabluate?
>
>Thank you in advance.
|