Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: RE: RE: Summarising multiple tabulations in one table


From   Lee Sieswerda <Lee.Sieswerda@tbdhu.com>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: RE: RE: Summarising multiple tabulations in one table
Date   Tue, 10 Dec 2002 10:46:31 -0500

I personally do not think it is much extra work to use a -foreach- loop, so
don't bother on my account if it involves undue violence to the code. But
regardless, thank you for your generous offer.
Best,
Lee

Lee Sieswerda, Epidemiologist
Thunder Bay District Health Unit
999 Balmoral Street
Thunder Bay, Ontario
Canada  P7B 6E7
Tel: +1 (807) 625-5957
Fax: +1 (807) 623-2369
Lee.Sieswerda@tbdhu.com
www.tbdhu.com
 

> -----Original Message-----
> From:	Nick Cox [SMTP:n.j.cox@durham.ac.uk]
> Sent:	Tuesday, December 10, 2002 9:51 AM
> To:	statalist@hsphsun2.harvard.edu
> Subject:	st: RE: RE: RE: Summarising multiple tabulations in one
> table
> 
> Lee Sieswerda
> > 
> > If I'm understanding your data structure correctly, you 
> > could use -tabm-
> > with the -trans- and -col- options. Currently, -tabm- is 
> > not by-able, so you
> > would need to use -if-. As in:
> > 
> > foreach n in 0/10 {
> > 	tabm agekst* if cohort==`n', trans col
> > }
> > 
> 
> If -tabm- could do with being -by-able, I 
> will do it. But underneath the surface 
> that's a lot of thrashing around with files. 
> 
> Nick 
> n.j.cox@durham.ac.uk 
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index