|
Hi Ya!
Thx again.
But without nofreq option i receive cells with 2 values...and i want only
with percent in each cell...but with last column too....
Thx anyway...
Adriano
----- Original Message -----
From: "Huang, Ya" <yhuang@AMYLIN.COM>
Newsgroups: bit.listserv.sas-l
To: <SAS-L@LISTSERV.UGA.EDU>
Sent: Friday, August 13, 2004 1:13 PM
Subject: Re: Another proc freq question with weight
> On Fri, 13 Aug 2004 13:19:16 -0300, Adriano Rodrigues - Instituto GPP
> <adriano@GPP.COM.BR> wrote:
>
> >Hi All,
> >
> >When i run simple code:
> >proc freq data=test;
> >
> >tables p2 * p10 / norow nocum nofreq nopercent missing;
> >
> >weight peso;
> >
> >run;
> >
> >
> >I receive the table with last column total in blank. like this:
> >
> >How to get in the tbale the last colum with global results (with weight)?
> >
> > Table of P2 by P10
> > P2(E) P10(AL) Total
> > Good More or less Bad NS
> > 1 21.15 21.34 30.61 38.73
> > 2 34.76 25.26 17.09 16.61
> > 3 12.02 15.20 12.41 7.23
> > 4 4.22 4.25 10.99 0.00
> > 5 0.30 1.70 0.24 5.10
> > 6 0.42 0.81 0.65 0.00
> > 7 5.98 7.92 15.80 9.51
> > 8 21.16 23.52 12.21 22.82
> > Total 0.23718 0.40926 0.32475 0.02881 1
> >
> >
> >Thx in advance,
> >Adriano
>
> Don't use 'nofreq' option:
>
> tables p2 * p10 / norow nocum nopercent missing;
>
|