Another small SAS Screening Problem asked at Amgen Inc
For the data below…
Dose
Patient | Dose Date |
001 | 01Jan2003 |
001 | 02Jan2003 |
002 | 15Mar2003 |
002 | 01Mar2003 |
003 | 01Apr2003 |
004 | 19Mar2003 |
AE
Patient | AE Start Date | AE Text |
001 | 31Dec2002 | Headache |
001 | 02Jan2003 | Blurry Vision |
001 | 02Jan2003 | Anxiety |
002 | 02Mar2003 | Migraine |
002 | 01Mar2003 | Constipation |
002 | 15Mar2004 | Athlete’s Foot |
003 | 02Apr2003 | Depression |
003 | 02Apr2003 | Rash |
Final
Patient | Dose Date | AE Start Date | AE Text |
001 | 01Jan2003 | 02Jan2003 | Blurry Vision |
001 | 01Jan2003 | 02Jan2003 | Anxiety |
002 | 01Mar2003 | 01Mar2003 | Constipation |
002 | 01Mar2003 | 02Mar2003 | Migraine |
003 | 01Apr2003 | 02Apr2003 | Depression |
003 | 01Apr2003 | 02Apr2003 | Rash |
Questions
- Using SAS procedures and data steps, combine the Dose and AE datasets together to get the Final dataset. The Final dataset should include adverse events that occurred on a dosing date or one day after a dosing date.
- Do the same task without using a data step.
SAS clinical Online Training BASE SAS - http://www.21cssindia.com/courses/sas-clinical-online-training-153.html
ReplyDeleteIntroduction To Sas System & Architecture - History And Various Modules - Features - Variables & Sas Syntax Rules - Sas Data Sets - Data Set Options - Operators - Multiple Observations and Multiple Datasets. - If – Then Else Statement - Where Statement - Creating & Redefining Variables - Select Statement - Infile Statement With Options - Input Styles - SAS Functions - Do Loops - Leave and Continue Statements - Output Statement & Put Statement - Stop And Error Statements - Array Statement - Modifying And Combining Data Sets - Updating Master Data Set - Key Board Macros & Add Abbreviations - Display Manager Commands - Proc Sort - Proc Print - Proc Means - Proc Freq - Proc Plot - Employees to learn at their own pace and maintain control of learning “where, when and how” with boundless access 24/7by 21st Century Software Solutions. contact@21cssindia.com