Logistic regression
Mar 23, 2026
A hospital is evaluating the use of a logistic regression model for detecting a disease. Below are the truth and predicted classifications for 200 patients.
| Actual disease Present | Actual disease Absent | |
|---|---|---|
| Classified as disease present | 50 | 20 |
| Classified as disease absent | 10 | 120 |
Compute sensitivity and interpret it in the context of the analysis.
Compute specificity and interpret it in the context of the analysis.
Compute the false positive rate and interpret it in the context of the analysis.
Individually
Work with 1 - 2 other students but everyone submits their own lab assignment
Collaborate with 1 - 2 other students using a single GitHub repo and submit a single lab assignment (include all names)
This lab focuses on using logistic regression to classify rice varieties based on data derived from images