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
Replace a value of multiple observations for one variableDear all, I have a variable name "village", and wanted to replace the name of village in observation…
How to know the impacts of other variables on the DID estimate?I have searched around but didn't have any luck. I am trying to estimate and then compare the DID es…
Estimating slope at different points of intervalGood morning, I allow myself to ask for help once again with some methodology. I am doing research t…
Sorting issue when sort is expanded by a variableHello, I have an issue running the following command Code: sort id _mi_m survey expectation gift…
lowess with confidence intervalsDear Stata users, I am wondering is it possible to graph the lowess smoothing function with confide…
Subscribe to:
Post Comments (Atom)
0 Response to Labelling variable based on existing label of another variable
Post a Comment