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

st: Re: Tabulate Question


From   "Steichen" <steichen@triad.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: Tabulate Question
Date   Fri, 14 Nov 2003 09:16:15 -0500

table subcategory, by(category) c(mean var1 mean var2 mean var3)


----- Original Message ----- 
From: <gte573q@mail.gatech.edu>
To: <statalist@hsphsun2.harvard.edu>
Sent: Friday, November 14, 2003 3:20 AM
Subject: st: Tabulate Question


> 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/
>


*
*   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