Stata 15 help for rename

[D] rename -- Rename variable


rename old_varname new_varname


Data > Data utilities > Rename groups of variables


rename changes the name of an existing variable old_varname to new_varname; the contents of the variable are unchanged. Also see [D] rename group for renaming groups of variables.


Setup . webuse renamexmpl . describe

Change name of exp to experience and change name of inc to income . rename exp experience . rename inc income

Describe the data . describe

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