PREDICTING CUSTOMER LOYALTY IN AUTOMOTIVE SERVICES: EVIDENCE FROM MACHINE LEARNING ON SATISFACTION AND SERVICE COSTS IN NIGERIA
Keywords:
Customer Loyalty, Machine Learning, Automotive Services, XGBoost, Customer Satisfaction.Abstract
Customer loyalty in Nigeria’s automotive service sector has become volatile due to digital competition, variable pricing, and shifting satisfaction patterns. Traditional regression models fail to capture the nonlinear links between satisfaction, cost, and loyalty. This study used machine learning algorithms: Random Forest (RF), Support Vector Machine (SVM), and Extreme Gradient Boosting (XGBoost), to predict loyalty using customer satisfaction, service cost, and behavioral indicators from Anaval Mechanic Workshop (January–December 2023). Model performance was evaluated using accuracy and Area Under the Curve (AUC). XGBoost performed best (AUC = 0.985; accuracy = 97.1%), followed by RF (AUC = 0.962) and SVM (AUC = 0.485). Findings confirm satisfaction, cost, and uncertainty as key loyalty drivers, highlighting XGBoost’s superiority in modeling complex satisfaction–cost dynamics
References
Abdi, F., Abolmakarem, S., & Yazdi, A. K. (2025). Forecasting car repair shops customers’ loyalty based on SERVQUAL model: An application of machine learning techniques. Spectrum of Operational Research, 2(1), 180–198. https://doi.org/10.31181/sor2120251
Abdullah-All-Tanvir, Iftakhar Ali Khandokar, A.K.M. Muzahidul Islam, Salekul Islam, Swakkhar Shatabda, (2023). A gradient boosting classifier for purchase intention prediction of online shoppers. Heliyon, 9(4): e15163.
Aityassine, S. (2022). Service quality and customer loyalty: The mediating role of satisfaction. Journal of Business and Retail Management Research, 16(3), 45–56. https://doi.org/10.24052/jbrmr/v16is03
Anggara, A. A., & Kaukab, M. E. (2024). Creating customer satisfaction and loyalty with price, product quality and service quality (Case study at McDonald’s customer). Quest Journals: Journal of Research in Business and Management, 12(1), 37–43
Aronu, C. O. (2014). Determining the equality of customer loyalty between two commercial banks in Anambra State-Nigeria. Business and Economics Journal, 5(2), 1–6. https://doi.org/10.4172/2151-6219.100090
Aronu, C. O., Ekwueme, G. O., & Emunefe, J. O. (2020). Investigating the equality of customer loyalty between two commercial banks in Anambra State, Nigeria: Hotelling T-square approach. Current Strategies in Economics and Management, 5, 9–13. https://doi.org/10.9734/bpi/csem/v
Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. https://doi.org/10.1023/A:1010933404324
Creswell, J.W. and Creswell, J.D. (2018) Research Design: Qualitative, Quantitative, and Mixed Methods Approaches. Sage, Los Angeles.
Efron, B., & Tibshirani, R. J. (1993). An Introduction to the Bootstrap. Chapman & Hall/CRC.
Emegha K. N, Bosah P. C, Idigo B. C., Ofobuike C. L (2025) The Effects of Climate Change on Food Security in Nigeria: A Review. International journal of research and scientific innovation (IJRSI) Volume XII Issue IV. 904-914. DOI: https://doi.org/10.51244/IJRSI.2025.12040076
Fawcett, T. (2006). An Introduction to ROC Analysis. Pattern Recognition Letters, 27, 861-874. https://doi.org/10.1016/j.patrec.2005.10.010
Fida, B. A., Ahmed, U., Al-Balushi, Y., & Singh, D. (2020). Impact of service quality on customer loyalty and customer satisfaction in Islamic banks in the Sultanate of Oman. SAGE Open, 10(2), 1–10. https://doi.org/10.1177/215824402091951
Field, A. (2018). Discovering statistics using IBM SPSS statistics (5th ed.). SAGE Publications.
Friedman, J. H. (2001). Greedy function approximation: A gradient boosting machine. Annals of Statistics, 29(5), 1189-1232. https://doi.org/10.1214/aos/1013203451
Ganiyu, R. A., Uche, I. I., & Olusola, A. E. (2012). Is customer satisfaction an indicator of customer loyalty? Australian Journal of Business and Management Research, 2(7), 14–20.
Idigo, B. C. (2024). Effect of China-Nigeria Economic Relations on Infrastructural Development in Nigeria. International Journal of Innovative Legal & Political Studies 12(1):11-25.
Kalu, C. L. O., Emegha, N., Bosah, P. C., & Idigo, B. C. (2025). The effects of climate change on food security in Nigeria: A review. International Journal of Research and Scientific Innovation, 12(4), 1–12.
Khadka, K., & Maharjan, S. (2017). Customer satisfaction and customer loyalty. Central Department of Management, Tribhuvan University, 1–64.
Kristian, F. A. B., & Panjaitan, H. (2014). Analysis of customer loyalty through total quality service, customer relationship management and customer satisfaction. International Journal of Evaluation and Research in Education, 3(3), 142–151.
Kuhn, M., & Johnson, K. (2013). Applied Predictive Modeling. New York: Springer. http://dx.doi.org/10.1007/978-1-4614-6849-3
Kumar, S., & Zymbler, M. (2019). A machine learning approach to analyze customer satisfaction from airline tweets. Journal of Big Data, 6(62), 1–16. https://doi.org/10.1186/s40537-019-0224-1
Lavanya, C., Pooja, S., Abhay, H. K., Abdur, R., Swarna, N., and Vidya, N. (2023). Novel Biomarker Prediction for Lung Cancer Using Random Forest Classifiers. Cancer Informatics, 22: 1–15
Liaw, A., & Wiener, M. (2002). Classification and regression by randomForest. R News, 2(3), 18-22.
Meinzer, S., Jensen, U., Thamm, A., Hornegger, J., & Eskofier, B. M. (2017). Can machine learning techniques predict customer dissatisfaction? A feasibility study for the automotive industry. Artificial Intelligence Research, 6(1), 80–96. https://doi.org/10.5430/air.v6n1p8
Mittal, V., Han, K., Frennea, C., Blut, M., Shaik, M., Bosukonda, N., & Sridhar, S. (2023). Customer satisfaction, loyalty behaviors, and firm financial performance: What 40 years of research tells us. Marketing Letters, 34(2), 171–187. https://doi.org/10.1007/s11002-023-09671-w
Okonkwo, A. E., & Idigo, B. C. (2025). Erosion of institutional efficacy: The nexus between governance failures and escalating insecurity in Nigeria. International Journal of Academic Multidisciplinary Research. 8(10). 122-127
Parasuraman, A., Zeithaml, V. A., & Berry, L. L. (1988). SERVQUAL: A multiple-item scale for measuring consumer perceptions of service quality. Journal of Retailing, 64(1), 12–40.
Reichheld, F. F., & Sasser, W. E. (1990). Zero defections: Quality comes to services. Harvard Business Review, 68(5), 105–111.
Sani, I., Karnawati, T. A., & Ruspitasari, W. D. (2024). The impact of service quality on customer loyalty through customer satisfaction of PT Multicom Persada International Jakarta. Dinasti International Journal of Management Science, 5(3). https://doi.org/10.31933/dijms.v5i
Terason, S., Hongvichit, S., & Supinit, V. (2025). Digital engagement and customer loyalty in Thailand’s automotive industry: An SEM approach. Asian Journal of Business Research, 15(1), 82–96.
Vigneshwaran, P., & Mathirajan, M. (2021). Customer satisfaction and loyalty drivers in automobile after-sales service centres. International Journal of Automotive Technology and Management, 21(2), 145–166. https://doi.org/10.1504/IJATM.2021.11592
Downloads
Published
How to Cite
Issue
Section
License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.






