[Paper Review] Markov switching models: an application to roadway safety
This paper applies Markov switching negative binomial (MSNB) models to analyze roadway accident frequency, capturing unobserved state-dependent dynamics in crash rates. The method identifies two regimes—low- and high-crash states—with significant differences in safety factor impacts, improving model fit and predictive accuracy over standard models.
In this research, two-state Markov switching models are proposed to study accident frequencies and severities. These models assume that there are two unobserved states of roadway safety, and that roadway entities (e.g., roadway segments) can switch between these states over time. The states are distinct, in the sense that in the different states accident frequencies or severities are generated by separate processes (e.g., Poisson, negative binomial, multinomial logit). Bayesian inference methods and Markov Chain Monte Carlo (MCMC) simulations are used for estimation of Markov switching models. To demonstrate the applicability of the approach, we conduct the following three studies. In the first study, two-state Markov switching count data models are considered as an alternative to zero-inflated models for annual accident frequencies, in order to account for preponderance of zeros typically observed in accident frequency data. In the second study, two-state Markov switching Poisson model and two-state Markov switching negative binomial model are estimated using weekly accident frequencies on selected Indiana interstate highway segments over a five-year time period. In the third study, two-state Markov switching multinomial logit models are estimated for severity outcomes of accidents occurring on Indiana roads over a four-year time period. One of the most important results found in each of the three studies, is that in each case the estimated Markov switching models are strongly favored by roadway safety data and result in a superior statistical fit, as compared to the corresponding standard (non-switching) models.
Motivation & Objective
- To model accident frequency on roadways using Markov switching negative binomial (MSNB) models to capture unobserved regime shifts.
- To identify how safety-related variables influence crash rates differently across high- and low-crash states.
- To improve model fit and predictive performance compared to standard Poisson and negative binomial models.
- To assess the impact of traffic volume, geometric design, pavement quality, and environmental factors on accident rates under varying conditions.
- To evaluate model convergence and estimation reliability using Bayesian MCMC methods with PSRF and marginal likelihood metrics.
Proposed method
- Employs a Markov switching negative binomial (MSNB) model to allow accident rates to switch between two unobserved regimes (high- and low-crash states) governed by a hidden Markov process.
- Uses Bayesian MCMC estimation with Metropolis-Hastings sampling to estimate model parameters, including transition probabilities between states.
- Incorporates explanatory variables such as AADT (log-transformed), pavement quality index (PQI), road segment length, and geometric features (e.g., rumble strips, shoulder width).
- Evaluates model performance using log-likelihood, marginal likelihood, and convergence diagnostics (PSRF and MPSRF).
- Compares model fit across multiple specifications: Poisson, NB, ZINB, ZIP, and MSNB, using likelihood-based criteria.
- Applies both weekly and yearly data to assess temporal stability and robustness of regime identification.
Experimental results
Research questions
- RQ1How do safety factors such as AADT, pavement quality, and geometric design influence accident frequency differently across high- and low-crash regimes?
- RQ2To what extent does the Markov switching model improve fit and predictive accuracy compared to standard Poisson and negative binomial models?
- RQ3What are the transition probabilities between high- and low-crash states, and how do they vary over time?
- RQ4How do weather and seasonal conditions affect the likelihood of being in a high-crash state?
- RQ5Are there significant differences in the impact of variables like median configuration, shoulder width, and barrier presence across the two regimes?
Key findings
- The MSNB model significantly outperforms standard Poisson and negative binomial models in terms of marginal likelihood and log-likelihood, indicating better data fit.
- The probability of transitioning from a low-crash to a high-crash state is estimated at 0.155, while the reverse transition is 0.161, suggesting relatively stable regime persistence.
- Variables such as AADT (log-transformed), PQI, and shoulder width show significantly different effects in high- versus low-crash states, with higher sensitivity in high-crash regimes.
- The presence of interior rumble strips and wider outside shoulders are associated with lower accident rates, particularly in the high-crash regime.
- The model identifies that segments with more vertical curves and higher horizontal curve curvature (higher reciprocal radius) are more likely to be in the high-crash state.
- Convergence diagnostics (max(PSRF) = 1.02 and MPSRF = 1.03) indicate reliable MCMC sampling and stable posterior estimates.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.