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

st: Tabulate Question


From   gte573q@mail.gatech.edu
To   statalist@hsphsun2.harvard.edu
Subject   st: Tabulate Question
Date   Fri, 14 Nov 2003 03:20:05 -0500

Hello!
Is there any way to make a below table from data(total observations:3,000) in
stata? The data have three categories(1,2,3) and three subcategories(A,B,C).
I tried "tab,table, tab1 tab2 xtab, etc".
But I couldn't find a way.
Thanks.

 ----------1--------------1-------------1-----------1------------
  Category 1  Subcategory 1  var1(mean) 1 var2(mean)1  var3(mean)
 ----------1--------------1-------------1-----------1-----------
           1    A         1             1           1
           1--------------1-------------1-----------1------------
    1      1    B         1             1           1
           1--------------1-------------1-----------1------------
           1    C         1             1           1
 ----------1--------------1-------------1-----------1------------
           1    A         1             1           1
           1--------------1-------------1-----------1------------
    2      1    B         1             1           1
           1--------------1-------------1-----------1------------
           1    C         1             1           1
 ----------1--------------1-------------1-----------1------------
           1    A         1             1           1
           1--------------1-------------1-----------1------------
    3      1    B         1             1           1
           1--------------1-------------1-----------1------------
           1    C         1             1           1
 ----------1--------------1-------------1-----------1------------







--------------------------------------------------

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