Tesis de posgrado: Modelización de los accidentes de tránsito en el Distrito Metropolitano de Quito. Comparación utilizando aprendizaje automático y modelos estadísticos inferenciales.
Publisher
Universidad Central del Ecuador
uce.item.tipo
Trabajo de grado - Maestría
Date
Journal Title
Journal ISSN
Volume Title
Citation
Cartagena Martínez, Ana Mercedes; Vargas Reinoso, Lenin Patricio (2025). Modelización de los accidentes de tránsito en el Distrito Metropolitano de Quito. Comparación utilizando aprendizaje automático y modelos estadísticos inferenciales.. Universidad Central del Ecuador
Resumen en español
Este estudio se centra en la caracterización de los accidentes de tránsito ocurridos en el
Distrito Metropolitano de Quito entre 2018 y abril de 2023, utilizando enfoques de
modelamiento inferencial y de aprendizaje automático. La presencia o no de al menos una
persona fallecida en un siniestro de tránsito es la variable objetivo.
En el modelo inferencial, se aplica una regresión logística (Logit), utilizando el proceso
Stepwise forward, criterios del investigador y referencias científicas para la selección de
variables. En el modelo de aprendizaje automático, se utiliza un proceso AutoML para
funciones de clasificación dicotómica siendo también una Logit el mejor modelo. Al
comparar los resultados desde las capacidades predictivas se evidencia que de las 5 métricas
de evaluación, el modelo inferencial es superior en 4 (Accuracy, Specificity, Precision y
MCWA), mientras que, el modelo de aprendizaje de máquina es superior en 1 (Recall), sin
embargo, esto no significa que el modelo inferencial es mejor para predicción ya que; las
métricas son insesgadas debido al desbalance existente en la variable dependiente;
considerando que, el Recall representa las correctas predicciones de la variable objetivo, se
tiene al modelo de aprendizaje de máquina como mejor predictor.
Así mismo; desde el análisis de coeficientes, el modelo inferencial incorpora 26 variables
significativas donde 18 resultaron negativas y 8 positivas, estas mismas variables en el modelo
de aprendizaje de máquina muestran 14 negativas y 4 positivas. Así también, se evidencia
que, la variable Tipo de siniestro tiene signo negativo y magnitud mayor a 2 en valor absoluto
en el caso inferencial y para el modelo de aprendizaje de máquina lo contrario, existen 4
variables que son muy similares en ambos enfoques donde el promedio de la diferencia es
tan solo 0,060 (valor absoluto) y estas son: imprudencia del conductor, control de
intersección con señalización, vía recta y autovía. Se destaca que, ambos modelos persiguen
objetivos diferentes: el inferencial busca explicar la influencia de variables independientes
basado en la significancia estadística, mientras que el de aprendizaje automático prioriza la
predicción.
Resumen en inglés
This study focuses on the characterization of traffic accidents in the Metropolitan District of
Quito between 2018 and April 2023, using inferential modeling and machine learning
approaches. The presence or not of at least one person killed in a traffic accident is the target
variable.
In the inferential model, logistic regression (Logit) is applied, using the Stepwise forward
process, researcher's criteria, and scientific references for variable selection. In the machine
learning model, an AutoML process is used for dichotomous classification functions, with a
Logit also being the best model. When comparing the results from the predictive capabilities,
it is evident that from the 5 evaluation metrics, the inferential model is superior in 4 (accuracy,
specificity, precision and MCWA), while, the machine learning model is superior in 1 (recall);
however, this does not mean that the inferential model is better for prediction since the
metrics are unbiased due to the class imbalance of the dependent variable. The recall
represents the correct predictions of the interest class, which is the target to be predicted,
therefore the machine learning model is the better predictor. Likewise, from the point of
view of the coefficient analysis, the inferential model incorporates 26 significant variables
where 18 are negative and 8 are positive. These same variables in the machine learning model
show 14 negative and 4 positive.
The variable Type of incident has a negative sign and magnitude greater than 2 as an absolute
value for the inferential case and the opposite for the machine learning model. There are 4
variables that are very similar in both approaches where the average difference is only 0.0603
(absolute value) and these are: driver recklessness, intersection control with horizontal
signaling, straight road and highway. It should be noted that both models pursue different
objectives; the inferential model tries to explain the influence of independent variables based
on statistical significance, while the machine learning model prioritizes prediction.
