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

st: re: output of ttest


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: re: output of ttest
Date   Mon, 4 Apr 2005 16:40:31 -0400

Cher said

I am conducting t-tests on dozens of variables (using 'ttest' command)
and would like to make a single table based on the output statistics
(mean, sd, se, obs, etc.). I was trying to use 'estout' to format the
table; nevertheless, I could not 'estimates store', since there are
simply no estimates retuned after such a test (vis-�-vis those stored
post estimation).
Is there any other way to get around this problem?
Any suggestions will be greatly appreciated!

Since a ttest is just a simple regression of the variable on the by() variable, you can set them up as regressions, and get all the stats you want saved by estimates.

Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html


*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index