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

st: re: output of ttest

From   Kit Baum <>
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

* For searches and help try:

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