Hello
I have data that is set out with a first row being numbers that I would like as variable names. Since I cannot name the variables with these names (because they are digits), I would like to name my variables with the letter K in front. eg the first row appears 010 011 012 ... 200 and I would like to name the variables which fill each of their columns K010 K011 K012... K200.
This is probably a simple thing to do but I am struggling as a new STATA user- any help would be greatly appreciated!
Thanks
Related Posts with Renaming variables with modified versions of label names
- Negative binomial regression: Coefficient gets insignificant when control variable is loggedHi, please note that this question was cross-posted on StackExchange but didn't receive any feedbac…
- Correlated data and structural equation modellingI am trying to examine a cross-lagged model with twin data. Without taking into account the correlat…
- Drop all the observations if there is one duplicateGood day to all! Code: * Example generated by -dataex-. For more info, type help dataex clear inpu…
- Doubt about absorb() in reghdfeHi everyone! I am currently working with a rather big dataset (135mm observations) and I need to ru…
- How to conclude significance of moderation effects?I want to explore moderating effects of m1. I also have another moderator m2, and here are the two c…
Subscribe to:
Post Comments (Atom)
0 Response to Renaming variables with modified versions of label names
Post a Comment