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
Difference-in-differences: issue with numbers of pre- and post-treatment observationsHello, I am assessing the impact of a wage increase policy on employment status using a difference-…
mestreg - Incorporating Variance covariance structureGreetings!! I'm John, currently working on multilevel survival analysis using mestreg command.. I wa…
Introducing year observations to longitudinal databaseDear all, I am trying to include observations from 2013 to 2016 in a panel database with observatio…
How to deal with outliers?Hi, I am performing fixed effects panel regression and some of my control variables have outliers. …
How to perform CS-ARDL?Hello all, I want to apply CS-ARDL to my model but as I am new to the field and STATA I could not f…
Subscribe to:
Post Comments (Atom)
0 Response to assign variable label to variable name
Post a Comment