Fall 2020 - STAT 342 D100

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

Class Number: 3808

Delivery Method: In Person


  • Course Times + Location:

    Th 12:30 PM – 2:20 PM

  • Exam Times + Location:

    Dec 9, 2020
    12:00 PM – 3:00 PM

  • 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

Mode of teaching:

  • Lecture: Asynchronous
  • Stats Workshop/tutorial: TBD
  • Quizzes: TBD; dates TBA
  • Final exam: TBD; date TBA


  • Assignments 15%
  • Quizzes (most probably 2) 15%
  • Midterm Exam 30%
  • Final Exam 40%


Above grading is subject to change.



Access to high-speed internet, webcam


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


Teaching at SFU in fall 2020 will be conducted primarily through remote methods. There will be in-person course components in a few exceptional cases where this is fundamental to the educational goals of the course. Such course components will be clearly identified at registration, as will course components that will be “live” (synchronous) vs. at your own pace (asynchronous). Enrollment acknowledges that remote study may entail different modes of learning, interaction with your instructor, and ways of getting feedback on your work than may be the case for in-person classes. To ensure you can access all course materials, we recommend you have access to a computer with a microphone and camera, and the internet. In some cases your instructor may use Zoom or other means requiring a camera and microphone to invigilate exams. If proctoring software will be used, this will be confirmed in the first week of class.

Students with hidden or visible disabilities who believe they may need class or exam accommodations, including in the current context of remote learning, are encouraged to register with the SFU Centre for Accessible Learning (caladmin@sfu.ca or 778-782-3112).