An application of Bayesian Hidden Markov Models to explore traffic flow conditions in an urban area

This study employs Bayesian Hidden Markov Models as method to explore vehicle traffic flow conditions in an urban area in Stockholm, based on sensor data from separate road positions. Inter-arrival times are used as the observed sequences. These sequences of inter-arrival times are assumed to be gen...

Full description

Bibliographic Details
Main Author: Andersson, Lovisa
Format: Others
Language:English
Published: Uppsala universitet, Statistiska institutionen 2019
Subjects:
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:uu:diva-385187
id ndltd-UPSALLA1-oai-DiVA.org-uu-385187
record_format oai_dc
spelling ndltd-UPSALLA1-oai-DiVA.org-uu-3851872019-06-19T05:30:53ZAn application of Bayesian Hidden Markov Models to explore traffic flow conditions in an urban areaengAndersson, LovisaUppsala universitet, Statistiska institutionen2019Bayesian statisticshidden statesMarkov chaintraffic flow modelingfilteringsmoothingmost probable state sequenceMCMCHamiltonian Monte CarloNo-U-Turn samplerProbability Theory and StatisticsSannolikhetsteori och statistikThis study employs Bayesian Hidden Markov Models as method to explore vehicle traffic flow conditions in an urban area in Stockholm, based on sensor data from separate road positions. Inter-arrival times are used as the observed sequences. These sequences of inter-arrival times are assumed to be generated from the distributions of four different (and hidden) traffic flow states; nightly free flow, free flow, mixture and congestion. The filtered and smoothed probability distributions of the hidden states and the most probable state sequences are obtained by using the forward, forward-backward and Viterbi algorithms. The No-U-Turn sampler is used to sample from the posterior distributions of all unknown parameters. The obtained results show in a satisfactory way that the Hidden Markov Models can detect different traffic flow conditions. Some of the models have problems with divergence, but the obtained results from those models still show satisfactory results. In fact, two of the models that converged seemed to overestimate the presence of congested traffic and all the models that not converged seem to do adequate estimations of the probability of being in a congested state. Since the interest of this study lies in estimating the current traffic flow condition, and not in doing parameter inference, the model choice of Bayesian Hidden Markov Models is satisfactory. Due to the unsupervised nature of the problematization of this study, it is difficult to evaluate the accuracy of the results. However, a model with simulated data and known states was also implemented, which resulted in a high classification accuracy. This indicates that the choice of Hidden Markov Models is a good model choice for estimating traffic flow conditions. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:uu:diva-385187application/pdfinfo:eu-repo/semantics/openAccess
collection NDLTD
language English
format Others
sources NDLTD
topic Bayesian statistics
hidden states
Markov chain
traffic flow modeling
filtering
smoothing
most probable state sequence
MCMC
Hamiltonian Monte Carlo
No-U-Turn sampler
Probability Theory and Statistics
Sannolikhetsteori och statistik
spellingShingle Bayesian statistics
hidden states
Markov chain
traffic flow modeling
filtering
smoothing
most probable state sequence
MCMC
Hamiltonian Monte Carlo
No-U-Turn sampler
Probability Theory and Statistics
Sannolikhetsteori och statistik
Andersson, Lovisa
An application of Bayesian Hidden Markov Models to explore traffic flow conditions in an urban area
description This study employs Bayesian Hidden Markov Models as method to explore vehicle traffic flow conditions in an urban area in Stockholm, based on sensor data from separate road positions. Inter-arrival times are used as the observed sequences. These sequences of inter-arrival times are assumed to be generated from the distributions of four different (and hidden) traffic flow states; nightly free flow, free flow, mixture and congestion. The filtered and smoothed probability distributions of the hidden states and the most probable state sequences are obtained by using the forward, forward-backward and Viterbi algorithms. The No-U-Turn sampler is used to sample from the posterior distributions of all unknown parameters. The obtained results show in a satisfactory way that the Hidden Markov Models can detect different traffic flow conditions. Some of the models have problems with divergence, but the obtained results from those models still show satisfactory results. In fact, two of the models that converged seemed to overestimate the presence of congested traffic and all the models that not converged seem to do adequate estimations of the probability of being in a congested state. Since the interest of this study lies in estimating the current traffic flow condition, and not in doing parameter inference, the model choice of Bayesian Hidden Markov Models is satisfactory. Due to the unsupervised nature of the problematization of this study, it is difficult to evaluate the accuracy of the results. However, a model with simulated data and known states was also implemented, which resulted in a high classification accuracy. This indicates that the choice of Hidden Markov Models is a good model choice for estimating traffic flow conditions.
author Andersson, Lovisa
author_facet Andersson, Lovisa
author_sort Andersson, Lovisa
title An application of Bayesian Hidden Markov Models to explore traffic flow conditions in an urban area
title_short An application of Bayesian Hidden Markov Models to explore traffic flow conditions in an urban area
title_full An application of Bayesian Hidden Markov Models to explore traffic flow conditions in an urban area
title_fullStr An application of Bayesian Hidden Markov Models to explore traffic flow conditions in an urban area
title_full_unstemmed An application of Bayesian Hidden Markov Models to explore traffic flow conditions in an urban area
title_sort application of bayesian hidden markov models to explore traffic flow conditions in an urban area
publisher Uppsala universitet, Statistiska institutionen
publishDate 2019
url http://urn.kb.se/resolve?urn=urn:nbn:se:uu:diva-385187
work_keys_str_mv AT anderssonlovisa anapplicationofbayesianhiddenmarkovmodelstoexploretrafficflowconditionsinanurbanarea
AT anderssonlovisa applicationofbayesianhiddenmarkovmodelstoexploretrafficflowconditionsinanurbanarea
_version_ 1719207090228035584