Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Table of summary statistics


From   "Hugh Colaco" <hmjc66@gmail.com>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: Table of summary statistics
Date   Thu, 11 May 2006 15:50:37 -0400

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/



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