I have two numeric variables, AR and SR that I want to assign a "type" to. When I write the following statement: if AR > 0 then type='2'; if SR > 0 then type= '1'; Note: all AR and SR values are greater than 0. I receive an error regarding the "then" statement; if I remove it, I receive another error. I am trying to create a categorical value that I can use in a class statement for analysis. Can anyone help? thanks, Maureen
... View more