Your method resembles a trip from
College Station to Bryan via Timbuktu.
Like a recent posting on saving some
variables, it also has many other
disadvantages apart from being round-about.
. search rename
shows possibilities that remain within Stata.
The most basic Stata alternative is -rename-.
A user-written alternative is -renvars-.
Many other possibilities exist, depending on
how you are renaming.
Also, Stata itself can answer questions
like this!
Nick
[email protected]
ALICE DOBSON
> I use stata 9.1
> In order to change the variable names I go back to the master
> excel file
> which contains the data, change the names there and use stat
> transfer to
> transfer and overwrite the existing data file in Stata.
> Is there a way to change the variable names in the Stata data
> editor or using some command?
*
* 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/