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
Merging annual data with quarterly dataHey everybody, I am having trouble with merging two of my data sets for the past 2 days. I have trie…
Understanding xtabond2 and ixtivreg2Hello, Another question from my side, this time pertaining to GMM models. I am looking at the code …
Merging one file with every other file in folderHello, I am trying to merge one file in a folder with every other file in it by looping through eve…
Testing text on local macro dereferenceBecause the Stata User's Guide PDF is printed in a typeface that does not display punctuation identi…
testing coefficients within groups after a PSM diff-in-diffI'm using Stata 14 with Windows 10 OS. I'm running PSM diff-in-diff using command diff. I'd like to…
Subscribe to:
Post Comments (Atom)
0 Response to Creating ratio variable from two independent variables for panel data
Post a Comment