I have the dataset like this:
ID Course
1 MS Word
1 MS Excel
2 Windows
2 DOS
I want to change it as following:
ID Course
1 MS Word, MS Excel
2 Windows, DOS
Related Posts with how can concat observation data by ID
Two way or one way fixed effect ??Hi, test to choose between model two way fixed effec or fixed effect ordinary ? i use STATA 14 …
Creating categories within a nominal variableHello! I am conducting an honors thesis in sociology and need help with creating categories within …
Reshape from wide to longHi everyone, I get data from Datastream and there are some firms having no data, i.e. price_14 "$$…
Working with multiple if conditionsDear Statalist, I am browsing a dataset with multiple if conditions. Is it possible to identify the…
Gen a variable in a loop: error "variable already defined"Hello everyone. I am trying to run this loop. I need to get two subsamples of frequent and occasion…
Subscribe to:
Post Comments (Atom)
0 Response to how can concat observation data by ID
Post a Comment