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
Pseudo R2 for logit and mlogit in multiple imputationHello, I am using multiple imputation and survey data with a logit model and would like to calculat…
Geocoding adviceDear STATA Community, I need some advice on geocoding: My sample has more than a million observati…
-aweight- if only dependent variable represents an average/medianHi everyone, my data contains information of approx. 500 firms over a 7-year-period (quarterly obse…
Mediation Analysis using medsensHi everyone, I am currently doing an mediation analysis using medsens. I think it is a user-written…
RD Plot with Evenly Spaced binsHi all, I am trying to run RDplot while choosing my number of evenly spaced bins. If I want to have …
Subscribe to:
Post Comments (Atom)
0 Response to Tabulate categories from string variable
Post a Comment