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
Reducing my sampleDear all, I'm working on the following sample. Code: * Example generated by -dataex-. To install:…
Recoding a string variable into numeric (instead of destring) and subsequent mismatch of valuesI have some questions regarding an issue I have encountered when trying to change a string variable …
Interaction in Pandeldata/PanelregressionHi everyone, I have a panel data set and i run logistic regressions with it via xtlogit. I have of …
Calculating P value relating to adjusted risk ratio using cs commandHello, I am using Stata IC v12 to analyze data from a clinical trial, using the cs command to calcul…
issue after multiple imputation chained equationsdear all, i have a problem with my data after multiple imputation with chained equations. my origina…
Subscribe to:
Post Comments (Atom)
0 Response to Tabulate categories from string variable
Post a Comment