Professional Documents
Culture Documents
Mirjana Stojanovic
Statistical Programmer
Chapel Hill, NC
MMStojanovic:
Stojanovic:
M
MStojanovic:
Stojanovic:
Learning
Learning from
from WEB
WEB sites
sites
Find
Find out
out WEB
WEB sites
sites which
which is is the
the most
most
suitable
suitable for
for your
your needs
needs
Follow
Follow instructions
instructions or or copy
copy andand paste
paste into
into
SAS
SAS learning
learning edition
edition (optional)
(optional)
Check
Check back
back frequently
frequently and
and check
check links
links which
which
you
you will
will use
use the
the most
most of of the
the time
time
FirstObs.com
http://www.firstobs.com
Tutorial List
Net Resources expanded list of
Internet resources
SAS Community
Search FirstObs.com site by keyword a
FirstObs.com (cont.)
http://www.firstobs.com
Data step
Combining data files
Execute: if...Then
Functions
Reading raw data
Retain statement
FirstObs.com (cont.)
http://www.firstobs.com
SAS procedure
Proc Format
Proc Freq
Proc Print
Proc Sort
Proc Contents
Institute for Clinical and Epidemiologic Research
http://hsrd.durham.med.va.gov/Biostat/training/SAS%20presentation%20v10.pdf
Comprehensive manual
Easy to follow
Simple sentences
Descriptive explanation
Programming mistakes and how
to avoid them
Institute for Clinical and Epidemiologic Research
http://hsrd.durham.med.va.gov/Biostat/training/SAS%20presentation%20v10.pdf
Chapter 1.
What goes on in the data step?
- The compilation phase
- The execution phase
Chapter 8.
“Remembering" values from previous
observations
RHO, Inc.
http://www.rhoworld.com/index_services_biostats.htm
Chapter 5.
Transforming SAS Data Sets
a. Creating new SAS data sets
b. Creating and transforming
variables
c. Subsetting observations
d. Subsetting variables
WHERE vs IF
The WHERE statement works before observation are brought into the
data step(that is the PROGRAM DATA VECTOR) .
The IF statement works on observation that are already in the data step.
The WHERE statement is not executable, but the IF statement is
The WHERE statement operates only on observations in SAS data sets,
whereas the IF statement can operate either on observations from existing
SAS data sets or on observations created with an input statement.
If
a BY statement does not accompany a SET or MERGE statement, the
WHERE and IF statements usually produce the same result
In almost all cases a WHERE statement is more efficient than an IF
statement(observations do not have to be moved into the PDV)
TheWHERE statement, but not the IF statement can be used in SAS
PROCS .
RHO, Inc.
http://www.rhoworld.com/index_services_biostats.htm
Chapter 7.
COMBINING AND MANAGING SAS DA
a. Multiple input data sets
b. SAS special variables
c. Reshaping SAS data sets
d. Data library management
RHO, Inc.
http://www.rhoworld.com/index_services_biostats.htm
MISCELLANEOUS PROGRAMMING
MATERIALS
University of Central Florida
http://dms.stat.ucf.edu/Sta4102notes/Prog2/Chapter10/STA4102-Chapter10.ppt
Chapter 10
Well animated
Step by step explanations
Refresher Quiz
Different color for better understanding
University of Central Florida(cont.)
http://dms.stat.ucf.edu/Sta4102notes/Prog1/Chapter5/Chapter5-STA4102.ppt
Chapter 5
Process flow of Subseting IF
How to create SAS variable conditionally
University of Central Florida
(cont.)
http://dms.stat.ucf.edu/Sta4102notes/Prog2/Chapter9/Chapter9-STA4102.ppt
Chapter9
Refresher Quiz
Karolinska Institutet in Stockholm.
Paul Dickman
http://www.pauldickman.com/teaching/sas/index.
http://www.pauldickman.com/teaching/sas/set_by
http://www.pauldickman.com/teaching/sas/sas_tip
http://www.pauldickman.com/teaching/sas/sas_tip
National Institute of Health
http://support.cit.nih.gov/statsoft/training/classrm/courstmp.htm
Systematic explanations
Plenty of good examples
Exercises included
Creating maps with SAS
National Institute of Health
http://support.cit.nih.gov/statsoft/training/classrm/courstmp.htm
Descriptive
Choosing different color for a better
understanding
Presentation in pictures
University of Florida (cont.)
http://ifasstat.ufl.edu/sta4702/pdf/SASIntro.pdf
http://www2.sas.com/proceedings/su
http://www.dasconsultants.com/pape
SAS Customer Support Center
http://support.sas.com/documentation/onlinedoc/c
http://support.sas.com/publishing/pdf/57198_ch3p
Using PROC MEANS and PROC FREQ
to count MISSING VALUES
The Pennsylvania State University
http://www.stat.psu.edu/~jianchu/STAT480.htm#lecture%20Notes
http://www.stat.psu.edu/~jianchu/GettingStartted_file
Getting data into the SAS system
Working with your SAS data: Part I
Working with your SAS data: Part II
Working with multiple SAS data sets
Working with statistics
The Pennsylvania State University
http://www.stat.psu.edu/~dcsteven/stat480/
Information& Resources
for SAS® Users
General Topics
http://www.sys-seminar.com/SASArticles.htm