Try -groups- from SSC.
Nick
[email protected]
Paolo Grillo, MD
> I have a categorical variable -catt (6 categories)- that
> identifies a group of different hospitals and I have the
> single denomination of each hospital, as well.
> I would like to create a table where row are the Hospital
> denomination, but sorted for -catt.
> i.e.
> Public Hospital
> Hospital 1
> Hospital 2
> etc
> Private Hospital
> Hospital 3
> Hospital 4
> etc.
>
> The question is really more complicated since I would
> calculate in each cell the absolute freqency and percentage
> of a third variable with a supercol (so I can't use -table)
> and I would not want to split the table in different tables
> using - bysort.
*
* 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/