image Biometry 789

Introduction to SAS Programming

 

 

 

Course Info
Class Notes
Data
Homework
Links
Home

   

 

Lecture # Topic Readings In-Class Practice Problems
1 Overview of SAS

SAS Import Wizard Instructions
SAS User Group Paper In-class Practice
Excel Data File
2 SAS syntax, entering your own data, and Input Statements

***No Class on June 4th***
Chapter 1, 2, 12, & 13 In-class Practice, will do together
Independent Study Problems from Cody Text:
1.1, 1.2, 1.3, 1.5, 1.10, 12.1, 12.2, 12.6, 12.16, 13.3, 13.8
3 Categorical data and working with dates and longitudinal data. Proc Format Chapters 3
& 4
SUGI Paper on Proc Format
3.1, 3.2, 3.19, 4.1, 4.3, 4.5

SAS solution Prob 3.2
4 Sub-setting, Merging, Intro to construction of Flat Files from Vertical files and vice versa

Chapter 14  14.1, 14.4, 14.5, 14.6, 14.11
5 Proc Sort, Random Number Generators, If-Then_Else and Do Loops

How to Clear Log and Output windows

Chapter 5 & 6
 SUGI Paper on Proc Sort
Brain Teaser problem and data included in slides

Brain Teaser SAS solution
6 Output Statements and the Output Delivery System (ODS)

Proc gPlot Demo Code

ODS Demo Code
Chapter 7, and SAS Users Group Paper, SUGI Paper #2 Start HW 4 in-class
7 SAS Functions



Chapters 17, 18, and SAS Users Group Paper, SUGI Paper #2 17.1, 17.11, 18.5, 18.7, 18.8
8 Arrays and Advanced Analysis Data Set Creation

FlatFileExampleCode1
Example1Data

FlatFileExampleCode2

AP Example
AP Data

Chapters 15, 16, and SAS Users Group Paper
SAS Users Group Paper#2
15.1, 15.3, 15.5, 16.1, 16.5
9 Proc Tabulate

Tabulate SAS Demo

SUGI Fun SAS Demo


Chapter 11 and SAS Users Group Paper

11.1, 11.2
10 Intro. To Macro Programming (S. Shaftman and J. Elm)


Chapter 19 and SAS Users Group Paper, SUGI Paper #2 In-class problem
11 Debugging your SAS Program & Student Presentations "Little SAS Book"  Ch 10 (3rd Ed) and SAS Users Group Paper
Extra Class Material
Can Be Done on Own Time:

Running Simulations

Class Examples

In-Class Student Problem Solution


SAS User Group Paper