I have a variable that lists multiple categories, separated by a comma. I would like to create a list of the existing categories across all observations within the variable:
institution
a,b,c
b,e,f
a,c,e,f
a,d
b
institutions in dataset:
a,b,c,d,e,f
Thanks!
Related Posts with Tabulate categories from string variable
BGV (Between Group Variance)Dear Statalist, I would like to measure inequity through BGV (Between Group Variance) for non-order…
How to check whether an small id (eg: employee_id) appears in two or more different big ids (eg: office_id)?I have a dataset of offices and employee sales within that office. An employee shouldn't appear in 2…
Clustered bar graph with multiple categorical variablesHello, I am hoping to create a clustered bar graph to compare satisfaction with information receive…
Event study graph using command eventddHi, I am doing a event study in stata using the eventdd command. Is it possible to move the solid v…
table and tables builder - mlogitHi y'all. I am running mlogit models using the rrr option. When I use table to run the command (belo…
Subscribe to:
Post Comments (Atom)
0 Response to Tabulate categories from string variable
Post a Comment