Hi,
I have a large data set and I am trying to recode one of my indicator variables which currently uses "Y" and I want to change all the "Y"s to equal 1
The variable currently looks like this:
I have tried using the recode command
but I receive this error:
Is there a way to do this?
I have a large data set and I am trying to recode one of my indicator variables which currently uses "Y" and I want to change all the "Y"s to equal 1
The variable currently looks like this:
Code:
residential Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y
Code:
recode residential ("Y" = 1)
Code:
unknown el Y in rule r(198); end of do-file
Comment