Hi everyone,
I am trying to generate a new variable named "new" using an existent variable named "old". However, wonder to know how can assign the label for the old variable to the new one. I am doing this using a loop across around 50 variables.
Thanks,
NM
Related Posts with Assigning variable label when generating a new one
Is there a way to rename large number of variables with a single command? (Details)I have a ton of variables, for example, var1_m, var2_m, var3_m, etc. I want to turn them into var1_2…
grouped variablesHi I currently have a variables for income following this structure: Therefore when I run summary s…
Standard errors using Frisch-Waugh-Lovell theoremHi, I need to implement the Frisch Waugh-Lovell-theorem in Stata 15 MP (64-bit) in the context of a …
questions about model selection with lassopackDear STATA users, Sorry to ask you 3 simple questions. 1.When we used lassopack for selecting predi…
Hyperlink to the file generated/modified by putexcelThis is a very minor request/question. Several of the user-made commands I use (e.g. estout, and ieb…
Subscribe to:
Post Comments (Atom)
0 Response to Assigning variable label when generating a new one
Post a Comment