Date: Mon, 22 Jan 2007 08:57:44 -0500
Reply-To: Jake Bee <johbee@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jake Bee <johbee@GMAIL.COM>
Subject: Re: Proc tabulate bottom label question/help
In-Reply-To: <45B4758E.8080803@ined.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
All of this helps very much Thank You!
Jake
On 1/22/07, Andre Wielki <wielki@ined.fr> wrote:
>
> Yu,
> Your reference are showing new features of v9.2!
> Incidently i see that Sas would support the SVG format of Adobe
> BUT This editor is just announcing that the support for SVG
> is stopping at end 2007!
>
> Andre
>
>
> Yu Zhang a écrit :
> > Hi, Jake,
> >
> > Check the ODS text= if you are using SAS V9. The link to the SAS
> ducument
> > about this feature is here:
> >
> > http://support.sas.com/rnd/base/topics/new92/92odsmore.html
> >
> > HTH
> >
> > Yu
> >
> >
> > On 1/21/07, Jake Bee <johbee@gmail.com> wrote:
> >>
> >> Dear SAS-L:
> >>
> >> I have the following code for tabulate, and for table all={label =
> >> ....};
> >> I
> >> can put a nice label at the top of the tabulated box.
> >>
> >> Does anyone know if there is a companion way in tabuate to do this at
> the
> >> bottom of each tabulate box?
> >>
> >> I can't use a footnote since I am putting the output to a pdf file with
> 4
> >> tabulate boxes per page, thus each box would be different.
> >> I would actuall prefer to put the p-Value at the bottom of each box vs.
> >> the
> >> way I'm doing it now with box={label "pValue &pval"...};
> >>
> >> Since I am using ODS and proc document to create the output, perhaps
> >> there
> >> is ODS [labeling] syntax to accomplish this, but
> >> I can't seem to find much documentation on the SAS site, probably since
> I
> >> don't know what to search for --proc document is
> >> new to me.
> >>
> >> This related to the previous help I had last week to set up the ODS
> which
> >> is
> >> also new to me. The results are great, and I think
> >> once completed, that I'll post the code for others to use, or comments
> >> and
> >> suggestions for improvement. But for now I'm going to as
> >> my questions one at a time.
> >>
> >> Thanks for any help, and Thanks for the help and presentation links
> last
> >> week.
> >>
> >> Jake
> >>
> >> %macro stats(prf);
> >> ods document name=aetx_&prf(write);
> >> ods noptitle;
> >> ods ESCAPECHAR='^';
> >>
> >> %do cat = 1 %to 4;
> >> ods output CrossTabFreqs = FRY_&prf._&cat;
> >>
> >> [... other proc freq code here not displayed ...]
> >>
> >> proc tabulate noseps
> >> data=_last_;
> >> class category aes dose
> >> ;
> >> var
> >> Frequency;
> >> table all={label = "%left(%trim(&adverse_event))"
> >> s={foreground=blue}},
> >> (category)*( aes all), (dose all='Total') *
> >> Frequency = " "* sum = ''*f=comma8. / rts=25.
> >> box = {label="pValue &pval" s={foreground=purple}} ;
> >> run;
> >> %end;
> >>
> >> ods document close;
> >>
> >> %mend;
> >>
> >
> >
>
>
> --
> Andre Wielki
> INED (Institut National d'Etudes Démographiques)
> 133 Boulevard Davout 75980 Paris Cedex 20
> 33 (0) 1 56 06 21 54 FRANCE
>
|