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 pro
Sign in or unlock A00-280 to reveal the answer and full explanation for question #79. The question stem and answer options stay visible for context.
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;
Unlock A00-280 to see the answer
You've previewed enough free A00-280 questions. Unlock A00-280 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#BY group processing#FIRST. LAST. variables#DATA step#duplicate records