Dear All,

I need some help in analyzing my ranked variables. In my survey I asked to select the top three government measures that would be most helpful as you cope with the COVID crisis. and now I have seven variables with values 0,1,2,3 each. How can I analysis these kind of variables in STATA. Please advise. Thank you in advance


----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input byte(q41__1 q41__2 q41__3 q41__4 q41__5 q41__6 q41__96)
1 2 0 3 0 0 0
0 2 0 3 0 1 0
3 1 0 0 0 2 0
0 1 0 2 3 0 0
0 3 0 2 1 0 0
2 1 0 3 0 0 0
3 2 0 1 0 0 0
3 1 0 2 0 0 0
0 1 0 0 3 2 0
1 2 0 0 0 3 0
2 3 0 1 0 0 0
0 2 0 3 0 1 0
0 3 0 2 1 0 0
2 3 0 1 0 0 0
0 1 0 0 3 2 0
3 2 0 0 0 1 0
0 2 0 1 0 3 0
3 2 0 0 1 0 0
1 2 0 0 0 3 0
1 3 0 0 2 0 0
3 0 0 1 2 0 0
1 3 0 0 0 2 0
0 3 0 2 0 1 0
0 3 0 1 2 0 0
3 1 0 0 0 2 0
2 1 3 0 0 0 0
3 1 0 2 0 0 0
3 2 0 0 0 1 0
3 1 0 0 0 2 0
0 2 0 1 3 0 0
2 1 0 3 0 0 0
1 3 0 0 0 2 0
0 1 0 2 3 0 0
1 3 0 0 0 2 0
0 1 0 2 3 0 0
0 2 0 0 3 1 0
0 2 0 1 3 0 0
1 3 0 2 0 0 0
2 1 0 3 0 0 0
1 2 0 3 0 0 0
2 1 0 3 0 0 0
3 1 0 2 0 0 0
1 3 0 2 0 0 0
0 3 0 1 2 0 0
1 2 0 0 0 3 0
2 1 0 0 3 0 0
1 2 0 0 0 3 0
3 2 0 1 0 0 0
0 1 2 3 0 0 0
1 2 0 0 0 3 0
end
------------------ copy up to and including the previous line ------------------