Statalist The Stata Listserver


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

st: Re: Display query


From   "Paul Fenner" <[email protected]>
To   [email protected]
Subject   st: Re: Display query
Date   Wed, 10 Jan 2007 15:56:50 +0000

I am using the following simple do file
set more off
foreach i of varlist lr1-lr6 ll1-ll6 ur1-ur6 ul1-ul6 br ar pr{
di `i'
ttest `i',by(gender)
}
set more on
and I would like to display the variable represented by i in the varlist but
all I get is a number which is presumably the numerical representation of
the variable. I tried using tostring to generate a new variable from i but
it failed.
Thanks,
Paul

_________________________________________________________________
Find Love This New Year With match.com! msnuk.match.com

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