Lesson learned, always save syntax!!!
I have a variable that has negative values. I want to code them as missing.
I went to transform new variable.
lowest through highest 0 and then coded it as 1.
Then I assigned all other cases as sysmis.
I'm pretty sure I need to do a select if case... but I can't remember how to do this correctly.
Logically it should be something like:
if variable < or equal to 0 variable= missing.
if variable > or greater to 0 variable =1.
Thanks for any help!





Reply With Quote

