and CORRECT Answers
SAS Library - CORRECT ANSWER✔✔- -a collection of SAS files
-highest level of organization for information within SAS
-only the files that have SAS file extensions
are recognized as part of the SAS library.
Work Library - CORRECT ANSWER✔✔- a temporary library for files that do not need to
be saved from session to session.
all of its files are deleted when you end the session
Define library - CORRECT ANSWER✔✔- libname clinic 'c:\Users\Name\sasuser';
one-level name (the filename only) - CORRECT ANSWER✔✔- the default libref Work is
assumed
libref name - CORRECT ANSWER✔✔- 8 characters long
SAS data set + variable names - CORRECT ANSWER✔✔- 1. can be 1 to 32 characters long
2. must begin with a letter (A-Z, either uppercase or lowercase) or an underscore (_)
Descriptor of Data Set - CORRECT ANSWER✔✔- • the name of the data set
• the date and time that the data set was created
• the number of observations
• the number of variables.
Types of variables - CORRECT ANSWER✔✔- Character (anything) or numeric (numbers
only)
Missing values, " " for character or "." for numeric
, Variable length - CORRECT ANSWER✔✔- Character variables can be up to 32,767 bytes
long.
All numeric variables have a default length of 8 bytes.
Sashelp - CORRECT ANSWER✔✔- a permanent library that contains sample data and other
files that control how SAS works at your site. This is a read-only
library.
Sasuser - CORRECT ANSWER✔✔- a permanent library that contains SAS files in the
Profile catalog that store your personal settings. This is also a
convenient place to store your own files.
fileref - CORRECT ANSWER✔✔- an optional name that is used to identify an external file
to SAS
One-to-one merging - CORRECT ANSWER✔✔- Creates observations that contain all of the
variables
from each contributing data set.
Combines observations based on their relative
position in each data set.
Statement: SET
DATA output-SAS-data-set;
SET SAS-data-set-1;
SET SAS-data-set-2;
RUN;
the number of observations in the new data set is the number of observations in the smallest
original data set.
Concatenating - CORRECT ANSWER✔✔- Appends the observations from one data set to