Course 3 - Regression Models for Binary and Categorical Outcomes

Published

October 15, 2026

Welcome to Biostatistics III. This week is all about binary and categorical outcomes, analyzed with logistic regression models. We will interpret results using odds ratios and log-odds, as well as the probability scale.

We will continue to work with the STePS randomized trial of internet-delivered psychodynamic therapy for social anxiety disorder. Most chapters use a binary treatment-response outcome: an LSAS reduction of at least 30% from baseline. The multinomial chapter uses post-treatment LSAS grouped into three severity categories.

Group work during lab sessions

During the afternoon lab sessions, you will be tasked with producing a Quarto notebook that documents the analyses related to each day’s lab. This work will be done in small groups, and each group will present for the rest of the class at some point during the week. Use the template notebook uploaded to Canvas as a starting point.

We have been intentionally vague about the lab instructions to allow you to explore and discuss different approaches to the same problem. Refer to the chapters on this website for guidance on how to perform the analyses.

Intended learning outcomes

After completing this course, you should be able to:

  • define and fit binary logistic regression models in R;
  • distinguish probabilities, odds, log-odds, and odds ratios;
  • use marginaleffects to estimate and visualize model-based predictions and contrasts;
  • fit and interpret models with binary, categorical, and numeric predictors;
  • interpret interaction models using conditional treatment effects on the probability scale; and
  • interpret multinomial-logit probabilities.

Using AI tools

You may use generative AI tools in lab sessions. They can generate code that runs, but they can also generate confident statistical mistakes. You remain responsible for understanding the model and checking whether the code answers the stated question.