Related Experiment Video
Updated: Jan 17, 2026

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
Developing an XGBoost based model to predict the probability of truck crashes driven by macro operation and insurance
Yiping Wu1, Hongpeng Zhang1, Peng Song1
1Beijing Key Laboratory of Traffic Engineering, Beijing University of Technology, Beijing, China.
Objective:
Truck accidents caused significant casualties usually. Establishing a scientific truck accident prediction model and identifying the primary causes are crucial for proactive accident prevention.
Methods:
The proposed model was developed using annual operational behavior data and corresponding insurance claim information from commercial trucks. Prior to model training, multicollinearity among predictor variables was addressed to ensure model interpretability and stability. Model performance was evaluated using recall, F1 score, and overall prediction accuracy, including external validation with a temporally separated dataset from the same driver population. To reduce input data dependency, an input dimensionality reduction analysis was conducted to determine the minimal data requirements. SHAP (Shapley Additive Explanations) values and principal component coefficients were employed to extract the main factors influencing truck accidents.
Results:
The truck accident prediction model with a recall rate of 84.21% and an F1 score of 85.33%. The prediction accuracy of our developed model reached 87.59% when using new data from the same group of truckers in the subsequent year for validation. Additionally, the minimum data requirement set for our developed model was found to be the feature combination of load capacity, road segment type, and driving time, through analyzing the relationship between model prediction accuracy and feature inputs with different dimensions. Based on the suggested model inputs, the recall rate and F1 score of the prediction model are 86.84% and 84.62%, respectively. The main influencing factors analyzed by SHAP values and Principal Component Analysis (PCA) coefficients indicated that the trucker's familiarity with the road and the type of road segment significantly impact the probability of accident occurrence.
Conclusions:
This research innovatively establishes a macro data-driven truck accident prediction model alleviating the difficulty of data collection as well as guaranteeing the prediction accuracy.
Related Concept Videos
Determination of Expected Frequency
Probability Histograms
Prediction Intervals
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
Binomial Probability Distribution
The outcomes of a binomial experiment fit a binomial probability distribution. A statistical experiment can be classified as a binomial experiment if the following conditions are met:
There are a fixed number of trials. Think of trials as repetitions of an experiment. The letter n denotes the number of trials.
There are only two possible outcomes,...
Quantifying and Rejecting Outliers: The Grubbs Test
Probability in Statistics
An example of a simple event is a coin toss. The result of a coin toss is either a head or a tail. Here, head and tail are two simple events. These two simple events make up the sample space. Further, the probability of an event occurring falls within the range of 0 to 1. The probability of an...