Hi,
I have 15 variables (X1, X2, ........., X15) and I want to create a
table with the mean, median and no of obs of the different variables.
I want this for 3 different categories. See example below. Of course,
I want the values of the mean, median and no of obs. I would like the
table to look as below.
Thanks,
Hugh
Variable Category1 Category2 Category3
X1 Mean Mean Mean
(Median) (Median) (Median)
[N] [N] [N]
X2 Mean Mean Mean
(Median) (Median) (Median)
[N] [N] [N]
" " " "
" " " "
" " " "
X15 Mean Mean Mean
(Median) (Median) (Median)
[N] [N] [N]
*
* 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/