Hello,
I see 'unique' or 'distinct' commands will show the total number of unique values in the variable, but they don't actually list each of the unique values.
I'd like to see all unique characteristics from the particular variable (type: string), excluding all duplicated one. Is there a command for this?
Thank you!
Related Posts with How to list all unique values in the variable?
Marginal Effects of a menbreg with logarithmic offset termHello Stata users! I am trying to running a model with county-level data where the outcome is numbe…
Questions about contour plotsI have three problems when plotting a contour graph in Stata 16.0 for Windows (revision 02 Jul 2019)…
STATA Boot Camp?Hello Statalist, I was wondering if anyone knew of any stata boot camps where one could immerse the…
What model best suitable for data with dependent variable being a proportion with values from 0 to 1, both inclusive?Dear All, I have two questions on what models and Stata commands to use regarding the following two…
create new value based on variable nameHi all, I have a dataset with variable names from taxdebt_20120101 to taxdebt_20131231 with the las…
Subscribe to:
Post Comments (Atom)
0 Response to How to list all unique values in the variable?
Post a Comment