Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: ordering of categories when cross-tabulating


From   "Vitorino, Maria Ana" <vitorino@wharton.upenn.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: ordering of categories when cross-tabulating
Date   Tue, 19 Oct 2010 11:51:18 +0000

Dear Statalist users,

I'm trying to produce a simple cross-tabulation table with gender on the rows and how important people think a program X is on the columns.
The categories for the columns are " Very important", "Somewhat important", "Not Important"

Is there a way I can guarantee that the order in which the column categories are displayed are (from left to right) " Very important", "Somewhat important", "Not Important".
Stata usually orders them alphabetically but I'm interested in a specific ordering.

Can this be done?
Thanks!
Ana





*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index