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
Just trying to compute least square means for a repeated measures ANOVA!I can't get adjusted means for both treatment conditions (drug and placebo) across three time points…
Twoway graph X axisHi all, Would anyone know whether there is a similar over () function such as with the graph bar (a…
Cross sectional regression by year and sized-based peer groupsFirstly, Happy Holidays to everyone Now my problem. I need to run a cross-sectional regression by …
why the bias corredted confidence interval is missing?Hi all, why the confidence interval after bootstraping is missing? Code: * Example generated by -…
Specifying IV with panel data, binary treatment and binary/count outcomeDear all Statalisters I am working on an application of an instrumental variable (IV) approach to a…
Subscribe to:
Post Comments (Atom)
0 Response to uselabel: how to also export values without a label
Post a Comment