What’s new in version 3.0?

The first version of this workbook was a series of PDFs that I uploaded to my website in April 2022. Those were a bit clunky. They were difficult for students to copy code chunks out of (the formatting would get strange) and they were also difficult for me to update. In April 2023, I created a version of this workbook as a single website. I actually did this as I was teaching a class that used the workbook, so the students switched from PDFs to a website in the middle of the class. It was very dramatic!

I continued to make small updates and corrections to the workbook regularly, but for version 3.0 I read over the whole workbook, and I clarified various explanations and fixed small errors. More substantively, I added commands to calculate the mode of nominal variables and the mode and median of ordinal variables to chapter 3 and I added a discussion of statistical significance to chapter 6. I also added some discussion of residuals to chapters 8 and 9. Finally, I updated the three datasets that accompany this workbook.

I also removed the practice assignments at the end of each chapter. This is because I started writing new practice assignments for students each semester and distributing them in class. If you are an instructor and you’d like my most recent practice assignments for each chapter, please feel free to contact me.

If you want to see the R projects that I used to generate these datasets, you can find them here: anes2024, states2025, and world2025.

If you have suggestions and/or notice errors, please let me know!