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

st: RE: Collapsing and renaming variables


From   "Wallace, John" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: Collapsing and renaming variables
Date   Tue, 24 Feb 2004 12:49:53 -0800

Try -findit renvars-

A very nice utility for making systematic changes to variable names.

Best,
John Wallace | Research Associate | Test Method Development
AFFYMETRIX, INC. | 3380 Central Expressway | Santa Clara, CA 95051 | Tel:
408-731-5574 | Fax:  408-481-0435

-----Original Message-----
From: de la Garza, Adrian [mailto:[email protected]] 
Sent: Tuesday, February 24, 2004 12:59 PM
To: [email protected]
Subject: st: Collapsing and renaming variables

Is there a way to collapse the data and tell Stata to automatically
rename the collapsed variables?

Perhaps this is too specific and not too many people would need that...

In that case, is there a way to rename a bunch of variables at once? For
instance, to tell Stata that I want variables a, b, c, d, ... renamed
a_old, b_old, c_old, d_old, ... or something like that?

Thank you.
Adrian

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