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
Related Posts with Creating ratio variable from two independent variables for panel data
Post-hoc multiple comparison test with adjustment after Friedman's testHi all, Does anyone know if STATA has any post-hoc test available after Friedman's test, to get the…
clttest gives me different results every time I run itHi, I am running something like clttest truth, cluster(userid) by(envyfree) and every time I run t…
Problem with year dummy variable - Hausman and GMM modelsDear Statalisters, I am trying to run a couple of models using the Hausman test and GMM model. In …
Ordered Probit and EndogeneityHi all, I've tried to read through the forum to see if there were any similar posts, so I apologise …
Importing data conditional on somethingHi everyone! I am facing the following problem: I want to import an excel that is created by anothe…
Subscribe to:
Post Comments (Atom)
0 Response to Creating ratio variable from two independent variables for panel data
Post a Comment