Displaying 1 result from an estimated 1 matches for "female1995".
Did you mean:
female1990
2011 Jul 17
1
create multiple variables loop
Hello all,
I am trying to figure out how to construct several new variables without
having to write a code for each one. Specifically, I want to calculate
ratios for several variables. For instance, let's say I have:
df
male1990 male1995 male2000 male2005 female1990 female1995 female2000
female2005
10 11 15 17 15
14 17 20
23 22 25 28 25
22 27 30
32 33 37 36...