Lot2Learn
Oct 29, 2009, 01:42 AM
I want to create a variable with a specific range. For instance, this is the command I used:
.gen Rel = 0
.replace Rel = 5 if rel_pref > 2 & < 9
I received an error message that said < 9 was invalid. But there is a value 9. So is there something wrong with the command?
.gen Rel = 0
.replace Rel = 5 if rel_pref > 2 & < 9
I received an error message that said < 9 was invalid. But there is a value 9. So is there something wrong with the command?