
SAS PG2 - Data Transformation
Authored by Yunli Lee
Computers
University
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function can be used to replace text?
TRIM
INDEX
TRANWRD
PROPCASE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid function for finding the average of X1, X2, and X3?
AVERAGE(X1,X2,X3)
MEAN(X1,X2,X3)
AVG(X1,X2,X3)
MU(X1,X2,X3)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will SAS return for the value of X?
X = MIN(SUM(1,2,3),56/8,N(8));
1
6
8
.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the value of Quarter in the following statement?
Quarter = QTR(MDY(04,05,2063));
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of DATA step statement can be used to initialize a variable to a specified value?
sum
RETAIN
Both of the above
Neither of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is considered a sum statement in the DATA step?
X = A + B;
X = SUM(A,B);
A + B;
All of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which WHERE statement using a mnemonic operator is equivalent to the following WHERE statement using a symbolic operator?
WHERE Temp ~= . ;
WHERE Temp IS NOT MISSING ;
WHERE Temp CONTAINS . ;
WHERE Temp IN (.) ;
All of the above
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?