Hello everyone,
I have a small question of data management, impossible to find the answer in "Data Management Using Stata - a practical handbook" of Michael N. Mitchell. I would like to concatenate several variables but concatenating the distinct values.
For example :
I want to create a variable Var5 which is worth "A,B" and not "A,A,B,B".
Can someone have an idea?
Thank you in advance !
Joséphine
I have a small question of data management, impossible to find the answer in "Data Management Using Stata - a practical handbook" of Michael N. Mitchell. I would like to concatenate several variables but concatenating the distinct values.
For example :
Var1 | Var2 | Var3 | Var4 |
A | A | B | B |
Can someone have an idea?
Thank you in advance !
Joséphine
Comment