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
sample used by teffects matching estimatorsDoes the teffects suite of commands include a command showing how many records at each treatment lev…
Not getting a collinearity errorI apologize if this is a simple question. I have created dummy variables for highest degree earned. …
number of records teffects matching estimators use to estimate effectsHow can I identify the number of records at each treatment level the teffects matching estimators us…
Using coefplot to plot the effect of categorical variable with interactionDear Statalist users, I wondered if you could help me with this issue in particular. I am running …
Sorting string variable fromDear All, I'm having hassle sorting a string variable. Even after using the Code: sort code, the en…
Subscribe to:
Post Comments (Atom)
0 Response to List unique values by group
Post a Comment