Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: summary tables for categorical variables


From   Donald Spady <[email protected]>
To   Statalist Statalist <[email protected]>
Subject   st: summary tables for categorical variables
Date   Tue, 11 Feb 2014 13:23:29 -0700

I want to create a table for categorical variables that is something like tabstat where the variable names are in a left hand column and, instead of statistics in the columns to the right, I want the contents of the categories that the variable contains. 
For example
Varname “likeDon” SA:10, A:5, N:3, D:1 SD 2 Miss/NA: 2
varname “likeNick” SA:50, A;20, N:3, D:12, SD: 0 Miss/NA:4
varname “likeSue”  and so on
where SA A N D and SD are the possible responses.

Is there anything in Stata that can do this. If so, what and how?

Many thanks
Don    
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index