Hi
I have a dataset that has some variables, say, X1-X10. The corresponding variable labels are 2018:q1, 2018q2, and so on. i want to rename the variables and set their labels as the new name, such that my new variable names be something like var_2018_q1, var_2018_q2, etc. I would appreciate it if anyone can help.
Thanks,
Related Posts with assign variable label to variable name
Correlation structure of xtgee: tests of statistical significanceHello Statalisters, I'm using Stata 15.1. My question relates to the "xtgee" commands (in particula…
Looping with lagged valuesI'm new to Stata and would highly appreciate any help. I have a panel data. I want to implement for…
Stata 16 - Drop just variables and observationsI had Stata 14 and used drop _all command to drop just the variables/observations but keep all the r…
pinv vs luinv vs qrinvMata has these different functions for inverting square matrices. The matrices I am inverting are ab…
STATA: panel regression, xtset error, CUSIP8-code, string variableDear all, I am trying to complete a panel data regression with the individual and time identifiers:…
Subscribe to:
Post Comments (Atom)
0 Response to assign variable label to variable name
Post a Comment