Resources

Exam

The practice exam is in class on Mon Nov 9 and the comprehensive exam on Wed Nov 18 (see the Schedule). Here are some materials to help you prepare.

  • Pre-practice questions (posted Mon Nov 2) — questions. These questions are provided as a study aid. We will release the answer key by the end of Week 7.
  • Formula sheet — formula sheet: the formulas you have encountered in the course, in words and using math notation, along with the R commands. You will have this sheet during the exam.

Lectures

We post the worksheet, its answer key, and the slides for each lecture here after class, with the newest lecture at the top. There is no way to submit a worksheet after class, so the copy here is for review.

Tutorials

We post the handout for each Friday tutorial here once that day’s sessions are over, along with an answer key.

  • Tutorial 6 (Fri Oct 30): AL’s First Week — handout (Google Drive; Stanford sign-in required)
  • Tutorial 5 (Fri Oct 23): The Reaction Room — handout (sheets A and B in one file) · answer key
  • Tutorial 3 (Fri Oct 9): The Vault of Fallen Labels — handout · answer key
  • Tutorial 2 (Fri Oct 2): The Sleep Lab Incident — handout · answer key
  • Tutorial 1 (Fri Sep 25): Orientation Day at Strangeford — handout · answer key

ProTips sessions

We run occasional ProTips sessions on practical R and coding skills. The materials from each session are here, newest at the top.

  • ProTips Session 5 (Fall 2026, Jane Stephenson): Tidy your data in R — slides · practice file (.Rmd)
  • ProTips Session 4 (Fall 2026, Anna Kelley): Using agentic coding tools like Claude Code — notes
  • ProTips Session 3 (Fall 2025, Nastasia Klevak): What the %>% is the pipe? — slides
  • ProTips Session 2 (Fall 2025): Avoiding “magic numbers” in your code — Colab notebook
  • ProTips Session 1 (Fall 2025, Jerome Han): Data visualization — Colab notebook

Other resources