📝 HW3

Due date: Friday, September 25 at midnight.

If anything seems confusing or unclear, please create an Ed post. We are here to support you!

đź“® Submission

Submit your assignment via Pensive. The Pensive portal will be live at least a few days before the HW deadline.

  • Make sure to tag your answers properly on Pensive, or else you may be docked points for making the grading process more time-consuming.

Lectures 8+9 Worksheet (10% of the HW3 grade)

Submit a PDF of the completed demo worksheet from Lectures 8 and 9.

  • You can submit handwritten or typed work.

Lecture 10 Worksheet (10% of the HW3 grade)

Submit a PDF of the completed demo worksheet from Lecture 10.

Lecture 13 Worksheet (10% of the HW3 grade)

Submit a PDF of the completed demo worksheet from Lecture 13.

M&Ms and sampling distributions (70% of the HW3 grade)

Complete the HW3 coding problems: DataHub

  • The HW3 coding problems are located in 131a-code-fall-2026/hw/hw3 on DataHub.

  • You are free to download the HW3 repository and work locally in RStudio or Positron, if you wish.

  • Be scrappy–if you don’t know how to navigate something in RStudio or Positron, ask an LLM or Google your question before posting to Ed!

  • If you do post to Ed, post publicly whenever possible so everyone can benefit from the answer.

Submit a PDF containing the code and output. Render your PDF with RStudio or Positron.