Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Percentages in cross-tabulation


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Percentages in cross-tabulation
Date   Tue, 24 Sep 2002 13:25:57 +0100

Kazi Ali Toufique

> I would like to crosstabulate a categorical row variable 
> (say sex) and a
> categorical column variable (say religion) and the cells 
> would be sum of
> income (total income of male of a particular religion and 
> so on). The
> problem is how do I get column percentages of income 
> without transferring the tabulation results to XL?

See the on-line help. 

. tab sex religion [w=income], col 

Nick 
n.j.cox@durham.ac.uk 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index