Date: Tue, 29 Jan 2008 10:18:42 -0500
Reply-To: Paul Miller <pmiller@OHTN.ON.CA>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Paul Miller <pmiller@OHTN.ON.CA>
Subject: Re: Data Step Recode: Is there a better way??
Content-Type: text/plain; charset="us-ascii"
Hello data _null_,
Yes, you are correct on both counts. Sorry for the trouble you had
determining what the output should look like. I am trying to code most
significant source of HIV exposure. The hierarchy from top to bottom is:
So, for example, if a patient has exposure via:
1) men having sex with men and intravenous drug (MSM/IDU) and
2) Immigration from an HIV endemic region (Endemic),
they will be assigned the code MSM/IDU.
Thanks for your help.
Paul J. Miller, Ph.D.
Research Scientist and Statistician
Ontario HIV Treatment Network
1300 Yonge St., Suite 308
Toronto, Ontario M4T 1X3
Phone: (416) 642-6486 ext 232
Fax: (416) 640-4245