Hellow there,
Can you help me how I can list only unique values by group? Example I have 100 observations with two variables gender (M, F) and location (A, B,C). In the stata result window, I want to see only unique values by gender and location that is
M A
M B
M C
F A
F B
F C
Related Posts with List unique values by group
Calculate the difference of the value of one observation with the average value for observations in other groupsHi everyone, I have a question of how to use stata to calculate the difference of the value of one …
Wrapping up twoway plots using loopHi, Using the codes below, I could nicely plot my data and retain my plots of interest using gr comb…
Issues with loop used to drop observationsHello, everyone, The data that I'm using has been delivered to us with duplicated patient IDs. Thes…
Summing dollar amount for each unique id for each yearstr50 year str27 state str29 district long regno str110 donortype str109 double amount "2009-2010" "…
The workflow of data cleanHi! Does anyone know how to make the data cleanning process automazation? Any time I got some new or…
Subscribe to:
Post Comments (Atom)
0 Response to List unique values by group
Post a Comment