Will this be right if I create a new variable say games to have values of 1 from each variable


Variables
mj takes on values of 1 for participation in this game and 0 for not participating

me takes on values of 1 for participation in this game and 0 for not participating

op
takes on values of 1 for participation in this game and 0 for not participating

any
takes on values of 1 for participation in this game and 0 for not participating




Code:

gen games =0

Code:

replace games=1 if mj==1| me==1 |op==1 |any==1