Am I interpreting this correctly that you have data that you could
-tab hospid- and get something that looks like:
hospid | freq ...
___________
2000 | ##
2001 | ##
...
where ## is the number of observations/patients for that hospital.
What is not clear is what you mean by "volume group" - do you mean to
separate hospitals into different strata based on patient volumes? It
is possible to attach the hospital volume counts to each observation
using -bysort hospid: egen ptcnt=count(1)- . If you then -tab ptcnt-
you can see the range of patient counts. You could then use -recode-
to divide the counts into different volume groups.
DC Elliott
*
* 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/