2=female, 1=male. q1, q2, q3 are variables.
I want to know what is the ratio between male and female. For example: the ratio of the first is 2/3=0.66. The same answer for the second.
About the third, i need to divide in 2 because -99
is missing value and the answer should be 1/2=0.5. how can i do it?
q1 q2 q3
2.00 1.00 1.00
2.00 1.00 1.00
2.00 1.00 -99.00