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.
In the space below, enter the line of code that will correctly complete the program (Case is ignored. Do not add leading or trailing spaces to your answer.).
The following question will ask you to provide a line of missing code. Given the following data set work.vs:
The following SAS program is submitted to create a new data set that carries forward the previous value of sbp when the value is missing.
In the space below, enter the line of code that completes the program (Case is ignored. Do not add leading or trailing spaces to your answer.).
Review the following procedure format:
What is the required type of data for the variable in this procedure?
A. Character
B. Continuous
C. Categorical
D. Treatment
Which option for PROC COMPARE will list all observations and variables found in only one of the two data sets being compared?
A. LISTALL
B. OUTALL
C. ALLOBS
D. OUTDIFF
Given the following data set DEMOG:
Which selection below would be considered hard-coding?
A. if sexcd eq 1 then sex = "Male" ; else if sexcd eq 2 then sex = "Female" ;
B. if site eq 1 then sexcd = 2 ; else if site eq 2 then sexcd = 1 ;
C. if site eq 1 and sexcd ne 2 then check = 1 ; else if site eq 2 and sexcd ne 1 then check = 2 ;
D. birthdt = input(dob, mmddyy10.) ;
This question will ask you to provide a section of missing code.
Given the input SAS data set LABRAW:
Which DO LOOP will create the output SAS data set WORK.LAB_NEW?
A. do i=1 to 2; visit=i; date=dat{i}; result=num{i}; output; end;
B. do i=1 to 2; visit=i; date=dat{i}; result=num{i}; end; output;
C. do i=1 to 2; do j=1 to 2; visit=i; date=dat{j}; result=num{j}; output; end;
D. do i=1 to 2; do j=1 to 2; visit=i; date=dat{j}; result=num{j}; end; output; end;
The following SAS program is submitted:
%let Av=age;
%macro LABD(Av=weight);
%let Av=gend; %mend;
%LABD(Av=height)
%put Av is andAv;
What will be written to the SAS log?
A. Av is weight
B. Av is gend
C. Av is height
D. Av is age
Which LIBNAME statement is valid?
A. libname "c:\sas\labdata\";
B. libname mysasdata "c:\sas\labdata\";
C. libname work "c:\sas\labdata\";
D. libname sasdata "c:\sas\labdata\";
The following SAS program is submitted: data WORK.ALL;
How will the data sets ONE and TWO be combined?
A. updated
B. one-one merged
C. match merged
D. concatenated
The data set CM has eight variables including CMTRT and is sorted by STUDYID USUBJID CMSEQ.
DATA_BB is created by selecting records from CM where the character string "BLOCKER" is included in CMTRT.
Which program was used to produce WORK.DATA_BB?
A. proc sort data=cm out=data_bb (keep=usubjid cmstdtc cmtrt); by usubjid CMSTDTC; where cmtrt in('BLOCKER'); run;
B. proc sort data=CM (keep=usubjid cmstdtc cmtrt) out=data_bb; by usubjid CMSTDTC; where cmtrt contains 'BLOCKER'; run;
C. data data_bb; set cm (where=(find(cmtrt,'BLOCKER','i')>0)); by usubjid CMSTDTC; run;
D. data data_bb; set cm (keep=usubjid cmstdtc cmtrt); by usubjid CMSTDTC; where cmtrt in('BLOCKER'); run;
Given the following two data sets EX and AE:
Which output data set is produced by the submitted SAS program?
A. Option A
B. Option B
C. Option C
D. Option D
A subject reports a medication started in March of 2007 but cannot recall the day number. What is the value stored in the SDTM domain CM.CMSTDTC variable?
A. 00MAR2007
B. 2007 03
C. MAR2007
D. 2007-03
The purpose of the ADaM model is to provide a framework that:
A. enables the tabulation of the raw source data
B. enables the creation of study patient profiles
C. enables the statistical analysis of the data
D. can be used to generate the CDISC ODM
A Statistical Analysis Plan (SAP) defines the selection process for baseline records. This instructs the programmer to choose the last non-missing analyte value prior to first study drug administration (date/time).
The DEMO data set contains the date/time of first study drug administration for subject:
What will be the resulting baseline values, as selected per the SAP instructions?
A. Option A
B. Option B
C. Option C
D. Option D
A Statistical Analysis Plan describes a clinical trial as "A 12 week, double-blind, placebo- controlled, randomized, multi-center study." Double-blind refers to which groups in this study?
A. treatment and control group
B. investigator and subjects
C. statistician and sponsor
D. sponsor and investigator