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

st: need a quick count


From   Suzy <[email protected]>
To   [email protected]
Subject   st: need a quick count
Date   Mon, 10 Oct 2005 19:34:05 -0400

Hi Statalisters:

I have a categorical variable with an unknown number of categories because there are so many (hundreds) of categories. I can't figure out a way to get a quick count of the total number of categories for this variable- but there must be a way to obtain this information. Sum, list, tab, and prop don't work.

Am I missing something??

Thanks!
*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index