Hi Statalist,
I was trying to output a file which showcase all values (regardless of whether that value has a label) of a variable.
Here are the codes I used:
use data, clear
uselabel, clear
save label, replace
however, this output only shows the values that have labels. There are some numeric variables in my data, for example: variable urban, it could have the following values
values label
1 urban
2 rural
99 (NO LABEL)
I wonder how could I also output the value "99"? Any suggestions are much appreciated!
Thank you in advance!
Related Posts with uselabel: how to also export values without a label
Help in GMM estimatorHi everyone, I'm working on the relationship between market power and income diversity in banking, a…
Copying values within a clusterHello statalist, I want to copy values within a cluster as below. ID Var1 Var2 Var3 123 1 ... …
From yearly to quarterly dataHello to all! I am new to this Forum, please apologies if I am not using it right. I have a question…
Good sources for learning about Stata macros?Do y'all have recommendations on the best place to point students who have rudimentary Stata familia…
Dropping dupicatesHi Statlist, I have the following dataset: Code: * Example generated by -dataex-. To install: ss…
Subscribe to:
Post Comments (Atom)
0 Response to uselabel: how to also export values without a label
Post a Comment