[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: RE: Tabulate

From   "Lachenbruch, Peter" <>
To   <>
Subject   st: RE: RE: Tabulate
Date   Wed, 8 Oct 2008 12:54:34 -0700

I have been thinking about the same problem for some time and wrote a
short extension of tab which is essentially this.  Bobby Gutierrez has
modified my clumsy work and it will be an addition to Stata some time
soon (I hope).


Peter A. Lachenbruch
Department of Public Health
Oregon State University
Corvallis, OR 97330
Phone: 541-737-3832
FAX: 541-737-4001

-----Original Message-----
[] On Behalf Of Nick Cox
Sent: Wednesday, October 08, 2008 10:15 AM
Subject: st: RE: Tabulate

foreach v of var var1-var20 { 
	tab `v' gender 


Meryle Weinstein, Ph.D.

Is there a way to do multiple two way tables besides tab2. I want to
two-way tables by gender for about 20 variables and tab2 creates tables
each of the 20 other variables by each other, which is way too

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index