Predictive Accuracy of Statistical and Machine Learning Models on Perceived Feelings of Safety in South Africa

This study compares the predictive performance of traditional multivariate time series models and machine learning (ML) techniques in modelling perceived feelings of safety among South African residents. The analysis uses secondary data from the Governance, Public Safety, and Justice Survey conducted by Statistics South Africa, covering 2013/2014 to 2023/2024 and comprising 215,301 observations. Perceived safety while walking alone in the neighbourhood during the day and after dark served as the response variables, while socio-economic characteristics such as age, sex, province, and main source of income were included as predictors. A Vector Autoregressive Moving Average (VARMA) model was estimated alongside Random Forest (RF) and Light Gradient Boosting Machine (LightGBM) algorithms. VARMA (2,2) and VARMA (3,1) provided the best statistical fit for daytime and after-dark safety perceptions, respectively. However, ML models achieved higher predictive accuracy overall, with RF outperforming both LightGBM and VARMA in capturing nonlinear relationships and short-term dynamics. The findings underscore the value of integrating ML into public safety modelling to enhance evidence-based planning and socio-economic policy development in South Africa. Future research should consider integrating higher-frequency and alternative data sources, such as administrative crime statistics and real-time behavioural data to improve model sensitivity and forecasting accuracy.

Authors

Institutions

Publication Details

Journal
Safety
Published
2026-05-08
DOI
https://doi.org/10.3390/safety12030066
Primary Topic
Traffic and Road Safety
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Predictive Accuracy of Statistical and Machine Learning Models on Perceived Feelings of Safety in South Africa

Johannes Tshepiso Tsoku, Boitumelo Mooketsi, Patrick Malose Leeto Shogole
Safety
Traffic and Road Safety
article

Predictive Accuracy of Statistical and Machine Learning Models on Perceived Feelings of Safety in South Africa

Johannes Tshepiso Tsoku, Boitumelo Mooketsi, Patrick Malose Leeto Shogole
article en

Abstract

This study compares the predictive performance of traditional multivariate time series models and machine learning (ML) techniques in modelling perceived feelings of safety among South African residents. The analysis uses secondary data from the Governance, Public Safety, and Justice Survey conducted by Statistics South Africa, covering 2013/2014 to 2023/2024 and comprising 215,301 observations. Perceived safety while walking alone in the neighbourhood during the day and after dark served as the response variables, while socio-economic characteristics such as age, sex, province, and main source of income were included as predictors. A Vector Autoregressive Moving Average (VARMA) model was estimated alongside Random Forest (RF) and Light Gradient Boosting Machine (LightGBM) algorithms. VARMA (2,2) and VARMA (3,1) provided the best statistical fit for daytime and after-dark safety perceptions, respectively. However, ML models achieved higher predictive accuracy overall, with RF outperforming both LightGBM and VARMA in capturing nonlinear relationships and short-term dynamics. The findings underscore the value of integrating ML into public safety modelling to enhance evidence-based planning and socio-economic policy development in South Africa. Future research should consider integrating higher-frequency and alternative data sources, such as administrative crime statistics and real-time behavioural data to improve model sensitivity and forecasting accuracy.

SafetyVol. 12(3)
North-West University (ZA), Sefako Makgatho Health Sciences University (ZA)
Openalex Percentile: Top 6%
Traffic and Road Safety
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Predictive Accuracy of Statistical and Machine Learning Models on Perceived Feelings of Safety in South Africa — Johannes Tshepiso Tsoku, Boitumelo Mooketsi, et al. · Safety (2026) | TGRS Research Map | TGRS