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: Re: summary tables for categorical variables


From   Donald Spady <dspady@ualberta.ca>
To   Statalist Statalist <statalist@hsphsun2.harvard.edu>
Subject   st: Re: summary tables for categorical variables
Date   Tue, 11 Feb 2014 15:28:52 -0700

Former secretary
Don
On Feb 11, 2014, at 1:23 PM, Donald Spady <dspady@ualberta.ca> wrote:

> 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