Hello,
I was wondering if there is a command that enables you to label a variable based on an existing variable label
e.g.
I have a variable X and I use the command:
label variable x "apples"
Now I want to run a loop generating variables from x, but I want to include in that loop to label them as "apples" or whatever the existing label for variable x is.
TIA!
Cheers,
Jess
Related Posts with Labelling variable based on existing label of another variable
Rename variables with labels when labels are multiple words?Background/big problem I have about 60 large data sets, each a different round of a repeated survey…
Related to control variables choice in cross-sectional Difference in Differences regressionDear all, I am investigating the effect of the X policy passed in 2005 on women's employment outcome…
Order coefficients in bycoefs coefplotHello, I have created this coefplot with the "bycoefs" option. I am happy with it, but I would like…
mlogit alternativesDear Statalists, I have 4 alternatives ( let's say A B C and D ). I thought earlier a multinomial l…
Sample weights to twoway line graphDear all, I am trying to plot net transfers by groups in € (y-axis) against age (x-axis) in one gra…
Subscribe to:
Post Comments (Atom)
0 Response to Labelling variable based on existing label of another variable
Post a Comment