Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: One-way table and multiple variables


From   Kingsley Wong <email@kingsleywong.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: One-way table and multiple variables
Date   Thu, 25 Aug 2011 03:13:12 +0000

Hi Statalisters,

I am trying to create a table that shows the variables, variable values and frequencies in the following format:

          var1 var2 var3
value1 freq freq freq
value2 freq freq freq
...

All variables have the same set of values.

I have tried -tab1- but it only creates one-way frequency table for each variable. Also, I have searched SSC but couldn't find a solution that suits my need. Your advice is appreciated. Thanks in advance.

Regards,
Kingsley
*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index