Hi all.
I am using educational attainment data and I have data on female tertiary enrolment(%), male tertiary enrolment(%) and overall tertiary enrolment(%). I want to create a ratio variable of female and male tertiary enrolment rate. How will I generate this tertiary enrolment ratio variable as both independent variables male and female enrolment contains 0 values as well in some cases. I tried to generate the variable in a simple way which is
gen tertiary ratio = female enrolment/male enrolment. But I don't know whether its a correct way. Help is required.
ThankYou