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
clustered standard errors or just robust? panel dataHi there, I have to use an event study methodology to estimate the impact of the event (child birth…
esttab output format for mixed interaction modelsDear Statalist, I need output the mixed interaction effects using esttab. However, I have two model…
Standardized beta estimates for interaction terms in mixed effect modelsDear Statalist, I am using mixed-effects to run the below model, but wondering how to get the stand…
Comparing two coefficients in GMMDear Stata users, I am using the Difference and System GMM approach for estimation and I want to co…
Interrupted time series - negative "constant"I'm trying to run a Interrupted time series analysis for single group using the "ITSA" package Code…
Subscribe to:
Post Comments (Atom)
0 Response to Labelling variable based on existing label of another variable
Post a Comment