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

Re: st: n-way tabulation


From   "Svend Juul" <[email protected]>
To   <[email protected]>
Subject   Re: st: n-way tabulation
Date   Tue, 1 Nov 2005 09:08:55 +0100

Lawrence Hanser wrote:

Is it possible to do greater than two-way cross-tabulations?  For
example, if I have religion (10 categories), gender (2 categories),
age (4 categories), and ethnicity (6 categories), is there a simple
command to get the counts for each of the 480 cells?
----------------------------------

Nick Cox' -groups- command does that nicely:
   . groups relig gender age ethnic

Locate it by:
   . findit groups

Svend

__________________________________________

Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000  Aarhus C, Denmark
Phone: +45 8942 6090
Home:  +45 8693 7796
Email: [email protected]
__________________________________________

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index