Road traffic crashes pose significant public safety concern globally, causing severe injuries and fatalities. Motorcyclists face heightened crash risks and injury severity, particularly in developing countries like Thailand, where motorcycles serve as a primary mode of transportation. This study examines motorcycle crash severity across four distinct scenarios: urban daytime, urban nighttime, rural daytime, and rural nighttime. Analyzing 12,266 crashes from Thailand's Highway Accident Information Management System (HAIMS) spanning 2020–2022, Random Forest (RF) modeling combined with SHapley Additive exPlanations (SHAP) was applied to identify key severity determinants while enhancing model interpretability. The analysis revealed significant variations across scenarios based on roadway characteristics, environmental conditions, crash causes, and vehicle involvement. Crashes involving large trucks, head-on collisions, roads with depressed medians, and darkness were associated with increased severity. Conversely, those involving passenger cars, side-swipe collisions, roads with barrier medians, and well-lit locations exhibited lower severity. To assess its effectiveness, RF was benchmarked against Logistic Regression and Decision Tree models and consistently outperformed them across all crash scenarios. The models achieved classification accuracies of 66.5 % (urban day), 64.7 % (urban night), 63.8 % (rural day), and 65.9 % (rural night), while SHAP analysis illuminated the factors driving these predictions. These findings offer critical insights for policymakers and transportation planners, enabling the development of targeted interventions tailored to specific environmental and temporal conditions. By integrating machine learning with explainable artificial intelligence, this study advances data-driven approaches for enhancing motorcycle safety and crash prevention measures.


    Access

    Download


    Export, share and cite



    Title :

    A random forest and SHAP-based analysis of motorcycle crash severity in Thailand: Urban-rural and day-night perspectives


    Contributors:


    Publication date :

    2025




    Type of media :

    Article (Journal)


    Type of material :

    Electronic Resource


    Language :

    Unknown




    Bayesian Network for Motorcycle Crash Severity Analysis

    Das, Subasish / Vierkant, Valerie / Gonzalez, Juan Cruz et al. | Transportation Research Record | 2023


    Characteristics of motorcycle crashes in Thailand and factors affecting crash severity: Evidence from in-depth crash investigation

    Kunnawee Kanitpong / Auearree Jensupakarn / Pathumporn Dabsomsri et al. | DOAJ | 2024

    Free access

    SHAP-based convolutional neural network modeling for intersection crash severity on Thailand's highways

    Jirapon Sunkpho / Chamroeun Se / Warit Wipulanusat et al. | DOAJ | 2025

    Free access

    Understanding the Factors That Are Associated with Motorcycle Crash Severity in Rural and Urban Areas of Ghana

    William Agyemang / Emmanuel Kofi Adanu / Steven Jones | DOAJ | 2021

    Free access

    Motorcycle Crash Severity Estimation for Effective Emergency Response

    Rao, Aditya N / Notani, Vipul / Muralidharan, Vishal | British Library Conference Proceedings | 2022