Date: Wed, 24 May 2006 14:28:49 -0500
Reply-To: Yu Zhang <zhangyu05@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Yu Zhang <zhangyu05@GMAIL.COM>
Subject: Re: AN URGENT PROC TABULATE QUESTION
In-Reply-To: <200605241916.k4OIVSXE016687@mailgw.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Change the Max = 'Max' f = 3.
to Max = 'Max' * f = 3.
You missed out the * symbol.
On 5/24/06, RATHINDRONATH <mehedisas@yahoo.com> wrote:
>
> I am trying write Proc tabulate codes as follows:
>
>
> Proc Tabulate Data = Demo1 missing;
>
> var age;
> table age = 'Age' * (n = 'N' * f =8. mean = 'Mean' * f = 5.1 std
> = 'Standard Deviation' * f = 5.1
> min = 'Min' * f = 3. Max = 'Max' f = 3.),
> ALL = 'Total';
> Title2 'Tbale Demo5';
> Run;
>
>
> I am having the following output:
>
>
> ----------------------------------------------
> | | Total |
> |-------------------------------+------------|
> |Age |Sum |N | 60|
> | | |-----------+------------|
> | | |Mean | 63.0|
> | | |-----------+------------|
> | | |Standard | |
> | | |Deviation | 13.0|
> | | |-----------+------------|
> | | |Min | 29|
> | | |-----------+------------|
> | | |Max | 88.00|
> | ----------------------|------------|
> | | 3777|
> ----------------------------------------------
>
>
> If you look at the botton you will see a number " 3777 " . What is that?
> And why
> I am having blocks for Sum ? I do not need 3777 and SUM box.
> Can anyone please get a look at the column and row dimension and let me
> know
> what mistake I just made?
>
>
> AN URGENT PROC TABULATE QUESTION
>
|