Dear all,
I have three variables m1, m2 and m3 equal to 11 71 999 respectively. I would like to create a new variable, m4, equal to the "combination" of the three. In essence, m4 = 1171999. I need to do this for thousands of occurrences and have not been able to generate a suitable code for this. Does anyone know how to do this? I am new to Stata so apologies if this is a simple question.
Thank you in advance
All the best,
Enrique
I have three variables m1, m2 and m3 equal to 11 71 999 respectively. I would like to create a new variable, m4, equal to the "combination" of the three. In essence, m4 = 1171999. I need to do this for thousands of occurrences and have not been able to generate a suitable code for this. Does anyone know how to do this? I am new to Stata so apologies if this is a simple question.
Thank you in advance
All the best,
Enrique

Comment