I have a question about stata program and I hope you are able to help me. I
have a series of numeric variables and want to group them into 1
variable. Details of my data is
var1 var2 var3
x y z
3 variables indicates 3 code of teaching experience of teachers. Now i want to
group them into 1 variable:
new variable
var1 x
var2 y
var3 z
What command should I use to transform these variables?