Teaching Algorithmic Fairness in Nigerian Higher Education: A Socioeconomic Income-Prediction Case for Responsible AI and Equitable Digital Finance
Artificial intelligence (AI) is entering Nigerian classrooms, banks, microfinance institutions, and digital lending platforms faster than the ethical literacy needed to govern it. This study uses a socioeconomic income-prediction exercise as a teaching case that helps Nigerian students and practitioners detect, measure, and discuss algorithmic bias. A logistic regression classifier was trained on the UCI Census Income (Adult) dataset (32,561 records) to predict whether annual income falls at or below, or above, a fixed threshold, and its performance was disaggregated across five racial groups using accuracy, precision, recall, positive-rate, and equal-opportunity criteria. The US data serve as a transparent benchmark, and the variables, protected attributes, decision scenarios, and legal context are mapped to Nigerian equivalents such as ethnolinguistic group, geopolitical zone, gender, rural–urban residence, and formal–informal employment. About 75.9% of records fall in the lower-income class. The model (AUC = 0.693) performs unequally across groups: accuracy ranges from 80.4% to 94.0%, and the share of individuals predicted as lower-income ranges from 76.0% to 98.0%. Small groups show deceptively high scores, and accuracy alone conceals the trade-off between false lower-income and false higher-income errors; equal opportunity is the most defensible criterion for credit-type decisions. The case can be embedded in data science, banking and finance, economics and education programmes under the National Universities Commission (NUC) minimum academic standards, and it shows why lenders, regulators and universities should audit models under the Nigeria Data Protection Act 2023, the 2025 digital-lending regulations and the National Artificial Intelligence Strategy. The paper links fairness evaluation, econometric income theory and Nigerian policy in one reproducible classroom exercise and sets out a replication path using Nigerian household survey data.
Authors
- Ifeoma Better Lekara-Bayo
- Bayo Princewill Lekara
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24780319
- Primary Topic
- Ethics and Social Impacts of AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00