Would like to know a quick way of changing many dichotomous variables
coded as:

1=Yes
2=No
9=Missing

into

1=Yes
0=No
.=Missing

I found the way to replace '9' with '.' for a list of variables
(mvdecode), however, I haven't found how recode the other values to 0
and 1, other than doing a 'replace' statment for each variable.

Is there anyway of recoding multiple variables at once?

Mark Riddle, MD, MPH&TM


=================================================================
Instructions for joining and leaving this list and remarks about
the problem of INAPPROPRIATE MESSAGES are available at
                  http://jse.stat.ncsu.edu/
=================================================================

Reply via email to