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   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: summary tables for categorical variables
Date   Wed, 12 Feb 2014 10:16:31 +0100

On Tue, Feb 11, 2014 at 11:58 PM, Donald Spady wrote:
>   I looked at -tabm- which is much closer to what is needed, but it does not give the option of say percentage rather than frequency.

You can add options allowed for -tabulate- to -tabm- (except that the
-missing- option will work differently for -tabm- and -tabulate-), see
-help tabulate twoway-. So, if you want to add percentages you can
type -tabm varlist, row-. If you want to leave the frequencies out you
can type -tabm varlist, row nofreq-.

Hope this helps,
Maarten

---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany

http://www.maartenbuis.nl
---------------------------------
*
*   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