SAS_Institute
A00-280 · Question #30
Given the VITALS data set: PATID VISIT PULSE SYSBP DIABP 141 Week 1 60 118 72 141 Week 2 60 112 70 141 Week 3 66 108 72 141 Week 4 76 110 70 218 Week 1 82 130 73 218 Week 2 75 118 69 218 Week 3 91…
The correct answer is B. proc transpose data=vitals ; by patid visit ; run. See the full explanation below for the reasoning.
Question
Given the VITALS data set:
PATID VISIT PULSE SYSBP DIABP
141 Week 1 60 118 72
141 Week 2 60 112 70
141 Week 3 66 108 72
141 Week 4 76 110 70
218 Week 1 82 130 73
218 Week 2 75 118 69
218 Week 3 91 127 79
218 Week 4 71 119 76
Which program was used to transpose the data set into the following structure?
PATID VISIT NAME LABEL COL1
141 Week 1 PULSE Pulse 60
141 Week 1 SYSBP Systolic BP 118
141 Week 1 DIABP Diastolic BP 72
141 Week 2 PULSE Pulse 60
141 Week 2 SYSBP Systolic BP 112
141 Week 2 DIABP Diastolic BP 70
141 Week 3 PULSE Pulse 66
141 Week 3 SYSBP Systolic BP 108
141 Week 3 DIABP Diastolic BP 72
141 Week 4 PULSE Pulse 76
Options
- Aproc transpose data=vitals ; var pulse sysbp diabp ; run ;
- Bproc transpose data=vitals ; by patid visit ; run ;
- Cproc transpose data=vitals ; var patid visit ; run ;
- Dproc transpose data=vitals ; id patid visit ; run ;
How the community answered
(57 responses)- A9% (5)
- B74% (42)
- C14% (8)
- D4% (2)
Community Discussion
No community discussion yet for this question.