>
> Does anyone have a suggestion for how I could rename my variables to
> reflect the values in an observation or a variable? Or any other
> suggested shortcuts, short of making this long local macro?
>
> Jennifer
sysuse auto, clear
drop make headroom gear_ratio
foreach var of varlist _all {
ren `var' `var'`=`var'[1]'
}
Roy
_________________________________________________________________
Windows Live™: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/