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

st: RE: counting subgroups in a large group


From   adonlan <adonlan@gwu.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: RE: counting subgroups in a large group
Date   Fri, 06 Jun 2003 15:42:02 -0400

I need to find the number of groups in a larger group: the number of *sections 
in a *course.  Of course, I can do this:

sort course
by course: tabulate sections

   One would then count the sections by eyeballing them in the tabulation, but 
in my data, a course can have many many sections.

   The conceptual idea would be analgous to this fantasy coding:

by course: codebook section 

*
*   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