Date: Tue, 15 Dec 2009 06:38:39 -0500
Reply-To: Shaik Hymad <hymadsk@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Shaik Hymad <hymadsk@GMAIL.COM>
Subject: how to solve this senario-time formats
Content-Type: text/plain; charset=ISO-8859-1
Hi To All,
I have a datalike
PATID DOSEQ LDOSE RDOSE
01S0001 1 09:21 08:52
01S0001 2 11:14 11:15
01S0001 3 14:21 14:33
01S0001 1 08:37 08:38
01S0001 2 11:08 11:10
01S0001 3 14:01 14:03
01S0001 1 08:34 08:36
01S0001 2 11:09 11:11
01S0001 3 14:19 14:21
01S0001 1 08:40 08:42
01S0001 2 11:17 11:39
01S0001 3 14:18 14:20
I want output like
Subjects in whom the dosing regimen was not adhered to
if doseq=1 then 09:00 ± 30 mins,
if doseq=2 then 11:30 ± 30 mins,
if doseq=3 then 14:30 ± 30 mins
can you please check and let me know,how to solve this above condition in
time formats
Thanks,
Hymad
|