nerdexam
SAS_Institute

A00-280 · Question #95

Given the data set HE: USUBJID HETERM HESEQ HEDUR 201027 HOSPITALIZATION 2 50 201027 HOSPITALIZATION 3 201027 HOSPITALIZATION 4 10 201046 HOSPITALIZATION 1 5 201046 HOSPITALIZATION 2 9 The following…

The correct answer is D. 5, 9. See the full explanation below for the reasoning.

Question

Given the data set HE: USUBJID HETERM HESEQ HEDUR 201027 HOSPITALIZATION 2 50 201027 HOSPITALIZATION 3 201027 HOSPITALIZATION 4 10 201046 HOSPITALIZATION 1 5 201046 HOSPITALIZATION 2 9 The following SAS program is submitted: data hosp; retain hospdurd; set HE; by usubjid; if first.usubjid then hospdurd=0; hospdurd = hospdurd + hedur; if last.usubjid; run; What will the values be of variable HOSPURDURD for the two subjects?

Options

  • A5, missing
  • Bmissing, missing
  • C65, 9
  • D5, 9

How the community answered

(61 responses)
  • A
    8% (5)
  • B
    3% (2)
  • C
    13% (8)
  • D
    75% (46)

Community Discussion

No community discussion yet for this question.

Full A00-280 Practice