What software are you using?
Paul R. Swank, Ph.D.
Professor
Developmental Pediatrics
UT Houston Health Science Center
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Riddler
Sent: Tuesday, September 11, 2001 6:31 AM
To: [EMAIL PROTECTED]
Subject: Recoding Binary variables in STATA
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/
=================================================================
=================================================================
Instructions for joining and leaving this list and remarks about
the problem of INAPPROPRIATE MESSAGES are available at
http://jse.stat.ncsu.edu/
=================================================================