Podcast
Questions and Answers
A dollar sign ($) on an INPUT statement in SAS means that:
A dollar sign ($) on an INPUT statement in SAS means that:
Which of the following statements is true about SAS?
Which of the following statements is true about SAS?
The DBMS keyword in importing external files is used to
The DBMS keyword in importing external files is used to
Which keyword is used to specify path where data file is saved?
Which keyword is used to specify path where data file is saved?
Signup and view all the answers
Which of the following is a SAS syntax requirement?
Which of the following is a SAS syntax requirement?
Signup and view all the answers
In the following code snippet, Which dataset is considered the input
dataset?
Data a;
Set b;
Run;
In the following code snippet, Which dataset is considered the input
dataset? Data a; Set b; Run;
Signup and view all the answers
In the following code snippet, Which dataset is considered the output dataset?
Data a;
Set b;
Run;
In the following code snippet, Which dataset is considered the output dataset? Data a; Set b; Run;
Signup and view all the answers
Which of the following is not a valid type of library in SAS?
Which of the following is not a valid type of library in SAS?
Signup and view all the answers
What is the primary purpose of the SET statement in SAS?
What is the primary purpose of the SET statement in SAS?
Signup and view all the answers
What is the primary purpose of the Data statement in SAS?
What is the primary purpose of the Data statement in SAS?
Signup and view all the answers
Study Notes
SAS Basics
- A dollar sign ($) on an INPUT statement in SAS is used to specify the informat for numeric data.
Importing External Files
- The DBMS keyword is used to import external files.
Specifying File Paths
- The PATH keyword is used to specify the path where the data file is saved.
SAS Syntax Requirements
- A semicolon (;) is a SAS syntax requirement.
Understanding Data Steps
Data Step Example 1
- In the code snippet
Data a; Set b; Run;
, datasetb
is considered the input dataset.
Data Step Example 2
- In the code snippet
Data a; Set b; Run;
, dataseta
is considered the output dataset.
Library Types
- There is no such thing as a "permanent" library in SAS. Libraries can be either temporary (WORK) or permanent ( LIBNAME).
SET Statement
- The primary purpose of the SET statement in SAS is to read in existing data.
DATA Statement
- The primary purpose of the Data statement in SAS is to define a new dataset.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.