From | David Kantor <dkantor@jhu.edu> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Collapsing and renaming variables |
Date | Tue, 24 Feb 2004 16:42:08 -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
David Kantor Institute for Policy Studies Johns Hopkins University dkantor@jhu.edu 410-516-5404 * * 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–2023 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |