SAS Sample Code Programs

 
 
 
 
 
Value This
Doc
Scribd
Average
     
Pages: 2 43
Words: 226 13640
Characters: 1497 81678
Lines: 6 623
     
     
Letters per word: 6.62 5.99
Words per line: 37.67 21.89
Words per page: 113.0 317.21

Add to your reading list

Flag_red Flag this document

Document Information

2,150 Reads | 0 Comments

Description

convert character date into numeric date values

detect missing values using Arrays:

First. & Last. Variables:

determine the last observation in the dataset:

determine whether a numeric or character value exists within a group of variables:

Lag Function: How to obtain information from the previous observation:

How to create a new dataset from multiple datasets based on the sorted order:

Dynamically generate SET statement to combine multiple datasets:

How to determine which dataset contributed an observation:

How to determine if a variable exists in a dataset or not:

How to Read Delimited Text Files into SAS:

How to keep only even number observations in the dataset:

How to verify the existence of an external file:

Accurately calculating age in one line code:

How to use INDEX/INDEXC functions:

Finding the number of observations in the dataset:

How to capitalize first letter of the every word:/ PROPCASE FUNCTION:

How to use the SCAN function:

Concatenation functions in SAS 9.0:

SOUNDEX Function:

IFC and IFN functions:new IF functions & IF-THEN-ELSE vs SELECT:

How to remove the duplicate observations from the dataset using PROC SQL, DATASTEP/PROC SQL/or PROC SORT approaches ?

Count number of observations per subject in a data set?

Word_16x16 2 Pages


Date Added

02/10/2009

Category

Uncategorized.

Tags

No tags. sas programming, sas

Groups
Copyright

Attribution Non-commercial

More info »

 

or use Facebook Connect