nerdexam
SAS_Institute

A00-280 · Question #79

The following question will ask you to provide a line of missing code. The following program is submitted to output observations from data set ONE that have more than one record per patient. ``sas…

See the full explanation below for the reasoning.

Manage SAS Content and Data

Question

The following question will ask you to provide a line of missing code. The following program is submitted to output observations from data set ONE that have more than one record per patient.
proc sort data=one out=two;
 by subjid;
run;

data two;
 set two;
 /* insert code here */
 if (first.subjid ne 1 or last.subjid ne 1) then output ;
run;

Topics

#BY group processing#FIRST. LAST. variables#DATA step#duplicate records

Community Discussion

No community discussion yet for this question.

Full A00-280 Practice