---
category: literaturenote
citekey: pengapplyinggeneralizedwaringmodel2014
title: Applying the Generalized Waring model for investigating sources of variance in motor vehicle crash analysis
authors: "Peng, Yichuan; Lord, Dominique; Zou, Yajie"
year: 2014
date: 2014-00-00 2014
doi: 10.1016/j.aap.2014.07.031
publication: "Accident Analysis & Prevention"
url: "https://doi.org/10.1016/j.aap.2014.07.031"
zotero_key: PKRD4JPN
zotero_storage: UEMR4ZHT
collections: transpordi_planeerimine
folder: 001_artiklid/Road Safety Indicators
firstAuthor: "Peng, Yichuan"
status: converted
---
Contents lists available at [ScienceDirect](http://www.sciencedirect.com/science/journal/00014575)
# Accident Analysis and Prevention
journal homepage: [www.elsevier.com/locate/aap](http://www.elsevier.com/locate/aap)

# Applying the Generalized Waring model for investigating sources of variance in motor vehicle crash analysis

Yichuan Penga,∗, Dominique Lordb,1, Yajie Zoub,2
- a Department of Civil Engineering, University of Central Florida, 4000 Central Florida Blvd, Orlando, FL 32816, United States
- b Zachry Development, Texas A&M University, 3136 TAMU, College Station, TX 77843-3136, United States
## article info
Article history: Received 21 April 2014 Received in revised form 28 July 2014 Accepted 28 July 2014 Available online 28 August 2014
Keywords: Generalized Waring model Negative binomial model Over dispersion Randomness Proneness Crash modeling
## abstract
As one of the major analysis methods, statistical models play an important role in traffic safety analysis. They can be used for a wide variety of purposes, including establishing relationships between variables and understanding the characteristics of a system. The purpose of this paper is to document a new type of model that can help with the latter. This model is based on the Generalized Waring (GW) distribution. The GW model yields more information about the sources of the variance observed in datasets than other traditional models, such as the negative binomial (NB) model. In this regards, the GW model can separate the observed variability into three parts: (1) the randomness, which explains the model's uncertainty; (2) the proneness, which refers to the internal differences between entities or observations; and (3) the liability, which is defined as the variance caused by other external factors that are difficult to be identified and have not been included as explanatory variables in the model. The study analyses were accomplished using two observed datasets to explore potential sources of variation. The results show that the GW model can provide meaningful information about sources of variance in crash data and also performs better than the NB model.
© 2014 Elsevier Ltd. All rights reserved.
## **1. Introduction**
As one of the major safety analysis methods, crash modelings play an important role in traffic safety analysis [\(Geedipally et al.,](#page-6-0) [2010\).](#page-6-0) They can be used to explain random variations of crashes across sites based on the available information, such as traffic flow and other roadway geometric variables. Despite the introduction of many new models over the last decade or so, very few models have been developed or proposed for investigating the nature of the over-dispersion commonly observed in crash data. So far, models with a varying dispersion parameter ([Hauer, 2001;](#page-6-0) [Miaou and Lord, 2003; Park and Lord, 2008; Connors et al., 2013\),](#page-6-0) the latent class/finite mixture/Markov switching models [\(Park and](#page-6-0) [Lord, 2009; Malyshkina et al., 2009; Eluru et al., 2012; Zou et al.,](#page-6-0) [2013a,b; Yasmin et al., 2013; Mannering and Bhat, 2014\) a](#page-6-0)nd random parameter models ([Anastasopoulos and Mannering, 2009;](#page-5-0) [Shamsunnahar et al., 2013; Xiong and Mannering, 2013; Chen and](#page-5-0) [Tarko, 2014\)](#page-5-0) have been used for investigating over-dispersion. In addition to the count models, Castro et al. [\(Castro et al., 2012; Castro](#page-5-0) [et al., 2013\) p](#page-5-0)roposed a spatial generalized ordered-responsemodel which is one of crash severity models to predict crash frequency at urban intersections to examine highway crash injury severity. Understanding the sources of heterogeneity could help in better strategizing the implementation of treatments for improving safety by focusing efforts on the more important variables that are the major sources of heterogeneity (observations that are far away from the mean).
It has been shown that the variability found in crash data usually result in over-dispersion. The heterogeneity can be explained by various factors, as discussed by [Gourieroux and Visser \(1986\),](#page-6-0) [Cameron and Trivedi \(1998\),](#page-5-0) [Poormeta \(1999\),](#page-6-0) and [Lord et al.](#page-6-0) [\(2005\).](#page-6-0) More specifically, the cause of the unobserved heterogeneity can be divided further into two components according to [Irwin \(1968\): i](#page-6-0)nternal differences across highway entities (i.e., road segments, intersections, etc.) and external factors that have not been incorporated as explanatory variables in the model because they are difficult to collect or identify. In the negative binomial (NB) model, the most popular model used in highway safety, both sources of variance are considered together using a single gamma distribution; the same constraint applies for other mixed-Poisson models, such as the Poisson-lognormal [\(Miaou et al., 2003; Lord](#page-6-0)
∗ Corresponding author. Tel.: +1 979 618 8603.
E-mail addresses: [yichuanpeng1982@hotmail.com](mailto:yichuanpeng1982@hotmail.com), [yichuan.peng@ucf.edu](mailto:yichuan.peng@ucf.edu) (Y. Peng), [d-lord@tamu.edu](mailto:d-lord@tamu.edu) (D. Lord), [yajiezou@tamu.edu](mailto:yajiezou@tamu.edu) (Y. Zou).
1 Tel.: +1 979 458 3949; fax: +1 979 845 6481.
2 Tel: +1 979 595 5985.
[and Miranda-Moreno, 2008\)](#page-6-0) or the Poisson–Weibull [\(Maher and](#page-6-0) [Mountain, 2009; Cheng et al., 2013; Connors et al., 2013\).](#page-6-0) Given the limitations of the NB model to provide information about sources of over-dispersion, there is a need to evaluate whether alternative count data models could be used for modeling crash data and exploring sources of variance for crash data analysis.
This research aims to introduce the Generalized Waring (GW) model and evaluate its performance for analyzing over-dispersed crash data, especially related to the characteristics of the variance. The GW model was first proposed by Irwin to theoretically analyze accidents [\(Irwin, 1968; Xekalaki, 1983\)](#page-6-0) and falls under other recently introduced three-parameter models, such as the Negative Binomial-Lindley (NB-L), Negative Binomial-Generalized Exponential (NB-GE) and the Sichel (SI) models (see [Lord and Geedipally,](#page-6-0) [2014\)](#page-6-0). The main advantage of this model over the NB is that the former provides more specific information about the sources of variance. It can be used to further distinguish the observed overdispersion that is caused by internal factors inherent to each road segment or intersection from those caused by external factors that are difficult to be observed ormeasured, and have not been included in the model. To accomplish the objective of the study, the GW model is examined using two empirical crash datasets to explore potential sources of variation.
## **2. Methodology**
According to the classic accident theory [\(Greenwood and Yule,](#page-6-0) [1920; Newbold, 1925; Newbold, 1927\),](#page-6-0) it was assumed that the overall population of highway entities is all subjected to the same external factors, but has different levels of proneness to crashes. Accordingly, the traditional NB model was developed based on the assumption that the mean number of crashes incurred under given exposure conditions is assumed to have a continuous distribution, and the distribution of crashes among locations with the same levels of proneness is assumed to be Poisson distributed ([Irwin, 1968\).](#page-6-0)
However, it is very difficult to truly assume that all the entities will be exposed to exactly the same external risk of accident. Differences caused by external factors from one site to the next are known as differences in accident liability, which is distinguished from internal differences known as differences in proneness. The variance caused by these external factors which includes driver behaviors and distractions in addition to the non-geometric and environmental factors, such as weather and lighting conditions while proneness are associated directly with the internal characteristics of each site which were also difficult to be observed, that is, with their internal probability to cause accident. There are several internal characteristics of road segments related to the proneness. For example, the road surface friction, the pavement condition of road segments (rutting, cracks, etc.), the presence and maintenance condition of rumble strips or pavement markings, location, types and preservation of roadside devices, and so on.
In practice, the effects of proneness and liability are considered together when the NB is used. This combination was originally referred to as "susceptibility" by [Newbold \(1925, 1927\). A](#page-6-0)fter that, [Irwin \(1968\)](#page-6-0) proposed the univariate Generalized Waring distribution (UGWD) in a proper way that the gamma distribution accounts for liability and assumed a beta distribution to accommodate proneness. In this research, the GW GLM model which was created based on UGWD will be applied for traffic crash analysis.
The GW generalized linear model (GLM) model was first developed and introduced by [Rodríguez-Avi et al. \(2009\). T](#page-6-0)he dependent variable for the GW model applied in this paper is the mean number of crashes for each highway entity. The model specification assumes that the proneness is independent and its beta distribution is the same for all levels of covariates. Based on this assumption, the GW GLM model was developed using the following three-level hierarchical framework ([Rodríguez-Avi et al., 2009\):](#page-6-0)
$$(Y|X)\sim Poisson(\lambda_X)$$
(1)
$$\lambda_X \sim \mathsf{Gamma}(\alpha_X, \varphi)$$
(2)
$$\varphi \sim \text{Beta}(\rho, k)$$
(3)
It is noted that the beta distribution is not a standard beta distribution but a beta prime distribution.
Therefore, the probability density function (PDF) of Y|X:
$$f(Y|x) = \frac{\Gamma(\alpha_X + \rho)\Gamma(k + \rho)}{\Gamma(\alpha_X + k + \rho)\Gamma(\rho)} \frac{(\alpha_X)_y(k)_y}{(\alpha_X + k + \rho)_y} \frac{1}{y!}, y = 0, 1..., n$$
(4)
where n is the sample size.
In addition, the equation of log-linearity for the mean number of crashes is shown in the following equation which is created using the traditional functional forms used for modeling crash data:
$$E(Y|X) = \mu_X = f(X; \beta) = e^{\beta 0 + X\beta'} \text{ with } \beta' = (\beta_1, ..., \beta_p)$$
(5)
f(.) is a function of the site specific covariates (X) and p is the number of parameters in the model.
According to the above hierarchical framework, the variance in this GW model can be calculated into three parts [\(Rodríguez-Avi](#page-6-0) [et al., 2009; Irwin, 1968\):](#page-6-0)
$$\sigma_a^2 = \frac{\alpha_x k}{(\rho - 1)} = E(Y|x) = \mu_x \tag{6a}$$
$$\sigma_b^2 = \frac{a_x k(k+1)}{(\rho - 1)(\rho - 2)} = \frac{k+1}{\rho - 2} \mu_x \tag{6b}$$
$$\sigma_c^2 = \frac{a_x^2 k(\rho + k - 1)}{(\rho - 1)^2 (\rho - 2)} = \frac{k + \rho - 1}{(\rho - 2)k} \mu_x^2$$
(6c)
The first part of the variance (Eq. (6a)) represents that the variability that comes from the randomness associated with the assumed Poisson distribution or model. The other two parts are the liability (Eq. (6b)) and proneness (Eq. (6c)), respectively. The relationships between Eqs. (1) to (3) and Eq. (6) are explained in great details on pages 207 and 208 of [Irwin \(1968\).](#page-6-0)
The estimation of the coefficients for the GW model can be accomplished using themaximum likelihood (ML)method. In order to use the ML for the GW model, the first step is to specify the joint density function. The probability density function of the GW model was defined in Equation (4) above. Therefore, the joint density function of GW model or the likelihood function can be defined as follows [\(Rodríguez-Avi et al., 2007\):](#page-6-0)
$$\prod_{i=1}^{n} f(Y_i|k, \rho, \alpha_x) = \frac{\Gamma(\alpha_x + \rho)\Gamma(k + \rho)}{\Gamma(\alpha_x + k + \rho)\Gamma(\rho)} \frac{(\alpha_x)_y(k)_y}{(\alpha_x + k + \rho)_y} \frac{1}{y_i!}$$
(7)
where n is the sample size.
n
The logarithm of this equation is shown in the following equation:
$$\ln \prod_{i=1}^{n} f(X_{i}|k, \rho, \alpha_{x})$$
$$= \sum_{i=1}^{n} \left[ \ln \Gamma(\alpha_{x} + \rho) + \ln \Gamma(k + \rho) + \ln (\alpha_{x})_{x} + \ln (k)_{x} - \ln \Gamma(\alpha_{x} + k + \rho) - \ln \Gamma(\rho) - \ln (\alpha_{x} + k + \rho)_{x} - \ln x_{i}! \right]$$
(8)
Once the log-likelihood was defined, several functions in R [\(Rodríguez-Avi et al., 2009\)](#page-6-0) were used for the parameter estimation of the GW GLM. These functions were created using three different kinds of algorithms: the Nelder-Mead, Quasi-Newton, and conjugate-gradient algorithms ([R Development Core Team, 2007\)](#page-6-0).
**Table 1** Summary statistics of characteristics for the Texas data (5 years).
| Variable | Minimum | Maximum | Mean(SD) | Total |
|--------------------------------------|---------|---------|--------------|--------|
| Number of crashes | 0 | 97 | 2.84(5.69) | 4253 |
| Annual Average daily traffic (AADTa) | 42 | 24,800 | 6,613(4,010) | – |
| Lane width (LW) (feet) | 9.75 | 16.5 | 12.57(1.59) | – |
| Total Shoulder Width (SW) (feet) | 0 | 40 | 9.96(8.02) | – |
| Segment Length (miles) | 0.1 | 6.28 | 0.55(0.67) | 830.49 |
aAnnual Average Daily Traffic.
The Nelder-Mead method is a commonly used nonlinear optimization technique, and the quasi-Newton methods are algorithms based on the Newton's method for finding the local maxima and minima of functions ([John and Kurtis, 2004\).](#page-6-0) The quasi-Newton and conjugate gradient methods are the other two algorithms that can be used for finding the numerical solution of particular linear equations by applying an iterative method and can be applied to equations too complex to be handled by direct methods. Several initial values were used for the GW model in order to get a global optimum solution for the parameter estimation [\(Rodríguez-](#page-6-0)Avi [et al., 2009\).](#page-6-0)
Finally, it is noted that the GW model converges to the NB model, as illustrated in the following equation [\(Rodríguez-Avi et al.,](#page-6-0) [2009\):](#page-6-0)when k, →∞, which means the parameter is considered as constant value so that the effects of proneness and liability are considered together then
$$f(y|x) \propto \frac{(k)_y}{y!} \frac{(\theta_x(\rho - 1))_y}{(k + (1 + \theta_x)\rho - \theta_x)}$$
$$= \frac{(k)_y}{y!} \frac{(\theta_x^y \rho^y + o(\rho^{(r-1)})}{(1 + \theta_x)^y \rho^y + o(\rho^{(r-1)})} \to \frac{(k)_y}{y!} \left(\frac{\theta_x}{1 + \theta_x}\right)^y$$
(9)
The equation above is in fact the NB II model (as defined in [Cameron and Trivedi, 1998\),](#page-5-0) which is the most commonly used model in traffic safety [\(Lord and Mannering, 2010; Mannering and](#page-6-0) [Bhat, 2014\).](#page-6-0) In sum, it can be concluded that the NB model is nested in the GW GLM. Curious readers are referred to [Rodríguez-Avi et al.](#page-6-0) [\(2007,2009\)](#page-6-0) for additional information.
It can be seen that the main advantage of this model over the NB model is that it provides more specific information about the source of variance. It can be used to further distinguish the observed over-dispersion that is caused by internal factors inherent to each road segment or intersection from those caused by external factors that that are difficult to be observed includes driver behaviors and distractions in addition to the non-geometric and environmental factors.
#### **3. Empirical crash data analysis**
This section described the application of the GW GLM to two observed crash datasets for the purpose of comparing the performance of GW GLM with the most commonly used NB model.
## 3.1. Description
As discussed above, two empirical datasets were analyzed to compare the performance of the GW and NB models and investigate the sources of over-dispersion for crashes occurring on highway segments.
The first dataset was assembled as a part of a National Cooperative Highway Research Program (NCHRP) research project [\(Lord](#page-6-0) [and Park, 2008\).](#page-6-0) This dataset contained 1,499 rural undivided 4 lane rural highway segments located in Texas. The data spanned 5 years. The length of the segments ranged from 0.10 to 6.28 miles, with an overall mean equal to 0.55 mile. The mean and the variance of the crashes are 2.84 and 32.4, respectively. The summary statistics for the variables contained in the dataset are presented in Table 1.
The second dataset was collected from 1995 to 1999 and includes traffic and other covariates for interstate highways in Indiana (see [Table 2\).](#page-3-0) The dataset were collected from the Indiana. Department of Transportation and the data were divided into homogeneous roadway segments (defined by roadway geometrics and pavement type). The segment-defining information included shoulder characteristics (inside and outside shoulder presence and width, and rumble strips), pavement characteristics (pavement type), median characteristics (median width, type, condition, barrier presence and location), number of lanes and speed limit. A total of 338 roadway segments were defined and the number of policereported vehicle accidents occurring on each segment over the 5-year period was obtained from the Indiana State Patrol accidentdata files. The Indiana dataset contains more explanatory variables. This dataset has been analyzed by other researchers and confirmed to be of good quality ([Washington et al., 2011\).](#page-6-0) It should be noted that 120 of the 338 segments did not have any reported crashes over the five-year study period.
# 3.2. Model estimation
The following commonly used functional form was used for both models:
$$\mu_i = \beta_0 \times L_i \times F_i^{\beta_1} \times y \times \mathbf{e}^{j=2}$$
(10)
Where, i = the estimated number of crashes per year for site i; Fi = vehicles per day (Average Daily Traffic/ADT or Annual Average Daily Traffic/AADT) for segment i;
Li = length of segment i in miles;
y = number of years of crash data;
Xij = a series of covariates (e.g., shoulder width, lateral clearance, etc.) for site i;
n = number of covariates; and, ˇ1, ˇ2, ..., ˇn = estimated coefficients.
### 3.3. Modeling results
This section summarizes the modeling results for both datasets.
## 3.3.1. Modeling results—Texas rural multilane highways
This section documents the modeling results for the Texas dataset. Three covariates were considered in this analysis. They are average daily traffic (ADT), lane width (LW) and shoulder width (SW). The length of segment was considered as an offset term in order to be consistent with previous research ([Geedipally et al.,](#page-6-0) [2012\).](#page-6-0) [Table 3](#page-3-0) shows that the coefficient values for all three covariates for both models have the same sign and are very close to each other. The GOF statistics show that the GW performs better than the NB model, as expected.
**Table 2** Summary Statistics of characteristics for the Indiana Data [\(Washington et al., 2011\).](#page-6-0)
| Variable | Minimum | Maximum | Mean(SD) | Total |
|-------------------------------------------------------------------------------------------|---------|---------|-----------------|--------|
| Number of crashes (5 years) | 0 | 329 | 16.97(36.3) | 5737 |
| Average daily traffic over the 5
years (ADTa) | 9,442 | 143,422 | 30,237(28776.4) | – |
| Minimum friction reading in
the road segment over the
5-year period (Friction) (FR) | 15.9 | 48.2 | 30.51(6.67) | – |
| Pavement surface type (1 if
asphalt, 0 if concrete) (PS) | 0 | 1 | 0.77(0.42) | – |
| Median width (MW) (in feet) | 16 | 194.7 | 66.98(34.17) | – |
| Presence of median barrier (1 if
present, 0 if absent) (MB)
(BARRIER) | 0 | 1 | 0.16(0.37) | – |
| Interior rumble strips (IRS)
(RUMBLE) | 0 | 1 | 0.72(0.45) | – |
| Segment length (miles) | 0.009 | 11.53 | 0.89(1.48) | 300.09 |
a Average Daily Traffic.
**Table 3** Modeling results for the Texas data.
| variable | NB | GW |
|-------------------------------|----------------|---------------|
| Intercept | −5.89(0.56) | −6.81(0.59) |
| Ln(AADT) | 1.0063(0.06) | 0.95(0.055) |
| Lane Width(LW) | −0.1316(0.02) | −0.097(0.02) |
| Shoulder Width(SW) | −0.0316(0.005) | −0.019(0.005) |
| | – | 3.01 |
| k | – | 1.71 |
| a | 0.66(0.03) | – |
| −2LL (the smaller the better) | 6015.4 | 5936.2 |
| AIC (the smaller the better) | 6025.4 | 5948.2 |
| BIC (the smaller the better) | 6051.9 | 5980.0 |
| MAD | 2.75 | 2.44 |
| MSPE | 32.8 | 28.4 |
| 2
Pearson | 12148.3 | 11156.4 |
Note: Parenthesis () indicate the standard deviation. Bold characters indicate a better fit.
As discussed in methodology section, the other more important advantage of the GW model is that it can provide more information about the sources of variance in crash data.
In this context, it can be seen that the proposed GW model was more useful to identify sources of variability and provide more valuable information to quantify the variance of each component compared to a model based on the NB distribution. Specific to this Texas crash dataset, it is assumed in the GW model that the proneness represents the over-dispersion due to betweensegments variation in their internal probability to cause accident with the same AADT, lane and shoulder width, while liability is related to the over-dispersion caused by missing external covariates which would affect segments with the same AADT, lane width and shoulder width identically.
Table 4 shows the variance of each part or component for this crash dataset. It is quantified using the equations described in [Rodríguez-Avi et al. \(2009\).](#page-6-0)
Fig. 1 shows the relationship between fraction of each component of the variance and different mean of crashes x which was
**Table 4** Variance of each component for Texas data.
| Source of variability | Variance | Variance fraction |
|--------------------------------------|-----------------------------|-----------------------------------------------------|
| Randomness
Liability
Proneness | x
2.683x
2.15392
x | 0.4642
1.71+x
1.2457
1.71+x
x
1.71+x |
| Total | 3.683
x + 2
x
1.71 | 1 |

**Fig. 1.** Relationship between fraction of each component and crashes per mile (Texas).
determined by all the values of the covariates included in themodel. The relationship between the covariate AADT and the fractions of each component is also illustrated in Fig. 2 when shoulder width equals to 16 feet (8 feet on each side) and the lane width equals to 12 feet. These two values represent the largest percentage of segments with these characteristics.
It can be seen from the above figures that randomness and liability decrease from 0.27 to 0.03 and from 0.72 to 0.1 separately as the crash mean on each segment x increases from 0 to 10, which means that the randomness and liability decrease when AADT increases and the shoulder width or lane width decreases, whereas proneness increases. As it is well-known that x increases with the increase in segment length (usually in a linear fashion),

**Fig. 2.** Relationship between fraction of each component and average daily traffic (Texas LW = 12 and SW = 16).
a Inverse dispersion parameter: VAR (Y) = + (2/ )
**Table 5** Modeling results for the Indiana data.
| Variable | NB | GW |
|-------------------------------|---------------|---------------|
| Intercept | −4.456(1.292) | −3.81(1.326) |
| Ln (ADT) | 0.688(0.120) | 0.711(0.124) |
| Minimum Friction on segment | −0.027(0.010) | −0.034(0.012) |
| Pavement Surface | 0.43(0.185) | 0.441(0.214) |
| Median Width | −0.005(0.002) | −0.008(0.003) |
| Median Barrier | −3.026(0.283) | −3.161(0.295) |
| Interior Rumble Strips | −0.398(0.180) | −0.413(0.191) |
| | – | 2.64 |
| k | – | 0.36 |
| a | 1.071(0.075) | – |
| −2LL (the smaller the better) | 1884.5 | 1846.4 |
| AIC | 1900.5 | 1864.4 |
| BIC | 1931.0 | 1898.8 |
| MAD | 6.78 | 6.48 |
| MSPE | 204.68 | 198.61 |
| Pearson 2 | 1170.2 | 1150.8 |
| | | |
a Inverse dispersion parameter: VAR (Y) = + (2/ ).
the randomness and liability decrease with the segment length whereas proneness increases.
The fraction of proneness is more important on segments with higher AADT, which means the source of over-dispersion comes more from proneness for those segments. The fraction of proneness increases from 0 to 0.79 with the increase in AADT from 0 to 24,000. As mentioned earlier, several internal characteristics of road segments such as those listed above (i.e., road surface conditions, etc.) are related to the proneness. Therefore, the effect of these internal characteristics of road segments on the over-dispersion of traffic crashes seems to be more significant on the segments with higher AADT. Accordingly, for those segments with lower crash mean and lower AADT, the source of over-dispersion comes more from the randomness and liability which is related to external factors. Therefore, it is meaningful for traffic engineers, transportation safety specialists or managers to take effective measures to minimize variance of traffic crashes based on better understanding the source of variance using the GW model. Transportation managers should pay more attention to the factors such as the pavementrelated problems or the quality of rumble strips (note: the Texas Department of Transportation or TxDOT has installed several miles of rumble strips, but their location was not known at the time this study was conducted) and pavement markings on segments with higher AADT, which is themain source of variance of crashes when a dataset exhibits highly over-dispersed characteristic. In short, the GW model can narrow down sites where traffic engineers could focus his or her efforts to improve safety (even when the sites have not been identified as dangerous or experiencing more crashes than expected).
#### 3.3.2. Modeling results—Indiana interstate highways
Table 5 summarizes the model estimation results for the Indiana dataset. The segment length variable is still considered an offset. This table is also shown in this table that the GW model performs better in terms of fit than the NB model. The estimated coefficients of all the covariates between the two models have the same sign which indicates similar results with regards to the effects of these variables, though there are some obvious differences between the values of these variables.
Table 6 shows the variance of each component for this crash dataset, using the same equations as used in [Table 4.](#page-3-0)
Fig. 3 shows the proportions of variance attributed to randomness, liability, and proneness for different crash means x which was determined by all of the values of the covariates included in the model. The relationship between the covariate ADT and the fractions of each component is indicated in Fig. 4, and the relationship
**Table 6** Variance of each component for the Indiana data.
| Source of variability | Variance | Variance fraction |
|-----------------------------------------------|-------------------------------------------------------|---------------------------------------------------------------------------|
| Randomness
Liability
Proneness
Total | x
2.125x
8.6802
x
(3.125x + 8.6802
x ) | 1
3.125+8.680x
2.125
3.125+8.680x
8.680x
3.125+8.680x
1 |

**Fig. 3.** Relationship between the fraction of each component and the mean of crashes for the Indiana data.

**Fig. 4.** Relationship between the fraction of each component and the average daily traffic for Indiana data.
between the covariate friction (FR) and fractions of each component when the other variables included in the model are equal to their means (as determined in the data) is illustrated in Fig. 5. The relationships for the other covariates are not shown here due to space constraints.
It can be seen from above figures that both randomness and liability decrease from 0.32 to 0.01 and from 0.68 to 0.03, separately, as the mean of crashes on each segment x increases from 0 to 10, which signifies that both randomness and liability decrease when the ADT and pavement type increases. Both randomness and liability slightly decrease from 0.29 to 0.23 and from 0.62 to 0.49, separately, as the ADT on each segment increases from 5,000 to 15,000. On the other hand, proneness decreases from 0.83 to 0.67 as the friction increases from 15 to 40. Accordingly, both randomness and liability increase from 0.05 to 0.10 and from 0.11 to 0.22, separately, as the friction increases from 15 to 40. The proneness

**Fig. 5.** Relationship between the fraction of each component and friction reading for Indiana data.
also increases with the presence of interior rumble strips and a median barrier. It can be seen that the effect of the friction reading on the fraction of each component is not as significant or important as is the effect of the ADT.
It should be noted that there are more variables included in this model compared to the model used for the Texas data. Therefore, the over-dispersion is smaller than those models that include fewer independent geometric or environmental variables, as expected ([Miaou and Song, 2005\).](#page-6-0) Accordingly, the fraction of variance for the randomness is higher when fewer variables are included in the model (e.g., [Figs. 1 and 2](#page-3-0) vs. [Fig. 3\).](#page-4-0) The fraction of variance for the liability could increase and the fraction of variance for the proneness could decrease when more covariates are included in the model (note: variable specific). This also means that the GW model could be used to analyze the role of different combinations of covariates that are included in the model on the variance and could potentially be utilized to identify models that suffer from the omitted variable bias ([Lord and Mannering, 2010; Wu et al., 2014\).](#page-6-0)
## **4. Summary and further research**
In this study, a regression model developed based on the GW distribution was introduced and applied for analyzing crash data. There are several conclusions drawn from the above analysis:
- 1. Two empirical over-dispersed datasets were analyzed in this paper to compare the performance of GW model and NB model as well as to investigate the source of over-dispersion of crashes occurred on road segments. It was shown that the GW model provides a better performance than NB model based on the modeling results.
- 2. Besides the advantage that the GW model provided a better fit for the both empirical datasets, the other more important advantage of GW model is that it provided more information about the sources of variance for crashes that occurred on each segment. This model distinguished the observed variability for the crash dataset into three parts: randomness, proneness and liability. This information is valuable because it can help transportation safety professionals to better control the variance found in traffic crashes by implementing more cost-effective safety countermeasures without having to conduct a full identification of hazardous sites (such as the method proposed in the Highway Safety Manual—AASHTO, 2010).
- 3. As for the Texas dataset, the randomness and liability decrease from 0.27 to 0.03 and from 0.72 to 0.10 separately as mean of crashes on each segment increases from 0 to 10, whereas proneness increases. The randomness and liability decrease with the length of segment whereas proneness increases. As for the Indiana dataset which contains more variables, both randomness and liability decrease from 0.29 to 0.23 and from 0.62 to 0.49, separately, as the AADT on each segment increases from 5,000 to 15,000, separately, as the AADT on each segment increases from 5,000 to 15,000. On the other hand, proneness decreases from 0.83 to 0.67 as the friction increases from 15 to 40. Accordingly, both randomness and liability increase from 0.05 to 0.10 and from 0.11 to 0.22, separately, as the friction increases from 15 to 40.
- 4. The fraction of proneness is more important on segments with higher ADT. Therefore, for those segments with higher number of crashes and ADT, more attention about source of over-dispersion should be paid to factors related to the proneness of segments, such as the roadway friction and the pavement condition of road segments, as discussed above, in order to reduce the variance of crashes effectively.
Another important issue discussed in previous work is the one related to ranking or selecting the best model based on GOF statistics. As discussed by others [\(Miaou and Lord, 2003; Lord and](#page-6-0) [Bonneson, 2005; Lord et al., 2007\),](#page-6-0) GOF measures should not be the sole criterion in selecting statistical models. It is also important to determine whether or not the proposed distribution or model is logically or theoretically sound ([Geedipally et al., 2012\).](#page-6-0) [Miaou and Lord \(2003\)](#page-6-0) referred the latter attribute as "goodnessof-logic." Compared to some simpler models, such as the NB or the Poisson model, the proposed GW model better describes the crash data generating process, because it separates the liability from the proneness. It should be noted that although the usefulness of the GW model appears in cases where the proneness and liability seem to be distinguishable, in other circumstances, the GW model can still be used effectively to capture the variance when these two components of the variance are not distinguishable [\(Rodríguez-Avi](#page-6-0) [et al., 2007\).](#page-6-0) When this happens, the GW model converges to the NB model.
For future work, there are several avenues that can be explored. First, the GW model can be seen as a three-layer hierarchical model, as discussed above, with a standard distribution at each stage. Therefore, the GW model can be developed based on a Bayesian modeling framework. Second, further work needs to be done to relate the liability and proneness to other mixed-distributions and models with a varying dispersion parameter. For the former, examining other continuous (and fixed) distributions for modeling the liability and proneness should be attempted, while, for the latter, GW models where the liability and/or proneness are analyzed as a function of the covariates, similar to the recent work done for two-parameter models (see [Geedipally et al., 2009, a](#page-6-0)nd [Connors](#page-6-0) [et al., 2013\),](#page-6-0) should be examined. Third, similar to the Sichel model [\(Zou et al., 2013a,b\),](#page-6-0) this research can be extended by developing an empirical Bayes (EB) modeling framework for the GW model to examine whether the EB framework is feasible for this model. In addition, there are several other models such as random parameter models that have also been used to describe sources of dispersion. The difference between these models with the GW is worthwhile to be investigated and compared in order to better understand the source of variance of traffic vehicle crashes. Finally, there have been some discussions about the assumption related to the covariatedependent dispersion for NB models. Similar to the NB model with a varying dispersion parameter, further research should be conducted to examine the effect of a covariate-dependent parameter with the GWmodel. It is hoped that the GWmodel could be added to the panoply of tools that are currently used for managing highway safety.
# **Acknowledgements**
The authors would like to thank Dr. José Rodríguez-Avi, from Universidad de Jaén, for answering various questions related to the Waring distribution and its model.
# **References**
AASHTO, 2010. Highway Safety Manual, first ed. American Association of State Highway and Transportation Officials, Washington, DC.
Anastasopoulos, P., Mannering, F., 2009. A note on modeling vehicle-accident frequencies with random-parameters count models. Accid. Anal. Prevent. 41, 153–159.
Cameron, A., Trivedi, P.K., 1998. Regression Analysis of Count Data. In: Econometric Society Monographs, vol. 30. Cambridge University Press, Cambridge.
Castro, M., Paleti, R., Bhat, C.R., 2012. A latent variable representation of count data models to accommodate spatial and temporal dependence: application to predicting crash frequency at intersections. Transport. Res. Part B 46, 253–272.
Castro, M., Paleti, R., Bhat, C.R., 2013. A spatial generalized ordered response model to examine highway crash injury severity. Accid. Anal. Prevent. 52, 188–203.
Cheng, L., Geedipally, S.R., Lord, D., 2013. Examining the Poisson-Weibull generalized linear model for analyzing crash data. Safety Sci. 54, 38–42.
- Connors, R.D., Maher, M., Wood, A., Mountain, L., Ropkins, K., 2013. Methodology for fitting and updating predictive accident models with trend. Accid. Anal. Prevent. 56, 82–94.
- Eluru, N., Bagheri, M., Miranda-Moreno, L., Fu, L., 2012. A latent class modelling approach for identifying vehicle driver injury severity factors at highwayrailway crossings. Accid. Anal. Prevent. 47, 119–127.
- Chen, E., Tarko, A., 2014. Modeling safety of highway work zones with random parameters and random effects models. Anal. Methods Accid. Res. 1, 86–95.
- Geedipally, S.R., Lord, D., Dhavala, S.S., 2012. The negative-binomial-generalizedlindley generalized linear model: characteristics and application using crash
- data. Accid. Anal. Prevent. 45, 258–265. Geedipally, S.R., Lord, D., Park, B.-J., 2009. Analyzing different parameterizations of the varying dispersion parameter as a function of segment length. Transport. Res. Rec. 2103, 108–118.
- Geedipally, S.R., Patil, S., Lord, D., 2010. Examining methods for estimating crash
- counts according to their collision type. Transport. Res. Rec. 2165, 12–20. Gourieroux, C.A., Visser, M., 1986. A count data model with unobserved heterogene-
- ity. J. Econom. 79, 247–268. Greenwood, M., Yule, G.U., 1920. An enquiry into the nature of frequency distributions representative of multiple happenings, with special reference to multiple
- attacks of disease or repeated accidents. J.R. Statist. Soc. 83, 255–279. Hauer, E., 2001. Overdispersion in modelling accidents on road sections and in
- empirical bayes estimation. Accid. Anal. Prevent. 33 (6), 799–808. Irwin, J.O., 1968. The generalized waring distribution applied to accident theory. J.
- R. Stat. Soc. Ser. A 131 (2), 205–225. John, H.M., Kurtis, K.F., 2004. Numerical Methods Using Matlab, fourth ed.
- Lord, D., Geedipally, S.R., 2014. Models for analyzing count data with a lot of zeros. In: Presented at the Annual Joint Statistical Meeting, American Statistical Association, August 2–7, 2014, Boston, MA.
- Lord, D., Bonneson, J.A., 2005. Calibration of predictive models for estimating the safety of ramp design configurations. Transport. Res. Rec. 1908, 88–95.
- Lord, D., Mannering, F., 2010. The statistical analysis of crash-frequency data: a review and assessment of methodological alternatives. Transport. Res. - Part A 44 (5), 291–305.
- Lord, D., Miranda-Moreno, L.F., 2008. Effects of low sample mean values and small sample size on the estimation of the fixed dispersion parameter of Poissongamma Models for Modeling Motor Vehicle Crashes: A Bayesian perspective. Safety Sci. 46 (5), 751–770.
- Lord, D., Park, P.Y-J., 2008. Investigating the effects of the fixed and varying dispersion parameters of Poisson-gamma models on empirical Bayes estimates. Accid. Anal. Prevent. 40, 1441–1457.
- Lord, D., Washington, S.P., Ivan, J.N., 2005. Poisson, Poisson-gamma and zero inflated regression models of motor vehicle crashes: balancing statistical fit and theory. Accid. Anal. Prevent. 37, 35–46.
- Lord, D., Washington, S.P., Ivan, J.N., 2007. Further notes on the application of zero
- inflated models in highway safety. Accid. Anal. Prevent. 39, 53–57. Maher, M., Mountain, L., 2009. The sensitivity of estimates of regression to the mean.
- Accid. Anal. Prevent. 41, 861–868. Malyshkina, N.V., Mannering, F.L., Tarko, A.P., 2009. Markov switching Negative Binomial models: an application to vehicle accident frequencies. Accid. Anal. Prevent. 41 (2), 217–226.
- Mannering, F., Bhat, C.R., 2014. Analytic methods in accident research: Methodological frontier and future directions. Anal. Methods Accid. Res. 1, 1–22.
- Miaou, S.-P., Lord, D., 2003. Modeling traffic crash-flow relationships for intersections: dispersion parameter, functional form, and Bayes versus Empirical Bayes. Transport. Res. Rec. 1840, 31–40.
- Miaou, S.-P., Song, J.J., 2005. Bayesian ranking of sites for engineering safety improvements: Decision parameter, treatability concept, statistical criterion, and spatial dependence. Accid. Anal. Prevent. 37, 699–720.
- Miaou, S.P., Song, J.J., Mallick, B.K., 2003. Roadway traffic crash mapping: a spacetime modeling approach. J. Transport. Stat. 6, 33–57.
- Newbold, E.M., 1925. A contribution to the study of the human factor in the causation of accidents. Indust. Health Res. Board Rep., 34.
- Newbold, E.M., 1927. Applications of the statistics of repeated events, particularly to industrial accidents. J.R. Statist. Soc. 90, 487–547.
- Park, B.-J., Lord, D., 2008. Adjustment for the maximum likelihood estimate of the Negative Binomial dispersion parameter. Transport. Res. Rec. 2061, 9–19.
- Park, B.-J., Lord, D., 2009. Application of finite mixture models for vehicle crash data analysis. Accid. Anal. Prevent. 41, 683–691.
- Poormeta, K., 1999. On the modelling of overdispersion of counts. Statistica Neerlandica 53 (1), 5–20.
- R Development Core Team, 2007. R: A language and environment for statistical computing. In: R Foundation for Statistical Computing, Vienna, Austria.
- Rodríguez-Avi, J., Conde-Sánchez, A., Sáez-Castillo, A.J., Olmo-Jiménez,M.J.,Martínez Rodríguez, A.M., 2009. A generalized Waring regression model for count data. Comput. Stat. Data Anal. 53, 3717–3725.
- Rodríguez-Avi, J., Conde-Sánchez, A., Sáez-Castillo, A.J., Olmo-Jiménez, M.J., 2007. A new generalization of the Waring distribution. Comput. Stat. Data Anal. 51 (12), 6138–6150.
- Shamsunnahar, Y., Naveen, E., Bhat, C.R., Tay, R., 2013. A latent segmentation based generalized ordered logit model to examine factors influencing driver injury severity. Anal. Methods Accid. Res. 1, 23–38.
- Washington, S.P., Cole, R.J., Herbel, S.B., 2011. European advanced driver training programs: reasons for optimism. IATSS Res. 34 (2), 72–79.
- Wu, L., Lord, D., Zou, Y., 2014. Validation of CMFs Derived from Cross Sectional Studies using RegressionModels. Zachry Department of Civil Engineering, Texas A&M University, College Station, TX (Paper submitted for publication).
- Xekalaki, E., 1983. The univariate generalized waring distribution in relation to accident theory: Proneness, spells or contagion. Biometrics 39 (4),
- 887–895. Xiong, Y., Mannering, F., 2013. The heteroscedastic effects of guardian supervision on adolescent driver-injury severities: a finite mixture-random parameters approach. Transport. Res. Part B 49, 39–54.
- Yasmin, S., Eluru, N., Ukkusuri, S.V., 2013. Alternative Ordered Response Frameworks for Examining Pedestrian Injury Severity in New York City. J. Transport. Safety Secur. 6 (4), 275–300.
- Zou, Y., Lord, D., Zhang, Y., Peng, Y., 2013a. Comparison of Sichel and Negative Binomial models in estimating empirical Bayes estimates. Transport. Res. Rec. 2392, 11–21.
- Zou, Y., Zhang, Y., Lord, D., 2013b. Application of finite mixture of negative binomial regression models with varying weight parameters for vehicle crash data analysis. Accid. Anal. Prevent. 50, 1042–1051.