Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

Some Preliminary Concepts and Rules
Structure of SAS programs
The Data Step
Data Step: Basics
Data Step: Inputting Data
Data Step: input Statement
Modifiers for List Input
Other Modifiers for the Input Statement
The input Statement
FTP Access
Options for the infile statement
Variable Length Records
Reading SAS programs from external files
Repetitive Processing of Variables
Titles and Footnotes
Missing Values
Special Missing Values
Variable Lists
Variable Lists (cont’d)
The set statement
Default Data Sets
Temporary Data Sets
Permanent Data Sets
Operators in SAS
Comparison Operators
Logical Variables
Logical Variables (cont’d)
Variable Attributes
Variable Lengths: Character Values
Variable Lengths: Numeric Values
Initialization and Termination
Flow Control: if-then-else
Flow Control: Subsetting if
Flow Control: goto statement
Iterative Do-loops: Example 1
Iterative Do-loops: Example 2
Getting out of Do-loops
SAS Functions: Mathematical
SAS Functions: Statistical Summaries
Using Statistical Summary Functions
Concatenating Character Strings
SAS Functions: Character Manipulation
SAS Functions: Character Manipulation (cont’d)
Regular Expressions in SAS
SAS Functions for Random Number Generation
Generating Random Numbers
Creating Multiple Data Sets
Subsetting Observations
Random Access of Observations
Random Access of Observations: Example
Application: Random Sampling I
Application: Random Sampling II
Application: Random Sampling III
By Processing in Procedures
Selective Processing in Procedures: where statement
Multiple Data Sets: Overview
Concatenating Data Sets by Observation
Concatenating Data Sets (cont’d)
Concatenating Data Sets with proc append
Interleaving Datasets based on a Single Variable
Interleaving Datasets (cont’d)
One-to-one matching
Example: one-to-one matching
Simple Match Merging
Simple Match Merging (cont’d)
Updating Data Sets
Example: update statement
More Complex Merging
More Complex Merging (cont’d)
Example of in= data set option
Programming with by statements
Basic Formats
Writing User-defined formats using proc format
User-defined Format: Examples
Recoding Values using Formats
Recoding Values using Formats (cont’d)
SAS Date and Time Values
Date and Time Informats and Formats
Other Date and Time Informats and Formats
SAS and Y2K
Date and Time Functions
Application: Blue Moons
Application: Blue Moons (cont’d)
Customized Output: put statement
Additional Features of the put statement
Headers with put statements
Output Delivery System (ODS)
ODS Destinations
SAS System Options
Some Common Options
Application: Rescanning Input
Application: Rescanning Input (cont’d)
Application: Reshaping a Data Set I
Application: Reshaping a Data Set I(cont’d)
Application: Reshaping a Data Set II
Output Data Sets
Using ODS to create data sets
ODS Output Data Set: Example
Output Data Sets: Example I
Output Data Sets: Example II
Output Data Sets: Example III
Output Data Sets: Example III(cont’d)
Plotting the Means
Application: Finding Duplicate Observations II
SAS Macro Language: Overview
SAS Macro Language: Overview (cont’d)
Defining and Accessing Macro Variables in the Data Step
An Alternative to the macro facility
Another Alternative to the Macro Facility
Application: Reading a Series of Files
Application: Reading a Series of Files (cont’d)
Macros with Arguments
Macros with Arguments (cont’d)
Accessing Operating System Commands
Transporting Data Sets
Creating a Dataset in transport format
Using the output data set from proc contents
The Display Manager
Entering Display Manager Commands
The Program Editor
Using the Program Editor
Editor Line Commands
Defining Function and Control Keys
More on Function Keys
Cutting and Pasting
Searching and Changing Text
Using the Find and Change Commands
Customizing the Display Manager
0 of .
Results for:
No results containing your search query
P. 1


Ratings: (0)|Views: 11|Likes:
Published by Geetansh Bamania

More info:

Published by: Geetansh Bamania on Nov 16, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 5 to 46 are not shown in this preview.
You're Reading a Free Preview
Pages 51 to 84 are not shown in this preview.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->