Spring 2025 - STAT 260 D100
Introductory R for Data Science (3)
Class Number: 2192
Delivery Method: In Person
Overview
-
Course Times + Location:
Jan 6 – Apr 9, 2025: Thu, 10:30 a.m.–12:20 p.m.
Burnaby
-
Instructor:
Haolun Shi
haoluns@sfu.ca
1 778 782-6998
-
Prerequisites:
One of STAT 201, STAT 203, STAT 205, STAT 270, BUS 232, ECON 233, or POL 201, with a grade of at least C- or permission of the instructor.
Description
CALENDAR DESCRIPTION:
An introduction to the R programming language for data science. Exploring data: visualization, transformation and summaries. Data wrangling: reading, tidying, and data types. No prior computer programming experience required. Students who have taken STAT 341 or STAT 360 first may not then take this course for further credit.
COURSE DETAILS:
This course will have weekly labs.
Schedule:
- Getting started: Installing R, RStudio, the tidyverse and other packages, RStudio projects, RMarkdown files and basics
- Exploring Data: Visualisation
- Exploring Data: Transformation and summary statistics
- Data Wrangling: Data frames and tibbles, importing data
- Data Wrangling: Tidy data
- Data Wrangling: Relational data
- Midterm
- Data Wrangling: Strings
- Data Wrangling: Factors, dates and times
- Programming: Functions
- Programming: Vectors
- Programming: Vectors
- Summary
Grading
- Quizzes/Labs 20%
- Midterm 30%
- Final Exam 50%
NOTES:
Above grading is subject to change.
Materials
MATERIALS + SUPPLIES:
Access to high-speed internet, webcam, laptop or tablet computer for completing in-person programming exercises and quizzes.
REQUIRED READING:
R for Data Science, by Garrett Grolemund and Hadley Wickham, available online for free at https://r4ds.had.co.nz/
REQUIRED READING NOTES:
Your personalized Course Material list, including digital and physical textbooks, are available through the SFU Bookstore website by simply entering your Computing ID at: shop.sfu.ca/course-materials/my-personalized-course-materials.
Department Undergraduate Notes:
Students with Disabilities:
Students requiring accommodations as a result of disability must contact the Centre for Accessible Learning 778-782-3112 or caladmin@sfu.ca.
Tutor Requests:
Students looking for a tutor should visit https://www.sfu.ca/stat-actsci/all-students/other-resources/tutoring.html. We accept no responsibility for the consequences of any actions taken related to tutors.
Registrar Notes:
ACADEMIC INTEGRITY: YOUR WORK, YOUR SUCCESS
SFU’s Academic Integrity website 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
RELIGIOUS ACCOMMODATION
Students with a faith background who may need accommodations during the term are encouraged to assess their needs as soon as possible and review the Multifaith religious accommodations website. The page outlines ways they begin working toward an accommodation and ensure solutions can be reached in a timely fashion.