Page 1 of 1

Programming the renaming of multiple variables

Posted: Wed Jan 16, 2019 8:39 am
by miorinnovo
Is it possible to import a list of variables in a particular order and then programming them to be renamed in a systematic way rather than have a long list of "rename x y". For example, if I have 100 variables and I want them to be renamed A1,A2...A10,B1,B2,...B10 etc.

Thanks

Re: Programming the renaming of multiple variables

Posted: Wed Jan 16, 2019 10:17 am
by EViews Matt
Hello,

You can generate lists of EViews objects using @wlookup and the use various string manipulation functions to build your rename statements. It all depends on how complicated the renaming patterns are.