Hello,
I am looking to identify those who fall between an age range and am having some difficulty with my command. I want to generate a mark for those who fall between ages 5-14. I tried the following to no avail.
gen mark5to14 = 1 if Age == 5/14
What am I doing wrong? Any help is appreciated.
Thanks!
I am looking to identify those who fall between an age range and am having some difficulty with my command. I want to generate a mark for those who fall between ages 5-14. I tried the following to no avail.
gen mark5to14 = 1 if Age == 5/14
What am I doing wrong? Any help is appreciated.
Thanks!
Comment