Statalist The Stata Listserver

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

Re: st: Displaying ttest results

From   "Dimitriy V. Masterov" <>
Subject   Re: st: Displaying ttest results
Date   Sat, 19 Aug 2006 11:36:27 -0400

This will show the variable and its label above each ttest output in a
lovely toxic green:

foreach var in var1 var2 var3 var4 ... {
 di as green _newline(1) "`var': `:variable label `var''"	
 ttest `var', by(group)

*   For searches and help try:

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