SASInstitute Clinical Trials Programming Using SAS 9.4 Sample Questions:
1. Define.xml is an XML-based submission of a clinical study's:
A) protocol
B) results
C) metadata
D) data
2. This question will ask you to provide a line of missing code.
Given the dataset RAWBP that is sorted by SUBJECT TEST WEEK:
Which statement must be added to the program to calculate relative change in percent (percent change) from baseline?
A) pct_chg = ((baseline - value) /baseline)*100;
B) pct_chg = ((baseline - value) /value)*100;
C) pct_chg = ((value - baseline) /value)*100;
D) pct_chg = ((value - baseline) /baseline)*100;
3. In PROC REPORT, which usage creates a column in the report for each distinct formatted value of the variable listed in the DEFINE statement?
A) ANALYSIS
B) DISPLAY
C) GROUP
D) ACROSS
4. Which statement correctly creates a SAS date variable from a character variable?
A) sasdate = input(chardate,date9.);
B) sasdate = 'chardate'd;
C) sasdate = put(chardate,date9.);
D) sasdate = date(chardate,date9.);
5. 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?
A) Variable FINALBP should be specified on a TWOSAMP statement instead of a VAR statement.
B) Variable FINALBP should be specified on a TEST statement instead of a VAR statement.
C) Variable TRT should be specified on a CLASS statement instead of a BY statement.
D) Variable TRT should be specified on a WEIGHT statement instead of a BY statement.
Solutions:
| Question # 1 Answer: C | Question # 2 Answer: D | Question # 3 Answer: D | Question # 4 Answer: A | Question # 5 Answer: C |
We're so confident of our products that we provide no hassle product exchange.


By Afra

