Final Exam

Exam (Word File)

  Graphs for Problem 9: A and B

  Graphs for Problem 10: A and B

  Base code for Graphs 9A and 10A

Course Data

Zip File (Updated 5/18/2014)


Homework 1 (due: 5/28) (Solution)

Homework 2 (Data Step--due: 6/4) (Solution)

Homework 3 (Graph--due: 6/9, 5:00pm) (Solution)

Homework 4 (Report--due: 6/17)
PDFs for Ex 2, Ex 4 and Bonus (Solution)

Homework 5 (due: 6/19, 8:00am) (Solution)

Optional Homework Replaces Low Grade (due: 6/20) PDF for Report


Useful SAS Sites

Document Structure Information

STT 305 Course Information


Statistics (STT) 305--Summer I 2014
Instructor: Jim Blum Office: BR 201B
Office Hours: See Here Phone: 962-3290
Course Meeting Times: M-R 8:00-10:05, BR 164 E-Mail:
Recommended Texts: SAS Certification Prep Guide: Base Programming (ISBN: 1-59047-335-3)
The Little SAS Book
Grading: Homework 50%
Mid-Term Exam 25% each
Final Exam 25%
Course Topics: SAS/Windows environment
SAS data sets
Summarizing data
Report creation
Statistical Tests
Important Dates
May 21 Last day to drop (with no grade) or add a class
May 26 Memorial Day (holiday)
June 6 Last day to withdraw with a W--undergraduate students
June 11 Last day to withdraw with a W--graduate students
June 18 Last day of class
June 19 Final exam for STT 305, 8:00-10:05
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 2013-2014 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, 2 and 3
SAS Basics
Sample code: part I and part II
Creating and Using Formats
Sample code: Formats and Using Permanently Stored Formats
Summarizing Data with FREQ, MEANS and UNIVARIATE
  (plus some introductory ODS)
Sample code: part I, part II and part III-with ODS
Practice Problems for Summarizing Data (Solution)

The Data Step

Introduction to the Data Step
Sample code
Conditional Logic in the Data Step
Sample code
Combining Data Sets using the Data Step
Sample code
Practice Problems for Data Step programming (Solutions)

Graphs and Charts

Bar Charts
Sample code
Options and Enhancements for graphs
Sample code
Scatterplots and Line Graphs Using GPLOT
Sample code


The Report Procedure
Sample code
Multi-way Tables in Report for graphs
Sample code
Using ODS and Styles with Report
Sample code

More Data Step Fun

Controlling Output in the Data Step
Sample code
Computations Across Records in the Data Step
Sample code
Reading Data from Other Sources (Flat Files) using the Data Step
Sample code
Sample Files for More External Sources:
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 ]