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/