Fall 2019 - STAT 342 D100

Introduction to Statistical Computing and Exploratory Data Analysis - SAS (2)

Class Number: 4579

Delivery Method: In Person


  • Course Times + Location:

    Sep 3 – Dec 2, 2019: Thu, 12:30–2:20 p.m.

  • Exam Times + Location:

    Dec 10, 2019
    Tue, 12:00–3:00 p.m.

  • Prerequisites:

    STAT 285 or STAT 302 or STAT 305 or BUEC 333.



Introduces the SAS statistical package. Data management; reading, editing and storing statistical data; data exploration and representation; summarizing data with tables, graphs and other statistical tools; and data simulation. Students with credit for STAT 340 may not take STAT 342 for further credit.


Course Outline:

SAS component

  1. What is SAS?
      - Downloading and installing
      - Overview of the system
  2. Data management in SAS
      a. Data input and structures
          - DATA step
          - Reading specially formatted files
          - Date/time/character formats and manipulations
          - Derived variables
          - Exporting
      b. Data access: from database systems using query languages
      c. Merging and reshaping data
          - sorting/subsetting (set/if/where statements)/ merging/transposing
          - processing using DO LOOPS and SAS arrays
          - modify variable attributes
  3. Data exploration and representation in SAS
          - basic procs (print, plot, tabulate, means, univariate, freq)
          - by statement and uses in analysis and simulation
          - output delivery system to extract information from analyses
  4. Data simulation in SAS


  • Assignments 10%
  • Midterm 40%
  • Final Exam 50%


Above grading is subject to change.



Required Text:

SAS and R, Data Management, Statistical Analysis, and Graphics, 2nd ed, 
by Ken Kleinman and Nicholas J. Horton, Publisher: CRC Press

Hard Copy ISBN: 9781466584495
eBook ISBN: 9781466584501
eBook Rental ISBN: 9781466584501

Department Undergraduate Notes:

Students with Disabilites:
Students requiring accommodations as a result of disability must contact the Centre for Accessible Learning 778-782-3112 or csdo@sfu.ca

Tutor Requests:
Students looking for a Tutor should visit http://www.stat.sfu.ca/teaching/need-a-tutor-.html. We accept no responsibility for the consequences of any actions taken related to tutors.

Registrar Notes:

SFU’s Academic Integrity web site http://www.sfu.ca/students/academicintegrity.html is filled with information on what is meant by academic dishonesty, where you can find resources to help with your studies and the consequences of cheating.  Check out the site for more information and videos that help explain the issues in plain English.

Each student is responsible for his or her conduct as it affects the University community.  Academic dishonesty, in whatever form, is ultimately destructive of the values of the University. Furthermore, it is unfair and discouraging to the majority of students who pursue their studies honestly. Scholarly integrity is required of all members of the University. http://www.sfu.ca/policies/gazette/student/s10-01.html