Vivian Meng
Goal:
Assumptions:
A history lesson

Statisticians are developing frameworks for reasoning, predicting, and making decision from data.
🧐 Aren’t these the same goals that the AI community has? 🧐


Each module has a technical content theme (and a statistical principles theme)
| Component | Points |
|---|---|
| Midterm | 12 points |
| Final | 30 points |
| Total | 42 points |
| Component | Points |
|---|---|
| Clickers | 10 points |
| Labs | 18 points |
| Homework | 40 points |
| Total | 58 points |
| Component | Points |
|---|---|
| Clickers | 10 points |
| Labs | 18 points |
| Homework | 40 points |
| Total | 58 points |

\[\text{effort} = \min\left\{58, \text{clickers} + \text{lab} + \text{hw}\right\}\]
Important
8am is hard.
Attendance is optional.
If you’re sleep deprived
Getting more sleep may be beneficial to your learning in the long run
If you’re not going to engage/participate
If you’re going to have your laptop open
Do your homework/social media browsing/k-pop video watching in the comfort of your own home; then revisit the course material on your own time
What I Write for Students who Attend/Participate/Ask Questions 
What I Write for Students who Just “Show Up”
I don’t get to know you, so all I can talk about is your grade.

The goal is to “Do the work”
Labs should give you practice, allow for questions with the TAs.
They are due at 2359 on Saturday, lightly graded.
You may do them at home, but you must submit individually
Labs are lightly graded (complete nonsense/ reasonable effort/ mostly correct)
Not easy, especially the first 2, especially if you are unfamiliar with R / Rmarkdown / ggplot
Don’t leave these for the last minute. I will post the assignments early and the due dates have already been scheduled.
Language/Libraries: R + Tidyverse
Submission: on Canvas
Important
We assume you’re familiar with these tools (R, Tidyverse)
If you’re not, it’s your responsibility to get up-to-speed with them.
See Canvas for tutorials / the website for resources.
For each lab or assignment you will be given a template .Rmd file that you will fill-out and knit into a pretty pdf file for submission.
You will learn about this process in lab00 next week
Submit both .Rmd and .pdf file on Canvas.
Deep intuitions require struggle
The only way to develop intuitions about challenging material is to wrestle with content
Stand out from the crowd
Anyone can use Claude/Copilot for simple ML. Demonstrate thinking beyond these tools will make you more hireable/trusted
Course-specific subtleties
Even with good prompting, chatbots likely won’t score above 7-8 on assignments
No AI on exams
Don’t become too dependent on tools you can’t use during midterm/final
Self-reporting required:
No late assignments accepted, but if you are late by a little … it’s fine.
| When you submit | Likelihood that your submission gets a 0 |
|---|---|
| Before 11:59pm on due date (i.e. on time) | 0% |
| 11:01pm on due date | 0.001% |
| 9am after due date | 0.1% |
| 2 days after due date | 99.99999999% |
Exception: when you have grounds for academic consession. (See the UBC policy.)
Tip
Remember: you can still get a “perfect” effort grade even if you get a 0 on one assignment.
Lecture Notes (Primary Reading)
Prof. Geoff Pleiss wrote detailed lecture notes for every class.
I strongly recommend reading them before class.
No quizzes/knowledge demonstration/accountability for not reading, but please do!
Reading before class will improve your preparation and ability to engage.
An Introduction to Statistical Learning
James, Witten, Hastie, Tibshirani, 2013, Springer, New York. (denoted [ISLR])
Available free online: http://statlearning.com/
The Elements of Statistical Learning
Hastie, Tibshirani, Friedman, 2009, Second Edition, Springer, New York. (denoted [ESL])
Also available free online: https://web.stanford.edu/~hastie/ElemStatLearn/
Coming to class – 3 hours
Reading the book/lecture notes – 1 hour
Labs – 1 hour
Homework – 4 hours
Study / thinking / playing – 1 hour

We will use R and we assume some background knowledge.
Suggest you use RStudio IDE
See https://ubc-stat.github.io/stat-406/ for what you need to install for the whole term.
Links to useful supplementary resources are available on the website.
Course website
All the material (slides, extra worksheets) https://ubc-stat.github.io/stat-406
Piazza
Discussion board, questions
By EOD Tomorrow:
Before Next Tuesday:
UBC Stat 406 - 2024