Statalist The Stata Listserver


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

Re: st: Several ttests


From   Claude Francoeur <[email protected]>
To   [email protected]
Subject   Re: st: Several ttests
Date   Thu, 28 Dec 2006 18:03:51 -0500

Hello,

The variables I am using are : pw (dichotomic dependent), boardcomp, 
compensation, tech, march, etc.

Can you help me convert the following commands to fit my variables?

foreach var of varlist varname? {
di "`var'"
ttest `var', by(pw)
}

Do I have to create a varlist to identify those variables?

Thanks for your help,

Claude

I 

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