Hi everyone,

Is there anybody known how to combine those variables that have totally the same values but different variable names into one ? Like below

Best regards
Chang

-----------------------
Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input float(__a_br_new1111 __a_br_new1211 __a_br_new1311 __a_br_new1411 __a_br_new2111 __a_br_new2211 __a_br_new2311 __a_br_new2411 __a_br_new3111 __a_br_new3211)
1 1 1 1 1 1 1 1 1 1
0 1 1 1 1 1 1 1 1 1
0 0 1 1 1 1 1 1 1 1
0 0 0 1 0 0 0 1 0 0
end
------------------