id | name |
1 | Aaron, Sarah, Paul, Kim, Ted |
2 | Sarah, Aaron, Kim |
3 | Aaron, Kim, Paul |
4 | Aaron, Ted |
Is there a way to count and tabulate frequency across several tabs (if possible show only top 2)? Otherwise, any other approach that could get me to the result I need would be greatly appreciated.
Also to note: I looked up the tabsplit command but it doesn't seem to work on Stata 13 so not sure if that would have been helpful. Not possible for me to update to higher versions of Stata as of now.
Thank you!!
0 Response to Counting the occurrence of a substring
Post a Comment