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?
Reverse CommandI am trying to reverse the order of some categorical variables in my dataset. There was previously a…
Westerlund ECM panel cointegrationGood morning, I would like to apply a Westerlund and Edgerton (2007) panel bootstrap cointegration t…
Selecting values from panel dataI have data on visits to a clinic. In the example below, "value date" is the date of the clinic visi…
Should we test anticipation effect for Diff-in-Diff in natural event?Normally, the anticipation effect is tested as an assumption for Diff-in-Diff. However, it seems tha…
combining dates in 2 different columnsDear Stata forum members, I need advise on how to combine dates in 2 different columns in to one co…
Subscribe to:
Post Comments (Atom)
0 Response to How to list all unique values in the variable?
Post a Comment