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
Generating confidence intervals using a line graphI have run a difference-in-difference regression and want to make a line graph to illustrate my resu…
Help to generate a new variable using 2 existing variablesHi all First, let me say I am a 4th-year psychology student doing her Honours thesis, I am NOT a st…
Generate binary variable from string variable contentsIs there a way to generate a variable based on a string variable that contains numbers in a list? Fo…
How to display a descriptive table for all items of an item set, presenting percentages for each response category?Dear all, I am stuck at a problem, although the solution should be straightforward. I have several…
Looping year codesHi all, I'm currently having the same codes for multiple years (2000-2007), and I was wondering if t…
Subscribe to:
Post Comments (Atom)
0 Response to Tabulate categories from string variable
Post a Comment