nerdexam
SAS_Institute

A00-280 · Question #10

The VISIT data set is multiple records per subject, sorted by usubjid vistdtc vistm and contains the following variables: Variable Type Len 1 VISITNUM Char 2 2 VISDT Char 19 3 VISTM Char 5 4 usubjid…

The correct answer is A. data data_1; merge death visit; by usubjid vistdtc vistm; run. See the full explanation below for the reasoning.

Question

The VISIT data set is multiple records per subject, sorted by usubjid vistdtc vistm and contains the following variables:

Variable Type Len

1 VISITNUM Char 2 2 VISDT Char 19 3 VISTM Char 5 4 usubjid Num 8 The DEATH data set is one record per subject, sorted by usubjid vistdtc vistm and contains the following variables:

Variable Type Len

1 DEREFID Char 8 2 DTHDT Char 200 3 VISTDTC Char 19 4 VISTM Char 5 5 usubjid Num 8 Which program will combine the DEATH and VISIT data sets by matching records?

Options

  • Adata data_1; merge death visit; by usubjid vistdtc vistm; run;
  • Bdata data_1; merge death visit; run;
  • Cdata data_1; set death visit; by usubjid vistdtc vistm; run;
  • Ddata data_1; merge death visit; by usubjid vistdtc; run;

How the community answered

(31 responses)
  • A
    71% (22)
  • B
    16% (5)
  • C
    3% (1)
  • D
    10% (3)

Community Discussion

No community discussion yet for this question.

Full A00-280 Practice