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

st: Collapsing and renaming variables


From   "de la Garza, Adrian" <ADelagarza@imf.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Collapsing and renaming variables
Date   Tue, 24 Feb 2004 15:58:34 -0500

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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index