Forecasting Urban Traffic in Adelaide with Autoregressive Models and Exogenous Regressors
Abstract
Predicting traffic volumes is crucial for reducing congestion on roads while avoiding unnecessary over-spending on road infrastructure. This study uses AutoRegressive (AR), AutoRegressive Integrated Moving Average (ARIMA), and Seasonal ARIMA models with eXogenous regressors (SARIMAX) models to make hourly traffic volume predictions at seven locations in the vicinity of the Adelaide Central Market; the AR and ARIMA models were trained on daily data, and the SARIMAX model was trained on hourly data. For improved performance, a logarithm return function was combined with a z-score test and an IQR test to remove data outliers before using time-weighted linear interpolation or exponential smoothing to fill in missing data. Statistical tests such as the Augmented Dickey-Fuller (ADF) and Partial Autocorrelation Function (PACF) were applied to the models to determine their optimal coefficients. The accuracy of each model was measured using R-square (R2), root mean square error (RMSE), mean absolute percentage error (MAPE), and symmetric MAPE (sMAPE). All three models had lower MAPE and sMAPE values, all less than 20%. The SARIMAX produced the best R2results with all values at least 0.90, while the other two models performed poorly in this test. Overall, the SARIMAX model yielded the most productive results; urban planners can use this model to forecast future traffic volumes and make adjustments to road networks to mitigate congestion.
References
- B, Loo, “Transport, urban, ” in International Encyclopedia of Human Geography, R. Kitchin and N. Thrift, Eds., Oxford: Elsevier, 2009, pp. 465–469, ISBM: 978-0-08-044910-4. DOI: https: //doi.org/10.1016/ B978-008044910-4.01039-7. [Online]. Available: https: //www. Sciencedirect.com/science/article/pii/.
- Federal Highway Administration, C. Systematics, and T. T. Institute, "Traffic congestion and reliability: Trends and advanced strategies for congestion mitigation, " Federal Highway Administration, Tech. Rep. FHWA-HOP-05-064, Sep. 2005. [Online]. Available: https: //ops.fhwa.dot.gov/congestion_report/.
- K. Zhang and S. Batterman, "Air pollution and health risks due to vehicle traffic, " Science of the Total Environment, pp. 307-316, 2013. DOI: 10.1016/j.scitotenv.2013.01.074. [Online]. Available: https: //www.ncbi.nlm.nih.gov/pmc/articles/PMC4243514/.
- D. T. Hartgen and M. G. Fields, "Gridlock and growth: The effect of traffic congestion on regional economic performance, " Reason Foundation, Los Angeles, CA, Tech. Rep. Policy Study No. 371, Aug. 2009. [Online]. Available: https: //reason.org/wp-content/uploads/ files/ps371_growth_gridlock_cities_ full_study.pdf.
- X. Wang and T. Liu, "The roads one must walk down: Commute and depression for beijing's residents, " Transportation Research Part D: Transport and Environment, vol. 109, p. 103316, 2022. DOI: 10.1016/j.trd.2022.103316. [Online]. Available: https: //www.sciencedirect.com/ science/article/pii/ S1361920922001444.
- L. Pun, P. Zhao, and X. Liu, "A multiple regression approach for traffic flow estimation, " IEEE Access, vol. 7, pp. 35998-36 009, 2019. DOI: 10.1109/ACCESS.2019.2904645. [Online]. Available: https: //ieeexplore.ieee.org/document/8666125.
- M. Akhtar, S. Moridpour, and M. Nazem, "Traffic forecasting in a freeway corridor using seasonal arima model, " in Australasian Transport Research Forum 2021 Proceedings, Brisbane, Australia, Dec. 2021. [Online]. Available: https: //australasiantransportresearchforum.org.au/wp-content/uploads/2022/05/ ATRF2021_Resubmission_117-1.pdf.
- V. N. Katambire, R. Musabe, A. Uwitonze, and D. Mukanyiligira, "Forecasting the traffic flow by using arima and 1stm models: Case of muhima junction, " Surveillance, vol. 5, no. 4, 2023. DOI: 10.3390/2571-9394/ 5(4)/34. [Online]. Available: https: //www.mdpi.com/2571-9394/5/4/34.
- O. Bazrafshan, H. Zamani, B. Farokhzadeh, and T. Caloiero, "A spectral analysis-driven SARIMAX framework with fourier terms for monthly dust concentration forecasting, " Earth, vol. 6, no. 4, p. 123, 2025. DOI: 10.3390/earth6040123. [Online]. Available: https: //www. mdpi.com/2673-4834/6/4/123.
- R. J. Nau, The logarithm transformation, Web page, Decision 411 - Forecasting course, Duke University, 2007. [Online]. Available: https: //people.duke.edu/~rnau/Decision411_2007/ 411log.htm.
- City of Adelaide, Traffic intersection volumes (scats) - hourly counts at traffic-signal intersections, adelaide city council jurisdiction, Dataset, Data.SA - Government of South Australia, 2022. [Online]. Available: https: //data.sa.gov.au/data/dataset/traffic-intersection-count.
- R. Pereira et al., "Imputation of data missing not at random: Artificial intelligence and machine learning approaches, " Journal of Computational Science, vol. 66, pp. 101-110, 2024. DOI: 10.1016/j.jocs.2024. 101110. [Online]. Available: https: //www.sciencedirect.com/science/ article/pii/ S0957417424005207.
- R. J. Nau, Identifying the order of differencing in arima models, 2007. [Online]. Available: https: //people. duke.edu/~rnau/411arim2.htm.
- N. Duan, "Smearing estimate: A nonparametric retransformation method, " Journal of the American Statistical Association, vol. 78, no. 383, pp. 605-610, 1983. DOI: 10.2307/2288126. [Online]. Available: https : //www.jstor.org/stable/2288126.
- C. D. Lewis, Industrial and Business Forecasting Methods. London: Butterworths, 1982. [Online]. Available: https: //www.researchgate.net/figure/Criteria-for-accuracy-level-of-MAPE-Lewis1982_tbl2_ 271562818.