Mapping the Data Landscape for Predictive Policing in Nairobi: A Spatial-Temporal Exploratory Analysis and Methodological Framework

dc.contributor.authorNtoonto, Kelvin Nkorisa
dc.date.accessioned2026-11-27T04:13:20Z
dc.date.issued2026-11-27
dc.descriptionA Master's Thesis submitted in partial fulfilment of the requirements for the Award of the Master of Data Science of the Open University of Kenya. Supervisor: Dr. Paul Mutemi.
dc.description.abstractUrban crime poses a persistent threat to public safety in rapidly urbanizing contexts like Nairobi City County. While machine learning-based predictive policing has shown promise globally, its adoption in Kenya is constrained by the absence of publicly available, incident-level, geo-tagged crime data. Publicly accessible datasets from the Kenya National Bureau of Statistics (KNBS) and the National Crime Research Centre (NCRC) are aggregated at the sub-county level and reported annually, introducing severe risks of ecological fallacy and algorithmic bias if used for operational forecasting. This study systematically mapped and critically evaluated the landscape of publicly available crime data in Nairobi (2018–2024) to determine the technical feasibility, equity implications, and ethical preconditions of predictive policing. Guided by a post-positivist paradigm, the research employed an Exploratory Spatial-Temporal Analysis (ESTA) framework. The methodology integrated missingness mapping, spatial autocorrelation diagnostics (Moran's I, LISA), and Bayesian hierarchical modeling with Conditional Autoregressive (CAR) priors to quantify aggregation-induced uncertainty. Feature associations were screened using Mutual Information and LASSO regularization, while algorithmic fairness was audited using Demographic Parity Difference (DPD) and Equal Opportunity Difference (EOD) metrics across socio-economic strata. The findings revealed significant structural data gaps, spatial reporting heterogeneity, and representational biases that systematically underrepresented recorded crime in informal settlements and low-income wards. Crucially, the study establishes that publicly available aggregates reflect police recording behavior and institutional priorities rather than ground-truth crime prevalence, reinforcing the Missing Not At Random (MNAR) nature of the data. The analysis demonstrated that deploying operational predictive models on current public aggregates risks perpetuating historical surveillance biases. Consequently, the study concluded that Nairobi's current public data ecosystem is not ready for defensible machine learning-based predictive policing. To address this, a comprehensive methodological and ethical framework was developed, outlining strict data readiness, validation, and governance prerequisites required before responsible implementation. The study recommends that policymakers prioritize investments in granular, ethically guided data collection infrastructure over premature technology deployment, advocating a "measure twice, cut once" approach to AI in public safety.
dc.identifier.urihttps://erepository.ouk.ac.ke/handle/123456789/1692
dc.language.isoen
dc.publisherOpen University of Kenya
dc.subjectPredictive Policing
dc.subjectSpatial-Temporal Analysis
dc.subjectData Landscape
dc.subjectAlgorithmic Fairness
dc.subjectExploratory Data Analysis
dc.subjectNairobi
dc.titleMapping the Data Landscape for Predictive Policing in Nairobi: A Spatial-Temporal Exploratory Analysis and Methodological Framework
dc.typeThesis