Module 4 · Lesson 20 of 22

Binary response modelling concepts

← Back to moduleBack to academy

Learning objectives

  • Interpret probability and odds in a binary model.
  • Fit a simple logistic relationship.
  • Assess discrimination and calibration cautiously.

Binary modelling basics

Logistic regression models log-odds as a linear function of X. Report odds ratios with CIs and predicted probabilities that operators can act on.

Balance, non-linearity, interactions and threshold choice all matter, especially with imbalanced classes.

Garment-factory example

Estimate probability of seam failure from SPI, fabric stretch, needle age and thread type; translate the fitted model to a probability curve technicians can read.

Method

  1. Preserve unit-level binary data.
  2. Fit the model in a free tool.
  3. Convert coefficients to probabilities for communication.
  4. Validate on new data; check calibration.

Common mistakes

  • Treating odds ratio as risk ratio.
  • Choosing a threshold for maximum accuracy in imbalanced data.

Knowledge check

Pick one answer per question. Explanations appear after you submit.

  1. 1. Logistic regression models:

  2. 2. For imbalanced classes, threshold choice should consider:

Author: Sanjeewa Dehiwalage · Last reviewed: 2026-07-21

Stay in touch

New chapters, delivered quietly.

A short note when a new story, reflection or milestone is added. No noise, no spam — unsubscribe with a single click.