Course Data

Data Sets (ZIP File) (Updated 8/22/2016)


Homework 1 (Due: 9/20, 6:00pm)

Homework 2 (Due: 10/17, 3:00pm)


Homework 3 (Due: 11/14, 5:00pm)

Homework 4 (Due: 11/29, 11:59pm)

Homework 5 (Due: 12/8, 3:00pm)

Practice Midterm

Midterm Practice(ZIP File)


Useful SAS Sites

Document Structure Information

STT 305 Course Info


Statistics (STT) 305--Fall 2016
Instructor: Jim Blum Office: OS 1001A
Office Hours: See Here Phone: 962-7635
Course Meeting Times: T Th 2-3:15, OS 2009 E-Mail:
Recommended Texts: SAS Certification Prep Guide: Base Programming (ISBN: 1-59047-335-3)
The Little SAS Book
Grading: Homework/Projects 50%
Mid-Term Exam 25%
Final Exam 25%
Course Topics: SAS/Windows environment
SAS data sets
Summarizing data
Report creation
Statistical Tests
Important Dates
Aug. 24 Last day to drop (with no grade) or add a class
Sep. 5 Labor Day (holiday)
Oct 6 & 7 Fall Break, No Classes
Oct 10 Last day to withdraw with a W--Undergraduates
Nov 10 Last day to withdraw with a W--Graduate Students
Nov 30 Last day of class
Dec 8 Final exam for STT 305--3:00 pm
Internet Use: Though this course meets in a computer lab, it is not a course in net surfing or e-mail checking. Unauthorized internet use during class time may lead to significant penalties
Academic Honor Code: This course will adhere to the academic honor code of The University of North Carolina at Wilmington. No form of dishonesty, such as cheating, stealing, plagiarism, etc., will be tolerated. For further details see the 2016-2017 Undergraduate Catalog and the Code of Student Life.
Disability Services: The University of North Carolina at Wilmington has devoted much energy to meeting the requirements of Section 504, Federal Rehabilitation Act and to the Americans with Disability Act. If you feel you need assistance or accommodations to ensure equal opportunity in pursuing your educational goals, please contact Disability Services, x-3746.
UNCW practices a zero tolerance policy for any kind of violent or harassing behavior. If you are experiencing an emergency of this type contact the police at 911 or UNCW CARE at 962-2273. Resources for individuals concerned with a violent or harassing situation can be located at

Power Point and Sample Code

Introductory Concepts

Introduction to the SAS System
Demonstration Code 1
SAS Programming Basics
Demonstration Code 2,
Code from 8-25 and 8-30,
SAS Formats and the Format Procedure
Code from 9/1
Summarizing Data with FREQ, MEANS and UNIVARIATE
Sample code for: FREQ and MEANS and UNIVARIATE

Graphs and Charts

Introduction to SGPLOT
Sample code
Exercise Solutions
Bar Charts with SGPLOT
Sample code
Sample code
Graph Enhancement Options inside SGPLOT and in ODS GRAPHICS
Sample code
Curves and Splines
Sample code
High/Low Plots
Sample code

Data Step

Introduction to the Data Step
Sample code
Conditional Logic in the Data Step
Sample code
Combining Data Sets with the Data Step
Sample code
Data Step Practice Problems


Introduction to PROC REPORT
Sample code
Using Across Variables in PROC REPORT
Sample code
Output Delivery System and PROC REPORT
Sample code

Reading Raw Data

Reading Text Files in the Data Step

Optional Work

Controlling Output in the Data Step
Computing Across Records in the Data Step
The four exercises (two in each slide deck) can be turned in as a replacement for your worst homework score or a 5% bonus to the overall homework grade--Code must be submitted by noon on December 8th.
UNC Wilmington | 601 S. College Road, Wilmington NC 28403 | 910.962.3000 | About this Site | Copyright Notice | Feedback | Page maintained by:  J. Blum [ blumj AT uncw DOT edu ]