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]

Re: st: summary tables for categorical variables


From   Nick Cox <njcoxstata@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: summary tables for categorical variables
Date   Tue, 11 Feb 2014 20:40:47 +0000

Sounds like

-mrtab- (SJ)

-tabm- (-tab_chi- on SSC)

(Who Sue?)

Nick
njcoxstata@gmail.com

On 11 February 2014 20:23, 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?
*
*   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