SAS_Institute
A00-280 · Question #70
Given the following data set (AE): `` subject firstdt asterm aedecod day 001 28NOV2009 NOSBLEED DIZZINESS 1 001 28NOV2009 HEADACHE 03DEC2009 11 001 28NOV2009 VOMITING 05DEC2009 18 001 28NOV2009…
The correct answer is A. if day > 14 then week = 3 ; else if day > 7 then week = 2 ; else if day > 0 then week = 1. See the full explanation below for the reasoning.
Question
Given the following data set (AE):
subject firstdt asterm aedecod day
001 28NOV2009 NOSBLEED DIZZINESS 1
001 28NOV2009 HEADACHE 03DEC2009 11
001 28NOV2009 VOMITING 05DEC2009 18
001 28NOV2009 VOMITING 15DEC2009 1
001 13JAN2010 COUGH 15JAN2010 7
002 13JAN2010 FEVER 19JAN2010 1
002 13JAN2010 MIGRAINE 23JAN2010 11
002 13JAN2010 DIZZINESS 03FEB2010 22
Data will be reported by onset week. Day 1 - 7 is Week 1, Day 8 - 14 is Week 2. Events beyond Day 14 are assigned Week 3 and will be reported as Follow-up events. Which statements properly assign WEEK to each event?Options
- Aif day > 14 then week = 3 ; else if day > 7 then week = 2 ; else if day > 0 then week = 1 ;
- Bif day > 0 then week = 1 ; else if day > 7 then week = 2 ; else if day > 14 then week = 3 ;
- Cselect; when (day > 0) week = 1 ; when (day > 7) week = 2 ; otherwise week = 3 ; end ;
- Dselect; when (day > 14) week = 3 ; when (day > 7) week = 2 ; otherwise week = 1 ; end ;
How the community answered
(50 responses)- A82% (41)
- B4% (2)
- C10% (5)
- D4% (2)
Community Discussion
No community discussion yet for this question.