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
how to graph the confidence intervalHello! I was trying to create a hypothesis test based on this model: yi = β0 + β1xi1 + ui this mod…
Compare Calendar year data with Fiscal year dataHello everyone, For my thesis I gathered data from Compustat and Institutional Shareholders Service…
Wide to long reshape-- Is it possible to include two variables in code for "j"Dear Stata experts, Here's the sample data ID Clinical_1 Clinical_2 Clinical_3 Visit_4 Visit_5 1 0…
Loop for Blood pressure recodificationHi all, I have some data of Blood pressure in pediatric data, my task is recode Blood pressure in: …
Generating New Variable in Time Series DataHello and thank you for taking the time to help. I am working on an analysis of voter roll purges a…
Subscribe to:
Post Comments (Atom)
0 Response to Assigning variable label when generating a new one
Post a Comment