Hello. It's probably an easy question but I searched a lot and found nothing.


I have a data set and there is a variable indicting whether the observation is male or female( 1 for male, 2 for female). I want to make a table in which there is male to female ratio ( not male to total population ratio which tab command gives)

Thanks a lot