Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Making tables with ttest


From   "Nuno Soares" <ndsoares@gmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Making tables with ttest
Date   Mon, 1 Feb 2010 15:55:00 -0000

Hi everyone,

I've been searching past posts in the list about this issue, but I haven't
found anything that solves my problem. I was wondering if there is a way of
building tables in Stata with a set of -ttest- results for different
variables. The table would look something like this (produced in SAS, and
testing for H0: mean=0):
Variable 	N 	Mean 		t Value 	Pr > |t|
A		404	-0.0130359	-2.35		0.0191
B		404	-0.0126201	-2.23		0.0260
C		404	-0.0119089	-2.15		0.0323

I've been trying to use - estpost -, but it requires the use of by() (which
I don't need).

All the best,

Nuno

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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