Hi everyone,
I want to make a new variable (Gender Diversity Ratio). I already have a variable that has the proportion female on total (so: GDR1 = female/total). I want to remake the variable so that GDR2 = 1 when GDR1 = 0.5 (=100% diversity, because 50 male:50 female).
And for example when GDR1 = 0.8 or GDR1= 0.4 than the 0.4 will closer to GDR2 = 1 than the 0.8, because GDR1 of 40% means 40% females and 60% males which is more diverse than 80% female and 20% male.
GDR2 can not provide whether more females or more males is "better" on my dependent variable, but only whether diversity is better/worse.
Which commands do I need to use? I added a imaginary dataset in the table below, where the blank cells need to be get a value.
Thanks in advance!
Josephine
I want to make a new variable (Gender Diversity Ratio). I already have a variable that has the proportion female on total (so: GDR1 = female/total). I want to remake the variable so that GDR2 = 1 when GDR1 = 0.5 (=100% diversity, because 50 male:50 female).
And for example when GDR1 = 0.8 or GDR1= 0.4 than the 0.4 will closer to GDR2 = 1 than the 0.8, because GDR1 of 40% means 40% females and 60% males which is more diverse than 80% female and 20% male.
GDR2 can not provide whether more females or more males is "better" on my dependent variable, but only whether diversity is better/worse.
Which commands do I need to use? I added a imaginary dataset in the table below, where the blank cells need to be get a value.
GDR1 | GDR2 |
0.2 | |
0.5 | 1 |
0.6 | |
0.7 |
Thanks in advance!
Josephine
Comment