SASInstitute Clinical Trials Programming Using SAS 9.4 - A00-282 Exam Practice Test
The print below shows the first four observations from the TEST2 dataset.
Variable names are given in the first row.

The statistical analysis plan (SAP) requests that a two sample t-test be performed to compare the mean of variable FINALBP for levels of the variable TRT.
You review the following code from a colleague:
proc ttest data=test2;
by trt;
var finalbp;
run;
This code does not produce the analysis requested by the SAP.
What is wrong with this code?
Variable names are given in the first row.

The statistical analysis plan (SAP) requests that a two sample t-test be performed to compare the mean of variable FINALBP for levels of the variable TRT.
You review the following code from a colleague:
proc ttest data=test2;
by trt;
var finalbp;
run;
This code does not produce the analysis requested by the SAP.
What is wrong with this code?
Correct Answer: C
Vote an answer
The following SAS program is submitted:

You want to store all calculated means and standard deviations in one SAS data set.
Which statement must be added to the program?

You want to store all calculated means and standard deviations in one SAS data set.
Which statement must be added to the program?
Correct Answer: D
Vote an answer
What is an international ethical and scientific quality standard for designing, conducting, recording and reporting trials that involve the participation of human subjects
Correct Answer: A
Vote an answer
This question will ask you to provide a line of missing code. Given the data set RAWBP that is sorted by SUBJECT TEST WEEK:

The following SAS program is submitted:
data bp;
set rawbp;
by subject test week;
retain baseline;
if first.test then baseline = .;
if week = 0 then baseline = value;
else if week > 0 then do;
<insert code here>
end;
run;
Which statement must be added to the program to calculate percent change from baseline?

The following SAS program is submitted:
data bp;
set rawbp;
by subject test week;
retain baseline;
if first.test then baseline = .;
if week = 0 then baseline = value;
else if week > 0 then do;
<insert code here>
end;
run;
Which statement must be added to the program to calculate percent change from baseline?
Correct Answer: A
Vote an answer
You are working with the VS data set that contains the variable Pulse.

Which PROC SGPLOT step will produce the graph shown below?

Which PROC SGPLOT step will produce the graph shown below?
Correct Answer: D
Vote an answer
The first six (6) records from the LABS data set are shown below:

The following SAS program is written to reshape this data set and place it in a new data set named LBTR.
proc transpose data=labs out=lbtr(rename = (col1 = value));
by subjid sampldat;
var Calcium Glucose Hemoglobin;
run;
Which of the following DATA steps produces a data set that is equivalent to the LBTR data set created by the PROC TRANSPOSE step above?

The following SAS program is written to reshape this data set and place it in a new data set named LBTR.
proc transpose data=labs out=lbtr(rename = (col1 = value));
by subjid sampldat;
var Calcium Glucose Hemoglobin;
run;
Which of the following DATA steps produces a data set that is equivalent to the LBTR data set created by the PROC TRANSPOSE step above?
Correct Answer: C
Vote an answer
Review the following procedure format:

What is the required type of data for the variable in this procedure?

What is the required type of data for the variable in this procedure?
Correct Answer: B
Vote an answer
A dataset contains systolic blood pressure values stored in the variable SYSBP.
Which program displays the median systolic blood pressure over all participants?
Which program displays the median systolic blood pressure over all participants?
Correct Answer: B
Vote an answer