Related Experiment Video
Updated: Aug 24, 2025

Tactile Vibrating Toolkit and Driving Simulation Platform for Driving-Related Research
Published on: December 18, 2020
Forecasting time trends of fatal motor vehicle crashes in Iran using an ensemble learning algorithm
Habibollah Nassiri1, Seyed Iman Mohammadpour1, Mohammad Dahaghin1
1Department of Civil Engineering, Sharif University of Technology, Tehran, Iran.
Objective:
This study aimed to introduce the random forest (RF) method as a valuable tool for short-term crash frequency prediction. Besides, the study compares the forecast efficiency of the RF model with the classical seasonal autoregressive integrated moving average (SARIMA) model in the multivariate time-series analysis of crash counts.
Methods:
To this end, fatal accidents reported by the police and intercity traffic flow extracted from the loop detectors were aggregated in intercity highways at the country's level monthly from Farvardin 1395 to Mordad 1400. The first 55 data points were used as the training sample, and the remaining ten months were considered the test sample. The Box-Jenkins and random forest machine learning methods were employed for short-term crash frequency prediction. The mean absolute percentage error (MAPE) criterion was utilized to compare the forecast accuracy of the developed models.
Results:
The performance of the random forest model (MAPE = 2.6) with the exogenous variables of traffic flow, crash year, and month outperformed the best model (MAPE = 5.7) with traffic flow as the regressor.
Conclusions:
This study suggests that the random forest as an ensemble learning algorithm is a better crash prediction tool compared to the classical Box-Jenkins method, accounting for the non-linear dependencies in crash count time-series. Besides, the results illustrate that the multivariate SARIMA (SARIMAX) model significantly outperforms its univariate counterpart, accounting for the simultaneous impacts of exogenous variables.
Related Concept Videos
Determination of Expected Frequency
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.
End Point Prediction: Gran Plot
For potentiometric titration, the Gran plot is created by plotting...
Steps in Outbreak Investigation
Kaplan-Meier Approach

