

SAS Module 2
Presentation
•
Computers
•
9th - 12th Grade
•
Hard
Laura FisherJohnson
Used 1+ times
FREE Resource
6 Slides • 7 Questions
1
SAS Module 2

2
Vocabulary
Structured Data- contains defined rows and columns. Examples: SAS, Oracle, Excel and others
Unstructured Data-no columns; must be imported. Examples: text, csv, and others
SAS Table- structured data that has rows and columns
Observation: row
Variable: Column
3
Multiple Select
Which are examples of structured data?
CSV
xlsx
oracle
SAS
Text
4
Column Attributes
Each column (variable) must have a name type and length
Name: 1-32 characters, starts with letter or underscore, can contain numbers in addition, not case sensitive
Numeric Data Type: digits, minus sign (-), decimal point, scientific Notation (E). Dates are numeric data.
Character Data Type: letters, numbers, characters, special characters.
Length- Numeric is always 8 bytes (16 digits), character is 1-32,767 bytes
5
Multiple Choice
What is the maximum number of characters in a variable name?
8
16
24
32
6
Multiple Choice
What is another name for a column in sas?
heading
title
variable
observation
7
Proc Contents
Example: proc contents data = "c://file location/folder/folder/tablename.sas7.bdat"; run;
allows you to view table attributes
a listing of the descriptor portion of the table (where table is stored, when created, number of rows and columns, variable list by type and length)
Also called metadata
8
Multiple Select
What does proc contents show?
descriptor portion of the table
meta data
table attributes
none of the above
9
Multiple Select
What is listed in the descriptor portion (attributes, metadata) of a data set?
table location
how many people have accessed the table in the last 24 hours
created; last modified
number of rows and columns
variable list
10
Reading SAS files
LIBNAME [libref] [engine] [file location]; This is a global statement that does not require a run;
libref is what you choose to name the library. (8 character max, must start with underscore or character, can only contain letters, numbers, or underscores)
engine: type of data. Not really required but helpful if you are using specific file types like excel (xlsx)
file location: file path for the files being used
Libname statements are active and in effect until you delete the library refernce:
libname NameOfLibrary clear; <-- this is how you delete reference
11
Multiple Select
Which are requirements of a library name?
Must start with a character or underscore.
Must be 8 characters or less
Can only contain letters, numbers, and underscores
Must be the name of a public library in your town
12
Multiple Choice
How do you terminate a reference to a SAS library?
run;
clear;
quit;
none of the above
13
Referring to SAS Libraries
Instead of proc contents data = "c://file location/folder/folder/tablename.sas7.bdat" write proc contents data = libraryname.tablename;
SAS Module 2

Show answer
Auto Play
Slide 1 / 13
SLIDE
Similar Resources on Wayground
10 questions
Statistics
Presentation
•
9th - 12th Grade
10 questions
Graphing Linear Equations (standard form)
Presentation
•
9th - 12th Grade
12 questions
Equitable or not?
Presentation
•
9th - 12th Grade
13 questions
Ionic Versus Covalent
Presentation
•
9th - 12th Grade
11 questions
World History PDOL 3 Review
Presentation
•
9th - 12th Grade
10 questions
Strong and Weak Evidence
Presentation
•
9th - 12th Grade
10 questions
Stoichiometry Lesson
Presentation
•
9th - 12th Grade
10 questions
Lewis Dot Structure Review
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
16 questions
Grade 3 Simulation Assessment 2
Quiz
•
3rd Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2526sy
Quiz
•
5th Grade
10 questions
Cinco de Mayo Trivia Questions
Interactive video
•
3rd - 5th Grade
17 questions
HCS Grade 4 Simulation Assessment_2 2526sy
Quiz
•
4th Grade
24 questions
HCS Grade 5 Simulation Assessment_2 2526sy
Quiz
•
5th Grade
13 questions
Cinco de mayo
Interactive video
•
6th - 8th Grade
20 questions
Math Review
Quiz
•
3rd Grade
30 questions
GVMS House Trivia 2026
Quiz
•
6th - 8th Grade