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]
st: Formatted 3-way tables
From
Richard Moverare <[email protected]>
To
statalist <[email protected]>
Subject
st: Formatted 3-way tables
Date
Mon, 26 Mar 2012 10:46:52 +0200
Dear Statalist,
I guess this could be solved in some neat way, but I haven't found
anysolution. I would like to create 3-way tables that looks something
like:
webuse byssin
table workplace smokes race, row
But I would like column percentages, a "total" column (i.e. smokes yes
or no, regardless of race). I have looked in the manual for -tabout-
but I haven't seen any solution there. I understand that I can
generate new variables that give all categories and then use
-tabulate-, but I have to generate a great number of tables so it
isn't a feasible way. This is such a basic feature in all other
statistical softwares, so I assume there is some easy solution I
haven't found. Any help would be greatly appreciated.
All the best,
Rick M.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/