January 16, 2026
Predictive analysis of supply chain delays with binary logistic regression
Author: Marcelo Augusto Romanine Teberga — Advisor: José Erasmo Silva
Summary prepared by the ResumeAI tool, an artificial intelligence solution developed by Instituto Pecege focused on synthesis and writing.
Globally, supply chains face challenges such as demand uncertainty and market volatility, affecting the predictability of the logistics flow (Panova & Hilletofth, 2018). Effective management of these flows is a pillar for operational resilience, allowing for reduced delays and prevention of supply failures (Eddine et al., 2021). Forecasting models and risk mitigation strategies, such as simulation and dynamic modeling, support decision-making in environments with variable demand and uncertain delivery times (Michna et al., 2018). Delays in this stage can cause a cascading effect, impacting safety stocks, production schedules, and final customer delivery (Panova & Hilletofth, 2018).
Uncertainties in delivery times and delays in supplier payments increase financial and operational risks, potentially deteriorating business relationships and limiting access to strategic suppliers in the future (Eddine et al., 2021).
To mitigate these risks, strategies such as supplier diversification, strategic partnership development, and the implementation of predictive models are increasingly recognized as effective in enhancing the resilience of the procurement process (Michna et al., 2018). However, every risk mitigation strategy entails costs and may introduce new challenges, creating a complex balance between resilience and efficiency (Chopra, 2019). The relevance of punctuality is historically validated: a study by Shycon Associates identified delivery delays as one of the main problems for purchasing executives, accounting for almost half of the complaints registered (Baritz & Zissman, 1983), an insight that remains true decades later. The importance of consistency in delivery times is corroborated by research on the service elements most valued by corporate customers.
A study with 254 buyers from 25 companies highlighted consistency in delivery time as the most crucial factor in physical distribution, even surpassing delivery speed (Jackson et al., 1986). Predictability allows companies to plan their operations with greater confidence, optimize their inventories, and meet their own customer commitments. Elements such as on-time delivery, order fulfillment rate, product condition upon arrival, and documentation accuracy are essential for building a trusting relationship and ensuring customer satisfaction. Modern complexity demands more sophisticated approaches, such as dynamic lead time forecasting using machine learning, which demonstrate greater accuracy than traditional statistical models by capturing non-linear patterns and complex interactions between variables (Alnahhal et al., 2021).
Recent research, such as Rathi (2024), reinforces this trend by comparing models like Logistic Regression and Random Forest to predict e-commerce delays, identifying variables such as days to shipment, modal type, and supplier region as having the greatest predictive influence.
For the conduction of this study, a database extracted directly from the Enterprise Resource Planning (ERP) system of an Oil and Gas company located in Taubaté, São Paulo, was used. The ERP system centralizes the company’s operational information, ensuring the integrity and consistency of purchasing, logistics, and production data. The dataset, covering the period from January 2021 to December 2023, contained a total of 2953 purchase order records, each with its respective planned and actual delivery dates. The data were exported in .xlsx format for analysis in statistical software. Data treatment and preparation were crucial steps of the methodology. Initially, the database was cleaned to identify and treat missing or inconsistent data. Records with critical missing information, such as delivery dates, were removed from the analysis.
The response variable, which is the focus of the model, was created in a binary format from the dates. An order was classified as “late” (value 1) if the actual delivery date exceeded the date predicted in the MRP system by more than three days. This three-day tolerance was defined in conjunction with area managers to reflect operational practice, which considers small variations acceptable and non-disruptive. Orders delivered on the predicted date or up to three days late were classified as “on time” (value 0). Categorical variables, such as “supplier location” and “incoterms”, were transformed into dummy variables to be included in the regression model. The selection of predictor variables was guided by both the literature and the practical knowledge of the company’s experts.
The “order lead time” variable was included on the belief that longer delivery times are exposed to a greater number of potential failure points. “Supplier location” (domestic vs. international) was considered fundamental, as international suppliers involve import processes, customs clearance, and long-distance transportation, factors that historically contribute to lead time variability. “Transportation mode” (air, sea, road) was also analyzed as a potential predictor, given that each mode has distinct characteristics of speed, cost, and reliability. “Incoterms” were selected because they define the point of transfer of risk and responsibility between buyer and seller, which can influence each party’s incentive to ensure punctuality. Finally, “standard price” was tested under the hypothesis that higher-value items might receive priority treatment, or, alternatively, could be more complex and therefore more prone to delays.
Binary logistic regression was the statistical method chosen for this analysis. It is a classification model that estimates the probability of a dichotomous event occurring based on a set of predictor variables, by fitting a logit function to the data. It is particularly suitable for dependent variables with only two possible outcomes, such as “delay” or “no delay”, and is widely used in various fields. Its application is valuable in credit risk analysis to predict the probability of default (Gonçalves et al., 2013), in health studies to model the probability of a patient developing a disease, and in marketing to predict the probability of a customer responding to a campaign. The main advantage of the model is the interpretability of its coefficients, which can be converted into odds ratios, facilitating the understanding of the impact of each variable on the probability of the outcome.
For the model construction, the dataset was randomly divided into two samples: 70% for model training and 30% for testing and validation, a standard practice to avoid overfitting and ensure that the model’s performance is generalizable to new data. The model’s performance evaluation was carried out using a set of standard classification metrics. Overall accuracy, which measures the proportion of correct predictions, was the first metric analyzed. However, in cases of imbalanced classes (where one outcome is much more frequent than the other), accuracy can be misleading. Therefore, precision and recall were also calculated. Precision measures, out of all “delay” predictions, how many were actually correct, being important to avoid false alarms that could lead to unnecessary interventions.
Recall (or sensitivity) measures, out of all actual delays, how many the model correctly identified, being crucial to ensure the model does not fail to alert about important risks. The F1-Score, which is the harmonic mean between precision and recall, was used as a balancing metric. Additionally, the ROC (Receiver Operating Characteristic) curve was generated and the Area Under the Curve (AUC) was calculated, which measures the model’s overall ability to discriminate between the “delayed” and “on-time” classes. An AUC value close to 1.0 indicates excellent discriminatory power, while a value of 0.5 suggests performance no better than chance.
The descriptive analysis of the data revealed that, out of the 2953 orders analyzed in the period, 974 (approximately 33%) were classified as delayed according to the three-day tolerance criterion. This delay rate already indicates a significant operational challenge for the company. The distribution of suppliers showed that 65% of the orders were of national origin, while 35% were from international suppliers. The predominant transportation mode was road for national deliveries and maritime for international ones.
The initial analysis already suggested a correlation between supplier origin and the occurrence of delays, with international orders showing a delay rate of 48%, compared to 25% for domestic orders. The “supplier location” variable had the greatest impact. The odds ratio associated with international suppliers was 2.8, indicating that, holding other variables constant, an order from an international supplier has a 180% higher chance of being delayed compared to an order from a domestic supplier. The “order lead time” also proved to be a relevant predictor, with an odds ratio of 1.05 for each additional week, suggesting that longer lead times systematically increase the probability of delay. Curiously, the “Std_Price” variable showed no statistical significance, refuting the initial hypothesis that the item’s value would influence punctuality.
The model’s performance, evaluated on the test dataset, was considered robust. The overall accuracy achieved was 81%. The model’s precision for the “delayed” class was 76%, meaning that when the model predicted a delay, it was correct 76% of the time. The recall was 70%, indicating that the model was able to identify 70% of all delays that actually occurred. The resulting F1-Score was 0.73, demonstrating a good balance between precision and recall. The Area Under the ROC Curve (AUC) was 0.84, a value that confirms the model’s strong discriminatory power to distinguish between orders that will arrive on time and those that will be delayed. These results validate the model as a useful and reliable tool for risk management in the company’s supply chain.
The discussion of the results allows connecting the statistical findings with operational reality and literature. The strong influence of the variable “supplier location” is aligned with expectations, reflecting the complexity inherent in global supply chains, which involve multiple modes, customs barriers, and greater exposure to disruptive events. The impact of “lead time” corroborates the idea that longer processes accumulate more uncertainty and potential failure points, as argued by Panova & Hilletofth (2018). The significance of certain “incoterms” suggests that the contractual structure and clear definition of logistical responsibilities play an important role in mitigating delays. The non-significance of price may indicate that, in practice, the criticality of the item for the operation is a more determining factor than its monetary value, or that the company already applies rigorous control measures for all items, regardless of cost.
The practical application of this model allows the purchasing team, when evaluating quotes, to base their decisions not only on price and deadline, but also on the probability of delay calculated by the model. A supplier with a lower price, but with a high probability of delay, may end up generating a higher total cost for the company due to production stoppages or the need for emergency shipping.
It is concluded that the objective was achieved, as the study successfully developed and validated a binary logistic regression model capable of predicting the probability of supplier delivery delays based on historical ERP data. The model identified key risk factors, such as international supplier origin and extended lead time, providing the company with a quantitative tool to support strategic and tactical decision-making. The practical implications are direct: the model can be integrated into the supplier selection and evaluation process, allowing for more proactive and informed risk management. As limitations, the study relied on data from a single company and did not include external variables, such as macroeconomic indicators or data on global logistics congestion.
Future research could expand the model by incorporating these external variables and testing more complex machine learning algorithms, such as Random Forest or Gradient Boosting, to potentially capture non-linear relationships and further improve predictive accuracy.
References:
Alnahhal, M. 2021. Dynamic Lead-Time Forecasting Using Machine Learning. Applied Sciences 11(21): 10105.
Baritz, S. G.; Zissman, L. 1983. Researching Customer Service: The Right Way. In: The National Council of Physicial Distribution Management, 1983, New Orleans, LA, USA. Proceedings… p. 608-619.
Chopra, S. 2019. Supply Chain Management Strategy, Planning, and Operation. 7th ed. Pearson Education Limited, Harlow, UK.
Eddine, M. H. S.; Tarik, T.; Berrado, A. 2021. Modelling the impact of payment delays on the performance of multi-echelon supply chains: the case of grocery distribution in Morocco. Production Planning and Control 34(5): 407-422.
Fávero, L. P.; Belfiore, P. 2023. Data Analysis Manual – Statistics and Machine Learning with Excel®, SPSS®, Stata®, R® and Python®. 2nd ed. LTC Editora, Rio de Janeiro, RJ, Brazil.
Gonçalves, E. B.; Gouvêa, M. A.; Mantovani, D. M. N. 2013. Credit risk analysis using logistic regression. Revista Contemporânea de Contabilidade 10(20): 139-160.
Jackson, D. W.; Keith, J. E.; Burdick, R. K. 1986. Examining the Relative Importance of Physical Distribution Service Elements. Journal of Business Logistics 7(2): 14-32.
Michna, Z.; Nielsen, P.; Nielsen, I. E. 2018. The impact of stochastic lead times on the bullwhip effect–a theoretical insight. Production and Manufacturing Research 6(1): 190–200.
Nasri, A. L. X. G.; Masset, G. G. 2024. Development of logistic regression models for binary classification of Covid-19 and statistical prediction of deaths. Research, Society and Development 13(4): e011344-e011344.
Panova, Y.; Hilletofth, P. 2018. Managing supply chain risks and delays in construction project. Industrial Management and Data Systems 118(7): 1413-1431.
Prearo, L. C.; Gouvêa, M. A.; Monari, C. 2009. Evaluation of the use of the logistic regression technique in theses and dissertations from some higher education institutions. Semina: Ciências Sociais e Humanas 30(2): 37-52.
Rathi, A. 2024. Optimising Supply Chain Performance with Machine Learning for Predicting Late Deliveries. Dissertation (Master’s) in Data Analytics. National College of Ireland, Dublin, Ireland.
Rokach, L.; Maimon, O. Z. 2014. Data Mining with Decision Trees: Theory and Applications. 2nd ed. World Scientific Publishing Company, Singapore, Singapore.
Sathyanarayanan, S.; Tantri, B. R. 2024. Confusion Matrix-Based Performance Evaluation Metrics. African Journal of Biomedical Research 27(4s): 4023-4031.
Vieira, D. G.; Lima, G. B. A.; Sant’anna, A. P. 2015. Problem-solving method in supply management: use of logistic regression for analysis of causes of delays in material receipt. Exacta – EP 13(1): 115-131.
Executive summary from the Final Course Work of the Specialization in Data Science and Analytics of the MBA USP/Esalq
Learn more about the course; click here: