Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Renvars and simultaneous renaming of several variables


From   "Herve STOLOWY" <[email protected]>
To   <[email protected]>
Subject   st: Renvars and simultaneous renaming of several variables
Date   Sun, 25 Jan 2004 19:10:07 +0100

Dear All:

I found the renvars elements by downloading the STB-60.

I can now formulate my question.

I have 200 variables named in the following way:

vary98
vary99
vary00
vary01

Could I rename all the variables with one instruction to obtain:

vary1998
vary1999
vary2000
vary2001.

If not, should I distinguish the 1990s and the 2000s?

Thanks for your help.

Best regards

Herve Stolowy



***********************************************************
HEC School of Management
Dept of Accounting and Management Control
1, rue de la Liberation
78351 - Jouy-en-Josas
France
Tel: +33 1 39 67 94 42
Fax: +33 1 39 67 70 86
[email protected]
http://campus.hec.fr/profs/stolowy/perso/home.htm
*
*   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