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
posterior means for crossed random effects from logistic random intercept modeldear statalist members, I am trying to estimate the posterior means of two crossed random effects f…
Multilevel ModelsHi; I am runing runing linear model with four levels. I have not been able to find out what the mean…
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…
Identifying the newly employed receptionist and the waitresses who joined the enterprise after the new receptionist assumed officeHi, I have the follwoing sample: Code: ssc install dataex clear input int year str6 staff_id str5 h…
Creating Lagged variables with repeated valuesDear all, I wanted help in creating lagged variables when there are repeated values in the dataset.…
Subscribe to:
Post Comments (Atom)
0 Response to uselabel: how to also export values without a label
Post a Comment