SAS Tests
SAS Tests
Identify which of the following variable names are valid SAS names:
Height
HeightInCentimeters
Height_in_centimeters
Wt-Kg
x123y456
76Trombones
MiXeDCasE
2. In the following list, classify each data set name as valid or invalid:
Clinic
clinic
work
hyphens-in-the-name
123GO
Demographics_2006
3. You have a data set consisting of Student_ID, English, History, Math, and Science_Scores on
10 students.
a) The number of variables is ____5______
b) The number of observations is ___10_______
4. True or false:
a) You can place more than one SAS statement on a single line.
b) You can use several lines for a single SAS statement.
c) SAS has three data types: character, numeric, and integer.
d) OPTIONS and TITLE statements are considered global statements.
5. What is the default storage length for SAS numeric variables (in bytes)?
8
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
3.10
3.11