Week 10

More stats and purrr
Published

March 13, 2025

Modified

March 13, 2025

Announcements

  • Please fill out the course evaluations for the class.
    • Course evaluations are very helpful for making improvements to our classes.
    • If too few students fill out the evaluations, they are not released to us.
    • You might have two evaluations since there are two instructors.

Reminder to fill out post-class surveys

  • This is a reminder that 5% of your grade is based on filling out post-class surveys as a way of telling us that you came to class and engaged with the material for that week.
  • You only need to fill out 5 surveys (of the 10 class sessions) for the full 5%. We encourage you to fill out as many surveys as possible to provide feedback on the class though.
  • Please fill out surveys by 8 pm on Sunday evenings to guarantee that they will be counted. We usually download them some time on Sunday evening or Monday. If you turn it in before we download the responses, it will get counted.

See syllabus section on Post-class surveys

Topics

Part 9

  • Use map() functions from the purrr package to iterate functions
  • Nest datasets into list-columns, and iterate statistical modeling and/or visualization functions over those elements
  • Use map2() from the purrr package to iterate functions across two inputs
  • Learn how to iterate regression modeling across different model variables

Class materials

Readings are linked below, and we are using the part_08 material on Dropbox

Post-class survey

Homework

  • See Dropbox folder for homework assignment.

Recording

  • In-class recording links are on Sakai. Navigate to Course Materials -> Schedule with links to in-class recordings. Note that the password to the recordings is at the top of the page.