EconPapers    
Economics at your fingertips  
 

An Interactive Spreadsheet Model for Teaching Classification Using Logistic Regression

Vahid Roshanaei (), Bahman Naderi (), Opher Baron () and Dmitry Krass ()
Additional contact information
Vahid Roshanaei: Operations Management & Statistics, Rotman School of Management, University of Toronto, Toronto, Ontario M5S 1A1, Canada
Bahman Naderi: Department of Mechanical, Automotive, and Material Engineering, University of Windsor, Windsor, Ontario N9B 3P4, Canada
Opher Baron: Operations Management & Statistics, Rotman School of Management, University of Toronto, Toronto, Ontario M5S 1A1, Canada
Dmitry Krass: Operations Management & Statistics, Rotman School of Management, University of Toronto, Toronto, Ontario M5S 1A1, Canada

INFORMS Transactions on Education, 2024, vol. 25, issue 1, 55-80

Abstract: We present an interactive spreadsheet that supports teaching essential concepts in classification using the logistic regression (LoR) model for binary classification. The interactive spreadsheet demonstrates the capabilities of LoR by integrating computation with visualization. Students will reinforce concepts like probabilities, maximum likelihood estimation (MLE), and the use of likelihoods to optimize parameters for the LoR. We then discuss using LoR for classifications while adjusting its decision boundary (DB), demonstrating how to convert assigned likelihoods into classification using the DB; impact classification outcome by varying DBs; designate predictions as true positive, true negative, false positive, or false negative; and determine the classification accuracy. We use a variety of performance measures, including sensitivity, specificity, precision, negative predictive value, F 1 and F 2 scores, the receiver operating characteristics curve, and lift/decile charts. These measures are dynamically adjusted when the DB changes. We also reiterate the usage of these measures in the context of crossvalidation and imbalanced data sets. We provide a case study that implements LoR and an option for teaching the details behind MLE. We discuss the pedagogical aspects of this spreadsheet based on a survey of the 2022 student cohort in the Master of Management Analytics Program at the Rotman School of Management.

Keywords: classification; logistic regression; interactive spreadsheet; performance measures; crossvalidation; balanced and imbalanced data sets; maximum likelihood estimation; Excel Solver (search for similar items in EconPapers)
Date: 2024
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
http://dx.doi.org/10.1287/ited.2022.0022 (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:inm:orited:v:25:y:2024:i:1:p:55-80

Access Statistics for this article

More articles in INFORMS Transactions on Education from INFORMS Contact information at EDIRC.
Bibliographic data for series maintained by Chris Asher ().

 
Page updated 2025-03-19
Handle: RePEc:inm:orited:v:25:y:2024:i:1:p:55-80