Code:
egen GENDER3=concat(v_q1 c_q1), decode p(" ")
. tab GENDER3
GENDER3 | Freq. Percent Cum.
------------+-----------------------------------
. Female | 76 9.45 9.45
. Male | 326 40.55 50.00
Female . | 2 0.25 50.25
Male . | 400 49.75 100.00
------------+-----------------------------------
Total | 804 100.00
0 Response to Merging two variables with labels
Post a Comment