Hello
I intend to use a dataset multiple times. After encoding all my string variables, I exported my dataset in excel. I have labes in my dataset instead of values i.e males and females rather than 0 and 1.
The problem with this is that each time I use this dataset, I have to encode all the variables again. But if I keep only values, I lose the labels attached to it.
What would be the appropriate way to be able to preserve both values and labels?
I am naive to Stata, any help would be highly appreciated.
Thank you
Related Posts with Exporting variable values rather than labels
How to skip the r(2000) error and continue with code in StataDear all, My search on this topic has not been satisfactory: https://www.statalist.org/forums/for…
command running is unrecognizedI'm have Version 15.1 I'm trying out some code from Flexible Parametric Survival Analysis Using Stat…
How to calculate the number of portfolio firms that held onto a stock by stock and quarter?Dear all, Currently I have a database of funds holdings of a particular stock with the time series …
Logistic regression diagnosticsHey everyone, I am currently running a logistic regression with several independent variables. As …
Is it possible to combine twoway binscatter?Is it possible to superimpose binscatter plot? I would usually do this with scatter in the followin…
Subscribe to:
Post Comments (Atom)
0 Response to Exporting variable values rather than labels
Post a Comment