Research Article

Using Multidimensional Data to Analyze Freeway Real-Time Traffic Crash Precursors Based on XGBoost-SHAP Algorithm

Table 5

Candidate variables of traffic flow.

Variable nameVariable description

up_qAverage upstream detector volume 10−5 minutes before the crash
up_vAverage upstream detector speed 10−5 minutes before the crash
up_oAverage upstream detector occupancy 10−5 minutes before the crash
up_dif_qThe average of the absolute value of the difference in traffic flow in the adjacent lane of the upstream detector 10−5 minutes before the crash
up_dif_vAverage of the absolute value of the speed difference between adjacent lanes of the upstream detector 10−5 minutes before the crash
up_dif_oAverage of the absolute value of the difference in adjacent lane occupancy of upstream detectors 10−5 minutes before the crash
down_qAverage downstream detector volume 10−5 minutes before the crash
down_vAverage downstream detector speed 10−5 minutes before the crash
down_oAverage downstream detector occupancy 10−5 minutes before the crash
down_dif_qThe average of the absolute value of the difference in the volume of the adjacent lanes of the downstream detector 10−5 minutes before the crash
down_dif_vAverage of the absolute value of the speed difference between adjacent lanes of the downstream detector 10−5 minutes before the crash
down_dif_oAverage of the absolute value of the difference in adjacent lane occupancy of downstream detectors 10−5 minutes before the crash
dif_qAbsolute value of the difference in volume between the upstream and downstream detectors 10−5 minutes before the crash
dif_vAbsolute value of the speed difference between upstream and downstream detectors 10−5 minutes before the crash
dif_oAbsolute value of the difference between upstream and downstream detector occupancy 10−5 minutes before the crash