Statalist The Stata Listserver


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

st: Several ttests


From   Claude Francoeur <[email protected]>
To   [email protected]
Subject   st: Several ttests
Date   Thu, 28 Dec 2006 16:30:01 -0500

Hello,

I am comparing means for several variables (varname2 to varname10):

ttest varname2, by(varname1)

ttest varname3, by(varname1)

etc.

Is there a command or do file to do all these comparisons at once and 
perhaps generate a summary of the results in a table? 

*
*   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