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

st: RE: two-way table


From   "Nick Winter" <[email protected]>
To   <[email protected]>
Subject   st: RE: two-way table
Date   Tue, 12 Nov 2002 10:13:28 -0500

> -----Original Message-----
> From: Hans J. Baumgartner [mailto:[email protected]] 
> Sent: Tuesday, November 12, 2002 10:11 AM
> To: statalist
> Subject: st: two-way table 
> 
> 
> Hi, 
> 
> I have a two-way table 
> 
> tab x1 x2, column
> 
> How can I tell STATA that I am only interested in the 
> frequencies? That
> is, the table should show the frequencies only. 
> 
> Thanks
> Hans

Omit the ", column" option:

	. tab x1 x2

If you don't want row and column totals, either, the -table- command:

	. table x1 x2

Nick Winter
*
*   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