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

st: Is there a way to display a table by order of frequency?


From   "Loreto Carmona" <[email protected]>
To   <[email protected]>
Subject   st: Is there a way to display a table by order of frequency?
Date   Fri, 9 Jan 2004 12:11:55 +0100

When tabulating a categorical string variable with many levels, I want
sometimes to see the results ordered by frequency, rather than in
alphabetical order.

In long tables I don't feel like changing the label order in the do file
every time I get un update of the data file (with newer levels).

Any help?

Loreto Carmona, Madrid, Spain

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