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
Differences between dates using panel dataHi there, I'm working with some panel data, whereby for each subject I have multiple events (lab te…
Ranking the most important predictor variables from a series of regression models.Hi, I came across an interesting study that did the following: 'number of births in the last 5 yea…
Seasonality in annual data? Problem or not?Hello, I have a panel data at an annual frequency. When I use the xtline command to get the linear p…
reshape or transpose?Dear All, I was asked this question here (https://bbs.pinggu.org/forum.php?mod...a=#pid74912031). Th…
using forvalues loop and postfile commandDear statalist i have a sample of only 3 observation, i having problem calculating outer product of …
Subscribe to:
Post Comments (Atom)
0 Response to Exporting variable values rather than labels
Post a Comment