{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,1]],"date-time":"2026-04-01T05:50:06Z","timestamp":1775022606168,"version":"3.50.1"},"reference-count":61,"publisher":"MDPI AG","issue":"9","license":[{"start":{"date-parts":[[2021,8,30]],"date-time":"2021-08-30T00:00:00Z","timestamp":1630281600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Future Internet"],"abstract":"<jats:p>Hierarchical Bayesian models (HBM) are powerful tools that can be used for spatiotemporal analysis. The hierarchy feature associated with Bayesian modeling enhances the accuracy and precision of spatiotemporal predictions. This paper leverages the hierarchy of the Bayesian approach using the three models; the Gaussian process (GP), autoregressive (AR), and Gaussian predictive processes (GPP) to predict long-term traffic status in urban settings. These models are applied on two different datasets with missing observation. In terms of modeling sparse datasets, the GPP model outperforms the other models. However, the GPP model is not applicable for modeling data with spatial points close to each other. The AR model outperforms the GP models in terms of temporal forecasting. The GP model is used with different covariance matrices: exponential, Gaussian, spherical, and Mat\u00e9rn to capture the spatial correlation. The exponential covariance yields the best precision in spatial analysis with the Gaussian process, while the Gaussian covariance outperforms the others in temporal forecasting.<\/jats:p>","DOI":"10.3390\/fi13090225","type":"journal-article","created":{"date-parts":[[2021,8,30]],"date-time":"2021-08-30T11:01:37Z","timestamp":1630321297000},"page":"225","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":3,"title":["Spatiotemporal Traffic Prediction Using Hierarchical Bayesian Modeling"],"prefix":"10.3390","volume":"13","author":[{"given":"Taghreed","family":"Alghamdi","sequence":"first","affiliation":[{"name":"Faculty of Science, Ontario Tech University, Oshawa, ON L1G 0C5, Canada"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5892-632X","authenticated-orcid":false,"given":"Khalid","family":"Elgazzar","sequence":"additional","affiliation":[{"name":"Faculty of Engineering and Applied Science, Ontario Tech University, Oshawa, ON L1G 0C5, Canada"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Taysseer","family":"Sharaf","sequence":"additional","affiliation":[{"name":"Data Scientist, Canton, MI 4818, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2021,8,30]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1016\/j.tra.2018.08.005","article-title":"Modelling the net traffic congestion impact of bus operations in Melbourne","volume":"117","author":"Curriea","year":"2018","journal-title":"Transp. Res. Part A Policy Pract."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Chen, X., He, X., Xiong, C., Zhu, Z., and Zhang, L. (2018). A Bayesian Stochastic Kriging Optimization Model Dealing with Heteroscedastic Simulation Noise for Freeway Traffic Management. Transp. Sci.","DOI":"10.1287\/trsc.2018.0819"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Lu, S.H., Huang, D., Song, Y., Jiang, D., Zhou, T., and Qin, J. (2020). St-trafficnet: A spatial-temporal deep learning network for traffic forecasting. Electronics, 9.","DOI":"10.3390\/electronics9091474"},{"key":"ref_4","unstructured":"Gonzalo, R. (2020). Transport Gaussian Processes for Regression. arXiv."},{"key":"ref_5","unstructured":"Alexandre, A., Filliat, D., and Ibanez-Guzman, J. (2013, January 6\u20139). Modelling stop intersection approaches using gaussian processes. Proceedings of the 16th International IEEE Conference on Intelligent Transportation Systems (ITSC 2013), The Hague, The Netherlands."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"183","DOI":"10.1016\/j.trc.2016.10.019","article-title":"Short-term speed predictions exploiting big data on large urban road networks","volume":"73","author":"Fusco","year":"2016","journal-title":"Transp. Res. Part C Emerg. Technol."},{"key":"ref_7","unstructured":"Bull, A. (2006). NU. CEPAL. ECLAC. Traffic Congestion: The Problem and How to Deal with it, United Nations Publications."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"111","DOI":"10.1016\/S1474-6670(17)69272-3","article-title":"A survey of deterministic time delay traffic flow models","volume":"40","author":"Sipahi","year":"2007","journal-title":"IFAC Proc. Vol."},{"key":"ref_9","first-page":"733","article-title":"Bayesian modelling and analysis of spatio-temporal neural networks","volume":"4","author":"Rigat","year":"2006","journal-title":"Bayesian Anal."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"382","DOI":"10.1198\/016214501753168109","article-title":"Spatiotemporal hierarchical Bayesian modeling tropical ocean surface winds","volume":"96","author":"Wikle","year":"2001","journal-title":"J. Am. Stat. Assoc."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"1261","DOI":"10.1214\/18-BA1108","article-title":"Bayesian spatiotemporal modeling using hierarchical spatial priors, with applications to functional magnetic resonance imaging (with discussion)","volume":"13","author":"Bezener","year":"2018","journal-title":"Bayesian Anal."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"274","DOI":"10.1016\/j.aap.2012.11.019","article-title":"Prediction of road accidents: A Bayesian hierarchical approach","volume":"51","author":"Deublein","year":"2013","journal-title":"Accid. Anal. Prev."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"405","DOI":"10.1016\/j.ymssp.2019.03.040","article-title":"Engine noise separation through Gibbs sampling in a hierarchical Bayesian model","volume":"128","author":"Brogna","year":"2019","journal-title":"Mech. Syst. Signal Process."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"181","DOI":"10.1111\/j.1751-5823.2003.tb00192.x","article-title":"Hierarchical models in environmental science","volume":"71","author":"Wikle","year":"2003","journal-title":"Int. Stat. Rev."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"1885","DOI":"10.1002\/sim.2808","article-title":"Using hierarchical models to attribute sources of variation in consumer assessments of health care","volume":"26","author":"Zaslavsky","year":"2007","journal-title":"Stat. Med."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"1","DOI":"10.18637\/jss.v063.i19","article-title":"Bayesian spatial modelling with R-INLA","volume":"63","author":"Lindgren","year":"2015","journal-title":"J. Stat. Softw."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"95","DOI":"10.1023\/A:1020249912095","article-title":"Being Bayesian about network structure. A Bayesian approach to structure discovery in Bayesian networks","volume":"50","author":"Friedman","year":"2003","journal-title":"Mach. Learn."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"1","DOI":"10.18637\/jss.v063.i15","article-title":"spTimer: Spatio-temporal bayesian modelling using R","volume":"63","author":"Bakar","year":"2015","journal-title":"J. Stat. Softw."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"303","DOI":"10.1016\/S0968-090X(02)00009-8","article-title":"Comparison of parametric and nonparametric models for traffic flow forecasting","volume":"10","author":"Smith","year":"2002","journal-title":"Transp. Res. Part C Emerg. Technol."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"141","DOI":"10.1007\/s00521-012-0977-3","article-title":"Short-term traffic flow forecasting: Parametric and nonparametric approaches via emotional temporal difference learning","volume":"23","author":"Abdi","year":"2013","journal-title":"Neural Comput. Appl."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"261","DOI":"10.1061\/(ASCE)0733-947X(1997)123:4(261)","article-title":"Traffic flow forecasting: Comparison of modeling approaches","volume":"123","author":"Smith","year":"1997","journal-title":"J. Transp. Eng."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Fusco, G., Colombaroni, C., Comelli, L., and Isaenko, N. (2015, January 3\u20135). Short-term traffic predictions on large urban traffic networks: Applications of network-based machine learning models and dynamic traffic assignment models. Proceedings of the 2015 International Conference on Models and Technologies for Intelligent Transportation Systems (MT-ITS), Budapest, Hungary.","DOI":"10.1109\/MTITS.2015.7223242"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Cufoglu, A., Lohi, M., and Madani, K. (2008, January 12\u201314). Classification accuracy performance of na\u00efve Bayesian (NB), Bayesian networks (BN), lazy learning of Bayesian rules (LBR) and instance-based learner (IB1)-comparative study. Proceedings of the 2008 International Conference on Computer Engineering & Systems), Washington, DC, USA.","DOI":"10.1109\/ICCES.2008.4772998"},{"key":"ref_24","first-page":"2","article-title":"Neural networks: A review from a statistical perspective","volume":"9","author":"Cheng","year":"1994","journal-title":"Stat. Sci."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"38","DOI":"10.1016\/j.tra.2018.08.037","article-title":"Kriging based saturation flow models for traffic conditions in Indian cities","volume":"118","author":"Saha","year":"2018","journal-title":"Transp. Res. Part A Policy Pract."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"24","DOI":"10.1016\/j.jtrangeo.2012.12.009","article-title":"Spatial prediction of traffic levels in unmeasured locations: Applications of universal kriging and geographically weighted regression","volume":"29","author":"Selby","year":"2013","journal-title":"J. Transp. Geogr."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"A1","DOI":"10.1051\/0004-6361\/201219739","article-title":"Interpolating point spread function anisotropy","volume":"123","author":"Gentile","year":"2013","journal-title":"Astron. Astrophys."},{"key":"ref_28","unstructured":"Kotusevski, G., and Hawick, K.A. (2021, August 23). A Review of Traffic Simulation Software; Massey University: 2009. Available online: http:\/\/www.exec-ed.ac.nz\/massey\/fms\/Colleges\/College%20of%20Sciences\/IIMS\/RLIMS\/Volume13\/TrafficSimulatorReview_arlims.pdf."},{"key":"ref_29","unstructured":"Jones, S.L., Sullivan, A.J., Cheekoti, N., Anderson, M.D., and Malave, D. (2021, August 23). Traffic Simulation Software Comparison Study; UTCA Report; 2004. Available online: https:\/\/docplayer.net\/11265523-Traffic-simulation-software-comparison-study.html."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"281","DOI":"10.1016\/j.jksus.2010.12.008","article-title":"Estimation of origin\u2013destination matrices for mass event: A case of Macau Grand Prix","volume":"23","author":"Wong","year":"2011","journal-title":"J. King Saud Univ. -Sci."},{"key":"ref_31","unstructured":"Shirley, K., Vasilaky, K., Greatrex, H., Osgood, D., and Hierarchical Bayes Models for Daily Rainfall Time Series at Multiple Locations from Heterogenous Data Sources (2021, August 23). Earth Institute and International Research Institute for Climate and Society. Available online: https:\/\/citeseerx.ist.psu.edu\/viewdoc\/download?doi=10.1.1.734.9836&rep=rep1&type=pdf."},{"key":"ref_32","unstructured":"Shuler, K. (2020). Bayesian Hierarchical Models for Count Data. Statistical Science,. [Ph.D. Thesis, University of California]."},{"key":"ref_33","unstructured":"Normington, J.P. (2019). Bayesian Hierarchical Difference-in-Differences Models. [Ph.D. Thesis, The University of Minnesota]."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"2365","DOI":"10.1001\/jama.2018.17977","article-title":"Bayesian Hierarchical Models","volume":"320","author":"McGlothlin","year":"2018","journal-title":"Am. Med. Assoc."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"61","DOI":"10.1198\/108571106X95746","article-title":"Spatio-temporal modeling of fine particulate matter","volume":"11","author":"Sahu","year":"2006","journal-title":"J. Agric. Biol. Environ. Stat."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"1286","DOI":"10.1214\/16-AOAS931","article-title":"Nonseparable dynamic nearest neighbor Gaussian process models for large spatio-temporal data with an application to particulate matter analysis","volume":"10","author":"Datta","year":"2016","journal-title":"Ann. Appl. Stat."},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"636","DOI":"10.1016\/j.trc.2018.08.007","article-title":"Heteroscedastic Gaussian processes for uncertainty modeling in large-scale crowdsourced traffic data","volume":"95","author":"Rodriguesa","year":"2018","journal-title":"Transp. Res. Part C Emerg. Technol."},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Liu, S., Yue, Y., and Krishnan, R. (2013, January 11\u201314). Adaptive collective routing using gaussian process dynamic congestion models. Proceedings of the 19th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, New York, NY, USA.","DOI":"10.1145\/2487575.2487598"},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Id\u00e9, T., and Kato, S. (May, January 30). Travel-time prediction using Gaussian process regression: A trajectory-based approach. Proceedings of the 2009 SIAM International Conference on Data Mining, Sparks, NV, USA.","DOI":"10.1137\/1.9781611972795.101"},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Neumann, M., Kersting, K., Xu, Z., and Schulz, D. (2009, January 6\u20139). Stacked Gaussian process learning. Proceedings of the 2009 Ninth IEEE International Conference on Data Mining, Miami, FL, USA.","DOI":"10.1109\/ICDM.2009.56"},{"key":"ref_41","unstructured":"Cheng, C.A., and Boots, B. (2017). Variational inference for Gaussian process models with linear complexity. arXiv."},{"key":"ref_42","unstructured":"Lu, S.H., Huang, D., Song, Y., Jiang, D., Zhou, T., and Qin, J. (2015). Efficient multiscale Gaussian process regression using hierarchical clustering. arXiv."},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Chen, P., Yuan, H., and Shu, X. (2008, January 18\u201320). Forecasting crime using the arima model. Proceedings of the Fifth International Conference on Fuzzy Systems and Knowledge Discovery, Jinan, China.","DOI":"10.1109\/FSKD.2008.222"},{"key":"ref_44","doi-asserted-by":"crossref","unstructured":"Alghamdi, T., Elgazzar, K., Bayoumi, M., Sharaf, T., and Shah, S. (2019, January 24\u201328). Forecasting traffic congestion using ARIMA modeling. Proceedings of the 15th International Wireless Communications & Mobile Computing Conference (IWCMC), Tangier, Morocco.","DOI":"10.1109\/IWCMC.2019.8766698"},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Chen, C., Hu, J., Meng, Q., and Zhang, Y. (2011, January 5\u20139). Short-time traffic flow prediction with ARIMA-GARCH model. Proceedings of the 2011 IEEE Intelligent Vehicles Symposium (IV), Baden, Germany.","DOI":"10.1109\/IVS.2011.5940418"},{"key":"ref_46","doi-asserted-by":"crossref","first-page":"61","DOI":"10.1016\/j.ijid.2018.07.003","article-title":"Epidemiology and ARIMA model of positive-rate of influenza viruses among children in Wuhan, China: A nine-year retrospective study","volume":"74","author":"He","year":"2018","journal-title":"Int. J. Infect. Dis."},{"key":"ref_47","doi-asserted-by":"crossref","unstructured":"Song, Z., Guo, Y., and Wu, Y. (2019). Short-term traffic speed prediction under different data collection time intervals using a SARIMA-SDGM hybrid prediction model. PLoS ONE, 14.","DOI":"10.1371\/journal.pone.0218626"},{"key":"ref_48","doi-asserted-by":"crossref","first-page":"3051","DOI":"10.1002\/sim.963","article-title":"Dynamic linear model and SARIMA: A comparison of their forecasting performance in epidemiology","volume":"20","author":"Nobre","year":"2018","journal-title":"Stat. Med."},{"key":"ref_49","doi-asserted-by":"crossref","first-page":"825","DOI":"10.1111\/j.1467-9868.2008.00663.x","article-title":"Gaussian predictive process models for large spatial data sets","volume":"70","author":"Banerjee","year":"2008","journal-title":"J. R. Stat. Soc. Ser. B (Stat. Methodol.)"},{"key":"ref_50","doi-asserted-by":"crossref","first-page":"997","DOI":"10.1002\/env.1131","article-title":"Adaptive Gaussian predictive process models for large spatial datasets","volume":"22","author":"Guhaniyogi","year":"2011","journal-title":"Environmetrics"},{"key":"ref_51","doi-asserted-by":"crossref","first-page":"2","DOI":"10.1111\/1467-9574.00060","article-title":"What are the advantages of MCMC based inference in latent variable models?","volume":"56","author":"Paap","year":"2002","journal-title":"Stat. Neerl."},{"key":"ref_52","unstructured":"Cressie, N., and Hoboken, C.K.W. (2011). Statistics for Spatio-Temporal Data, Wiley. [2nd ed.]."},{"key":"ref_53","doi-asserted-by":"crossref","first-page":"3","DOI":"10.1111\/1467-9868.00160","article-title":"Fractal analysis of surface roughness by using spatial data","volume":"61","author":"Davies","year":"1999","journal-title":"J. R. Stat. Soc. Ser. B Stat. Methodol."},{"key":"ref_54","first-page":"299","article-title":"Classes of kernels for machine learning: A statistics perspective","volume":"2","author":"Genton","year":"2001","journal-title":"J. Mach. Learn. Res."},{"key":"ref_55","doi-asserted-by":"crossref","unstructured":"Rasmussen, C.E., and Williams, C.K.I. (2006). Gaussian Processes for Machine Learning, TMIT Press.","DOI":"10.7551\/mitpress\/3206.001.0001"},{"key":"ref_56","doi-asserted-by":"crossref","unstructured":"Minasny, B., and McBratney, A.B. (2005). The Mat\u00e9rn Function as a General Model for Soil Variograms, Elsevier BV.","DOI":"10.1016\/j.geoderma.2005.04.003"},{"key":"ref_57","doi-asserted-by":"crossref","unstructured":"Gelman, A., Carlin, J.B., Stern, H.S., and Rubin, D.B. (1995). SBayesian Data Analysis, Chapman and Hall\/CRC. [3rd ed.].","DOI":"10.1201\/9780429258411"},{"key":"ref_58","first-page":"47","article-title":"Deciphering west philippine sea: A plutchik and VADER algorithm sentiment analysis","volume":"11","author":"Johansen","year":"2018","journal-title":"Indian J. Sci. Technol."},{"key":"ref_59","doi-asserted-by":"crossref","first-page":"3924","DOI":"10.1121\/1.2935961","article-title":"Numerical prediction of the effect of traffic lights on the vehicle noise at urban street intersections","volume":"123","author":"Ahac","year":"2008","journal-title":"J. Acoust. Soc. Am."},{"key":"ref_60","doi-asserted-by":"crossref","first-page":"38","DOI":"10.1016\/j.neucom.2015.12.114","article-title":"Mean absolute percentage error for regression models","volume":"192","author":"Golden","year":"2016","journal-title":"Neurocomputing"},{"key":"ref_61","first-page":"1525","article-title":"Root mean square error (RMSE) or mean absolute error (MAE)","volume":"7","author":"Chai","year":"2014","journal-title":"Geosci. Model Dev. Discuss."}],"container-title":["Future Internet"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1999-5903\/13\/9\/225\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T06:55:58Z","timestamp":1760165758000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1999-5903\/13\/9\/225"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,8,30]]},"references-count":61,"journal-issue":{"issue":"9","published-online":{"date-parts":[[2021,9]]}},"alternative-id":["fi13090225"],"URL":"https:\/\/doi.org\/10.3390\/fi13090225","relation":{},"ISSN":["1999-5903"],"issn-type":[{"value":"1999-5903","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,8,30]]}}}