The data set files and R programs that are referenced in each example are available from
the book’s website, http://www.chrisbilder.com/categorical. The programs include
code used to create every plot and piece of output that we show. Many of these programs
contain code to demonstrate additional features or to perform more detailed and complete
analyses than what is presented in the book. We strongly recommend that the book and the
website be used in tandem, both for teaching and for individual learning. The website also
contains many “extras” that can help readers learn the material. Most importantly, we post
videos from one of us teaching a course on the subject. These videos include live, in-class
recordings that are synchronized with recordings of a tablet computer screen. Instructors
may find these videos useful (as we have) for a blended or flipped classroom setting. Readers
outside of a classroom setting may also find these videos especially useful as a substitute
for a short-course on the subject.
The first four chapters of the book are organized by type of categorical response variable.
Within each of these chapters, we first introduce the measurement type, followed by the
basic distributional model that is most commonly used for that type of measurement. We
slowly generalize to simple regression structures, followed by multiple regressions including
transformations, interactions, and categorical explanatory variables. We conclude each of
these chapters with some important special cases. Chapter 5 follows with model building
and assessment methods for the response variables in the first four chapters. A final chapter
discusses additional topics presented as extensions to the previous chapters. These topics
include solutions to problems that are frequently mishandled in practice, such as how to
incorporate diagnostic testing error into an analysis, the analysis of data from “choose
all that apply” questions, and methods for analyzing data arising under a complex survey
sampling design. Many of these topics are broad enough that entire books have been written
about them, so our treatment in Chapter 6 is meant to be introductory.
For instructors teaching a one-semester course with the book, we recommend covering
most of Chapters 1–5. The topics in Chapter 6 provide supplemental material for readers
to learn on their own or to provide an instructor a means to go beyond the basics. In
particular, topics from Chapter 6 can make good class projects. This helps students gain
experience in teaching themselves extensions to familiar topics, which they will face later
in industry or in research.
An extensive set of exercises is provided at the end of each chapter (over 65 pages in all!).
The exercises are deliberately variable in scope and subject matter, so that instructors can
choose those that meet the particular needs of their own students. For example, some carry
out an analysis step by step, while others present a problem and leave the reader