Although most highway accidents occur on straight stretches of road, it is on curves where accidents with greater severity occur . Curves, particularly flat ones, concentrate 54% of the fatal accidents that occur on rural highways in Brazil . They are more dangerous for drivers because of the additional centripetal forces exerted on the vehicle and the greater attention required on the part of the driver .
Due to accident severity, flat curves have been a focus for many researchers. Most studies have focused on the relationship between the characteristics of the curve and its safety performance, including design attributes , such as signage and markings  , and strategies to improve safety  . In this scenario, the Accident Prediction Models (APM) emerge as tools that are capable of modeling the relevant factors for traffic accidents. They are statistical models that relate the frequency of traffic accidents to geometric and operational attributes of the road. These models lack a large amount of data .
Among the barriers encountered in the APM development process is a lack of documentation on road networks and projects that almost always consider only the possibility of a shorter route, better flow, and lower costs, without taking accident dynamics and their relationship with the geometric characteristics of the roads into account . Better planning could be done through geoprocessing and remote sensing techniques, utilizing Geographic Information Systems (GIS) and interpretation of satellite images. Automatic or semi-automatic extraction of roads from satellite images may be the most convenient way to overcome the lack of project documentation for road safety in Brazil .
Another limitation in the development of APMs is in the segmentation of sections with similar geometric characteristics (homogeneous sections). This homogeneous division is necessary to establish the spatial relationships between the accident and the place where the accident occurred. In Brazil, the characterization between tangent and curve, for example, is made based on visual inspection, which may lead to errors in the identification of straight and curved sections. In this case, the attribution of an accident to a particular section of the highway may be incorrect. In order to avoid this, it is necessary to identify parameters that can characterize the segment correctly.
This study seeks to develop a database capable of associating accident records to the geometric parameters of the highway, obtained by a geometric reconstitution process when vector data is available or through semi-automatic extraction of highways from satellite images when it isn’t. Spatial modeling and analysis tools will be used to extract spatial elements, such as lane width, shoulder width, superelevation, and curve radius from digital terrain models, satellite images, and from the geometric design, complementing any information unavailable in the traditional accident database. The homogeneous segments will be analyzed and classified using an analytical method (HSM) and a spatial method (Kernel-KDE density). The goal is to build an accident prediction model appropriate for Brazil using GIS for single lane rural highways, with a minimum of statistically significant variables, and to improve accident prediction for places with similar characteristics.
2.1. Accident Prediction Models
Numerous studies have examined the impact of road characteristics on accident frequency  - . Most studies used the traditional statistical models of Multiple Regression, Poisson, and Negative Binomial Regression   - .
The problem with traditional models is that they assume that the residuals between observations are independent. Disregarding this hierarchical structure, when present, may result in models with biased estimates of parameters and biased standard errors. When working with longitudinal data (samples measured more than once over time) or grouped, this assumption of independence between variables may not make sense. There are several methodologies available to solve this problem, with perhaps the best known, in the non-Gaussian context, being the Generalized Estimating Equations (GEE) methodology. The GEE model showed better results, however, for horizontal curves, stretches in which accident causes have been poorly studied . One of the principal characteristics of GEE is its ability to unify several statistical techniques that are usually studied separately. This makes it possible to increase the number of assumptions admitted and to examine more than just the linear relationships between the explanatory variables and the response. This type of model allows the potential interactions between variables to be evaluated and is capable of modeling databases with longitudinal, spatial, or multilevel structures.
2.2. Variables Involved in Modeling
Various models have outlined accidents on horizontal curves based on variables that include the length of the curve, degree of curvature, and grade. Almost all models used the traffic volume for each segment, based on estimated AADT counts. These studies indicate that a greater central angle   a greater slope   and greater superelevation increases accident frequency , while greater radius reduces it  . Considering the same variables and the influence of geometric parameters on accident severity, studies indicate that greater slope increases severity   while greater radius  and greater superelevation reduce it .
The inclusion of spatial relationships in a safety analysis can be an important consideration for a more accurate and comprehensive approach. The spatial relationship of a curve to adjacent curves, including distance to adjacent curves, direction of rotation of adjacent curves, radius of adjacent curves, and length of adjacent curves, as well as the vertical curvature, are also important characteristics that can influence the safety of a horizontal curve or a series of curves .
Based on the variables found in the literature and their influence on accident frequency, the following variables were selected a priori for this study: horizontal curvature (radius, degree of curve, deflection angle, curve length), lane width, shoulder width and type, traffic volume, and grade. Qualitative spatial variables, such as land use (rural or urban), road-track profile (flat, wavy, or mountainous), layout (straight or flat), day of the week, climatic conditions, and accident type will be used to assist in the selection of homogeneous sections.
3. Materials and Methods
3.1. GIS-Based Accident Prediction
The study methodology was developed using three principal steps: 1) construction of a database from data collection and semi-automatic extraction of highways from vector bases and/or satellite images, 2) homogeneous segmentation of highways, and 3) accident frequency modeling.
3.1.1. Data Collection
The traffic accident data and information were collected for this study through electronic spreadsheets obtained from the traffic accident reports of the Federal Highway Police Department (DPRF), covering the period from January 1, 2007 to December 31, 2016, for highway BR-232, between km 141 and km 356.
Road sections from the National Transportation Plan (PNV) were obtained from DNIT (2016). These sections of road have not undergone any constructive changes during the period analyzed.
Traffic volumes (AADT) were obtained from the National Traffic Control Plan (PNCT), available at DNIT (2016) for the years 2014, 2015, and 2016. For the previous years (2007 to 2013), the AADT values were taken from the ANTT Annual Report (2015).
3.1.2. Highway Network Digital Processing
To acquire information on the stretches of the highway that did not have a geometric design, the methodology developed by Macedo et al.  was used, which consists of the extraction of geometric characteristics of roads from satellite images based on pattern classifiers. The main steps of this approach are 1) detecting the road and 2) filtering elements of interest and obtaining the road network. In this process, an attempt was made to outline the principal road guideline.
For the DNIT highways base, a semi-automated process developed by Macedo et al.  was chosen, involving the combination of: 1) vertex reduction techniques using ArcMap’s ArcTool Box; 2) development of an algorithm to identify curves in AutoCad Civil 3D; 3) visualization of results using satellite images as a reference; and 4) creation of an alignment in AutoCad Civil 3D.
Based on the reconstruction of the alignment, a table was created containing all of the curve information (radius, angle, transition, deflection, degree of the curve, coordinates, length) and these were exported to an Excel table.
3.1.3. Database Construction
The database stores information on the road network, the environment, and road safety factors, including traffic accidents and traffic volume, which have been linked in order to combine the variables and assist in homogeneous segmentation.
The highway base was divided into kilometers using dynamic segmentation, making it possible to identify any information using the highway kilometer marks, such as accident data, traffic volumes, and the environment. From this georeferenced base with all the information attached, a dBase file was converted using ArcGis software into a points file. To connect this data, the tables containing other information use the highway to which they belong and the kilometer marks. This information was either point or linear. Accidents, access locations, signs, etc. were stored as point information, while geometric design, traffic, etc. were tabular information associated with linear features.
To ensure that the two sets of data were compatible, a combination of two techniques was used to create a common field in which to merge the datasets. With the first technique, a kilometer reference field (KM_REF) was created in the highway data table, as well as a conversion table, developed to create a common field. The conversion table recognizes the reference kilometer and associates the accident data to its corresponding kilometer. With the second technique, a spatial junction was performed between the tables, that is, each accident was spatially assigned to the segment to which it belonged. These two techniques allowed for the recognition and attribution of more than 99.6% of the accidents from the traffic accident reports of the DPRF, covering the period from January 1, 2007 to December 31, 2016, for highway BR-232, between km 141 and km 356.
3.2. Homogeneous Segmentation
The roads and all associated information were divided into homogeneous segments in three different ways: two by the methodology proposed by HSM  and another based on kernel density. They are listed below:
• Segmentation method 1: Based on HSM, segments are between intersections with a minimum length of 160 m.
• Segmentation method 2: Variation of the HSM method, with 50 m before and 50 m after curves, avoiding short segments and minimizing the problem of incorrect location of accidents.
• Segmentation method 3: Division of segments based on Kernel density and all variables used in the stepwise procedure are explanatory within each segment with their original values.
3.3. Statistical Modeling
The proposed model is classified as a Generalized Estimating Equations model, which can be interpreted as an extension of the Generalized Linear Models for panel data and incorporates a variety of variables in addition to just traffic volumes. The initial function was proposed by Liang and Zeger :
Em que: = predicted annual rate of accidents; = regression parameters; = the variables of interest; ε = specification error
The choice of method is mainly due to the possibility of combining quantitative and categorical variables, not only as dummy variables (binary - 0 or 1), but as multinomial variables (having more than two ordinal categorical variables). The dependent variable is of the count type (number of accidents that occur in a given segment) and the linking function is a negative binomial.
To adjust a generalized linear model, the vector (β) of parameter estimates was determined. These coefficients were estimated from the observed data.
In this study, the first step was to verify whether the estimated coefficients were significant, that is, whether there was a statistically significant association between the explanatory variables and the response variable. Wald’s chi-square statistical test was used to assess the adherence of the accident distribution between the actual and predicted data. The χ2 calc value was obtained from experimental data, taking into account both observed and expected values.
As this is an alternative hypothesis, in which the observed accident frequencies are different from the predicted frequencies, there was a need to verify the association between groups by comparing the calculated χ2 data with the tabulated χ2 data. The tabulated χ2 depends on the number of degrees of freedom and the level of significance adopted.
The hypothesis that the model fits the data is rejected if the p-value associated with the test statistic is less than the level of significance α. Thus, for level of significance α, a decision is made by comparing the two χ2 values:
If χ2 calculated ≥ χ2 tabulated → the model is rejected
If χ2 calculated ≤ χ2 tabulated → the model is accepted
The higher the χ2 value, the more significant the relationship between the dependent variable and the independent variable.
The quality-of-fit indications are based on the Wald Hypothesis Test values in the different models. The Wald test is used to test the null hypothesis that the estimated βj parameter is equal to zero.
Two statistical elements were considered when analyzing the quality of the fit of each model generated: 1) the Quasi-likelihood Information Criterion (QIC) and 2) the accumulated residue test (CURE Plot).
The QIC is a modification of the Akaike information criterion (AIC) in the GEE procedure. The comparison of the models is done using the maximum likelihood logarithm, which is the one that best fits the observed data. The QIC is expressed by Equation (2).
where: LIK = is the maximized likelihood log, k = is the number of regression coefficients, and r = number of parameters estimated for the calculation of Ei.
According to this criterion, the best model is the one having the lowest QIC value. Several other information criteria are available in the spatial statistics tools, most of which are variations of the QIC, with changes in the way they penalize parameters or observations.
The CURE method to assess the quality of the fit is based on the study of residuals, that is, the difference between the number of accidents observed in a location and the value expected for the same location in the same time period, considering that residuals assume an abnormal distribution. The CURE Plot graph is used to examine residuals after estimating the parameters of the model and assessing whether the chosen function fits each explanatory variable over the entire range of values represented. The trend of residuals with respect to AADT (or other variables) can be assessed in relation to variance. An upward or downward deviation is a sign that the model consistently predicts fewer or more accidents, respectively, than were counted. It is therefore desirable that the cumulative graph of residuals oscillate close to zero or between two additional curves formed by the acceptable limits (±2ρ*) for cumulative residuals.
To validate the model, the Root Mean Square Error (RMSE) was used. RMSE is commonly used to express the accuracy of numerical results with the advantage that it presents error values in the same dimensions as the variable analyzed.
4.1. Study Area
The scope of the analysis was highway BR 232, between km 141 and km 356, latitudes 8˚02'30"S and 8˚39'27"S and longitudes 36˚11'56"W and 37˚48'57"W (Figure 1). The 255 km stretch of rural federal highway runs through the municipalities of São Caetano, Pesqueira, Arcoverde, Cruzeiro do Nordeste, and Custódia, in northeastern Brazil.
Information was obtained from the Federal Highway Patrol Database for the years between 2007 and 2016, which contains the Incident Records and Police Reports, as well as from the DNIT highway base, the OSM cartographic base, and the digital terrain model provided by the Condepe/Fidem Agency.
The AADT values considered for the years 2014, 2015, and 2016 were obtained from the National Department of Transport Infrastructure (DNIT), including both volumetric and classificatory traffic counts. For previous years (2007 to 2013), as there was no active collection point in the study area, the AADT from the ANTT Annual Report (2015) was considered, as shown in Table 1.
The lack of standardization of police reports and the lack of rigor in filling them out reduce their reliability and their usefulness for studies. An analysis therefore had to be carried out to identify any absences or inconsistencies in the information recorded in the reports. Tables that did not contain all of the necessary information, such as location, type, and accident date, were excluded from the sample.
A database was created that grouped detailed information on lane widths, shoulder conditions, road curvature, grade, and AADT on the 215 km stretch of
Figure 1. BR 232 Highway, between km 141 and km 356.
Table 1. Annual average daily traffic (2007 to 2016) for the section of BR 232-PE under study.
rural highway in Pernambuco. This was achieved using geoprocessing tools to extract relevant attributes from the road network, spatial characteristics of the surroundings, and traffic flow, which were then combined with the accident database created for the study. The accident data included in the database contained all accidents registered over a 10-year period, from January 2007 to December 2016.
4.2. Homogeneous Segmentation
Two groups of variables were considered, one related to spatial variables (group 1) and the other to roadway geometry (group 2). The spatial variables considered were: accident cause, age group, accident type, day of the week, time, layout, condition, cause 1 (with injured victims, without victims, with fatal victims, ignored), road type, land use, period of the day (full daytime, full nighttime). The second group of variables included: lane width, shoulder width and type, segment length, grade and superelevation, curve radius and curve length, including the length of the transition spiral, if any.
For segmentation 1 (Figure 2), the results were verified using a sample of homogeneous road sections, selected to have a minimum length of 160 m. According to this criterion, of the 253 straight sections identified, 200 were selected. For the curved stretches, 88 out of a total of 226 were selected, meeting the criterion of a minimum radius of 100 m. Because of this significant reduction in the number of curves, tests were also carried out using a minimum radius of 50 m, totaling 115 stretches.
For segmentation 2, a variation of the homogeneous HSM segmentation of the HSM, the homogeneous stretches contiguous to the curves were excluded to a distance of at least 50 meters from the curve start and end points (Figure 3). This partial exclusion of the sections contiguous to the curves was done to isolate the influences of the curves when considering the accident history for the calibration procedure. It is necessary to differentiate accidents into those occurring on curves and on straight sections, however, this differentiation is performed in an approximate manner based on the km where the accident occurred. The accidents that occurred within these areas were added to their respective curved sections.
For homogeneous segmentation considering spatial criteria, grouping was performed by sub-sections according to the road surface type, land use, terrain type, roadway layout, and grade. Through the Query Builder tool, a consultation
Figure 2. Table of homogeneous HSM segments.
Figure 3. Table of segments contiguous to the curves tao a distance of 50 m.
was made to identify the accidents associated with each group and where they occurred, over the entire period of analysis.
At first, to ensure that segmentation was carried out according to the spatial characteristics without considering accident frequency, a Risk Index was created. According to the characteristics most often presented in the literature and their respective ranges, values were established ranging from 1 to 3, where 1 is low risk, 2 is medium risk, and 3 is high risk for accidents (Table 2). Table 3 shows the estimated risk index values for the category variables Day of the Week and Age Group.
The risk index ranges from 3 to 8, with 3 having the lowest risk and 8 the highest. For example, a stretch 1880 m long with an AADT of 4800 vpd on a downward slope has a risk index of 5, whereas a stretch with an AADT of 4800 vpd on a downward slope with a 500 m radius curve has a risk index of 7, according to the composition presented in Table 4.
The Kernel estimating technique was applied, based on the index, in order to identify the areas with similar spatial characteristics, as shown in Figure 4. When
Table 2. Estimated values for calculating the risk index.
Table 3. Estimated values for calculating the risk index for the category variables day of week and age group.
Table 4. Example composition of the risk index.
Figure 4. Table of homogeneous segments, considering spatial criteria.
crossing the spatial variables with the geometric variables, for example, the “road layout” and “grade” variables, the Kernel estimating technique was also applied to identify and verify the differences in concentrations between the road layout and the presence of a rising or descending slope. The procedure was repeated for various combinations of clusters.
After segmentation of the homogeneous stretches, the accidents that fit within the selected segments of highway were associated with them.
With the database structured in this manner, it was possible to compare the distribution of accident severity and accident frequency on curved stretches, considering the slope of the terrain. The results show that approximately 68% of accidents occur on straight stretches and 32% on curved stretches, however, attention is drawn to the accident severity. Of the accidents that occurred on straight stretches (220), 29% (64) were serious and 9% (9) were fatal, compared to 35% (37) and 18% (19), respectively, for curved stretches, which had a total of 103 accidents (Figure 5). The analyses also show that approximately 41% of accidents in curved stretches occurred on a descending slope, with 40% of the total being serious accidents and 19% fatal, while the percentage was less than 1% for all cases on straight stretches (Figure 6).
4.3. Calibration of the Proposed Model
The models developed were calibrated using the GEE technique, assuming errors with a Negative Binomial distribution because of the presence of a large number of observations with zero value and, therefore, high dispersion. In the SPSS software, version 23.0.0, this analysis can be found in the procedures: Analyze >> Generalized Linear Models >> Generalized Estimating Equations.
There was insufficient data to build a model for varying shoulder width values and traffic volume. The lane width was also constant throughout the study section. Although there was a single point in the entire section studied where traffic volume was counted, AADT was considered in the model, because its importance
Figure 5. Distribution of accidents on straight sections and curves from 2007 to 2016.
Figure 6. Distribution of accidents occurring on straight section and curves with downward slope for the period from 2007 to 2016.
is consolidated in the literature. Two adjusted models were then prepared, with three variations corresponding to the homogeneous segmentations. (1, 2, 3) for each model. They are:
Model 1—dependent variable (frequency); age group, day of the week, AADT (categorical variables); radius, grade, length (covariables); lane width and shoulder width (only for type 1 and 2 segmentation).
Model 2—dependent variable (frequency); grade (categorical variable); radius, length, AADT (covariables); lane width and shoulder width (only for type 1 and 2 segmentation).
To evaluate the effect of constant traffic, two variations of models 1 and 2, called models 3 and 4, were considered, using the same segmentations 1, 2, and 3, with AADT included as an offset variable. The model terms were factorially combined so that all combinations between variables could be evaluated. A summary of the estimated models is described in Table 5.
The significance of the parameter coefficients and the deviance were observed, in order to analyze whether the variables were significant for the model. With QIC, the correlation structures were evaluated and the best global model was selected with the CURE Plot. A significance level of 5% was used, meaning that
Table 5. Summary of estimated models.
variables with a p-value greater than 5% were not considered to be significant. In the analysis of deviance, a Chi-square distribution of 5% significance was used. Therefore, if the contribution of the variable to the deviance was less than 1.96, the variable should not be included in the model.
When adding the lane width and shoulder width variables, neither model obtained satisfactory results. In both cases of the model tested, the parameter associated with the lane width and shoulder width variables was not statistically significant for α = 5%.
This result might be related to the constant values for all of the elements of the sample. The calibration results for models 1, 2, 3, and 4 are shown in Tables 6-9. Differences in the signs of the coefficients may indicate, depending on the segmentation, an opposite influence of the variable on the expected number of accidents estimated by the model.
The choice of working correlation matrix represents intra-individual dependency. The best structure should be sought, using the lowest QIC as a criterion. The QIC values found by adjusting models 1, 2, 3, and 4 with other correlation matrices are shown in Tables 10-13.
It can be seen that, according to the QIC parameter, the exchangeable correlation structure was the one that best fit the longitudinal data for the models generated.
Table 6. Estimated ρ and SD values of model 1 for the different segmentations.
Number of observations in the database = 428.
Table 7. Estimated ρ and SD values of model 2 for the different segmentations.
Number of observations in the database = 428.
Table 8. Estimated ρ and SD values of model 3 for the different segmentations.
Number of observations in the database = 428.
Table 9. Estimated ρ and SD values of model 4 for the different segmentations.
Number of observations in the database = 428.
Table 10. Values for QIC adjusting model 1 with other correlation structures.
Table 11. Values for QIC adjusting model 2 with other correlation structures.
Table 12. Values for QIC adjusting model 3 with other correlation structures.
Table 13. Values for QIC adjusting model 4 with other correlation structures.
With this correlation structure, it can be said that the correlation between any two observations within a group are constant. The adjusted Segmentation 3 offered the best result for all models, however, most parameters were not statistically significant (p > 0.05).
The CURE Plot graphs of the models are presented in Figure 7 and Figure 8. For Models 1 and 2, it is possible to observe that the curve for cumulative residuals oscillates around 0 and does not cross the upper nor the lower acceptable limit. For models 3 and 4, the cumulative residual curve oscillates around 0 but exceeds the upper limit. Therefore, the best accident prediction model is model 2, because it presented the lowest QIC value (600.30).
The results obtained from the validation demonstrate that the best model for accident prevention is Model 2, because the root mean square error of the model adjustment (ΔRMSE) is closest to zero, with a value of −0.082 (Table 14).
It is worth mentioning that the parameters obtained for the variables Day of the Week and Age Group agree with the values found in the simulations for variable selection. Taking the age group of those over 50 as a reference, young people between 18 and 30 are 22.7% more likely to be involved in fatal accidents while adults between 30 and 50 are 34% less likely to be involved in accidents. On weekends, the chance of accidents occurring is 67% higher than during the week.
Figure 7. CURE Plot for the models developed (1 and 2). (a) Model 1; (b) Model 2.
Figure 8. CURE Plot for the models developed (3 and 4). (a) Model 3; (b) Model 4.
Table 14. Model validation parameters.
For Segmentation 1, based on HSM, the selected variables have larger standard errors than those selected for other segmentation approaches. This is likely because, on highways, homogeneous segments change only at intersections, producing very long segments, where a great number of them have zero acidentes, and with considerable variation within individual segments in the other variables that cannot be adequately modeled.
For the model estimated for Segmentation 2, which includes 50 m of roadway on each end of a curve, the results were also significant. However, they tend to underestimate the number of accidents for low AADT values and overestimate accidents for higher AADT values.
Initially, the segmentation producing the worst results in the number of variables that can be included in the model was Segmentation 3, in which all variables are explanatory for each segment. Therefore, variable categories were created, based on fixed value ranges, to improve the statistical power of the model. These categories were defined by attempts to obtain the best fit of the model and statistical significance for the main parameter estimates.
Finally, the GEE model was defined in order to predict the occurrence of accidents in a segment considering the AADT, curve radius, segment length, and grade, as shown in Equation (3):
where: = frequency of expected accidents per year; = intercept; β1, β2, β3 and β4 = parameters; R = Curve radius (m), L = segment length (m), Grade = Grade (negative, positive, or zero), and ε = error term.
Table 15 shows the model effects of all of the independent variables. The variable categories have no absolute values, but define the value of the parameter estimate (βn in column 3). The exponent of the estimated parameter (and βn in column 5) can be interpreted as a form of relative risk value for any declared variable category. This means that the following interpretations can be made based on each of the variables, considering that all other variables in the model have been kept constant.
The study showed that curves with a radius less than or equal to 600 m have a 3.2 times greater risk of accidents than curves with a radius greater than 2200 m (relatively straight). It also showed that sections with a downward slope have a risk of accidents 1.6 times greater than upward sloping or level road sections. Straight stretches longer than 1000 m on a downward slope, followed by a curve, have a risk of accident 2.2 times greater.
Equation (3) was solved for all variable categories in the model. The average value of the rate for accidents with victims in curved sections per kilometer was low: 0.048. This reflects the low frequency of accidents in these stretches. However, the causes may be related to the low traffic flow on rural roads, to the fact that there is a single point Where traffic data is collected in the studied section, or even the underreporting of this type of accident. Therefore, it was more significant to present the model’s results from the combination of road characteristics, including the radii of the curves. For the sample mean of 0.048 accidents per km, the value 1.0 was defined.
To visualize the data more easily, a color code was applied: green represents an expected value for accidents with victims below the sample average (less than 1.0), yellow represents scenarios with a risk between the average and double the average (between 1 and 2), and orange represents scenarios in which the risk is two to three times the average value (between 2 and 3). The red color represents an extreme risk condition in which the predicted accident value was more than three times the sample average. Table 16 shows changes in the expected risk level for accidents in curves based on the predicted value.
From these results, it can be concluded that radii between 600 and 1500 meters
Table 15. Estimated parameters and effects of the log-linear negative binomial predictive model.
Table 16. Changes in the predicted level of accident risk on curves.
should be preferred in all scenarios for the design of new roads in order to reduce the frequency of accidents in curves. The results also show that long downward-sloping stretches followed by curves with radii less than 600 m offer the greatest risk for accidents. If highways with a radius less than 600 m were converted into highways having radii greater than 600 m, accidents with victims in curves would decrease by about 18%. Roads with radii smaller than 600 m on a downward slope would see a reduction of 27%. With the model results and the historical accident numbers for the analyzed segments, the calibration procedure was carried out by dividing the actual total value by the calculated estimated value. The value obtained was 2.35 for Segmentation 1 and 1.75 for Segmentation 3.
The structuring of the database with a GIS was focused on the utilization of accident data, compared through the types of accidents that occurred, accident rates, accident indices, the situation of those involved, climatic conditions, vehicles, and with regard to the referenced period. The database structure sought to visualize the geometric parameters, mainly those of curves, not only through blueprints that do not always reflect the constructed reality, but through a semi-automated process proposed in this study combining several current and available databases. Geoprocessing techniques, such as reducing the excessive number of vertices, reconstructing curved elements, and smoothing segments, were necessary to improve the geometric quality of the road base.
The results are consistent when comparing the homogeneous segmentation between the Kernel map approaches and the statistical methods. This result was expected, because both methods work with the average severity of each accident. The discovery that homogeneous segmentation based on the Kernel estimator provides good results, shows that it is possible to create a hierarchy and establish geometric characteristics that have the greatest influence on the occurrence and severity of traffic accidents on rural single-lane Brazilian highways.
This model can be used to provide information about future revisions to the curve parameter selection guidelines, based on the principal road design parameters available in the Brazilian database. The modeling results can be used for curve selection, based on the reduction of accident risk.
The study produced clear indicators for the highway design parameters that influence the safety performance of rural highways. The exponents of the parameter estimates were statistically significant at p ≤ 0.1 and the majority was significant at p ≤ 0.05. Although the accident rate per kilometer on curves was low, the model highlights the severity of accidents on these stretches. It was concluded that radii between 600 and 1500 meters should be preferred in all scenarios for the design of new roads to reduce the frequency of accidents.
The carrying out of this study made it possible to verify that the rural roads in the state of Pernambuco are still 3.3 times more prone to accidents with fatalities than those in urban areas. Approximately 58% of fatal road accidents occur on horizontal curves, according to visual inspection when filling out accident reports, meaning that the true number may be higher. The analysis represents an important step towards the revision of curve design guidelines. An approach to the design of curves based on the management of accident results may involve defining an increase in radius values and in the transition sections to meet the accident safety target for curves. As future study, the area of analysis is to be expanded and the methodology applied to other regions with similar characteristics to northeastern Brazil, as well as to other developing countries, not for the transferability of the model, but to fit the model and variables of interest to the regional level and subsequently adapt it to the national level.
The authors would like to thank the University of Pernambuco, its Polytechnic School of Engineering, and its Civil Engineering Master’s Program for their financial support and infrastructure that aided in the development, translation, and publication of the article. The authors would also like to thank the meticulous and dedicated translation work by Simeon Kohlman Rabbani.
 Findley, D.J., Hummer, J.E., Rasdorf, W., Zegeer, C.V. and Fowler, T.J. (2012) Modeling the Impact of Spatial Relationships on Horizontal Curve Safety. Accident Analysis & Prevention, 45, 296-304.
 Strathman, J.G., Dueker, K.J., Zhang, J. and Williams, T. (2001) Analysis of Design Attributes and Crashes on the Oregon Highway System. Publication FHWA-OR- RD-02-01, Federal Highway Administration, U.S. Department of Transportation, Washington DC.
 Charlton, S.G. (2007) The Role of Attention in Horizontal Curves: A Comparison of Advance Warning, Delineation, and Road Marking Treatments. Accident Analysis and Prevention, 39, 873-885.
 Abdulhafedh, A.A. (2017) Novel Hybrid Method for Measuring the Spatial Autocorrelation of Vehicular Crashes: Combining Moran’s Index and Getis-Ord G*i Statistic. Open Journal of Civil Engineering, 7, 208-221.
 Macedo, M.R.O.B.C., Maia, M.L.A., Kohlman Rabbani, E.R. and Lima Neto, O.C.C. (2020) Remote Sensing Applied to the Extraction of Road Geometric Features Based on OPF Classifiers, Northeastern Brazil. Journal of Geographic Information System, 12, 15-44.
 Ye, X., Pendyala, R., Shankar, V. and Konduri, K. (2013) A Simultaneous Model of Crash Frequency by Severity Level for Freeway Sections. Accident Analysis and Prevention, 57, 140-149.
 Yu, R. and Abdel-Aty, M. (2013) Multi-Level Bayesian Analysis for Single- and Multi-Vehicle Freeway Crashes. Accident Analysis and Prevention, 58, 97-105.
 Castro, M., Paleti, R. and 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. Transportation Research Part B, 46, 253-272.
 Park, E.-S., Carlson, P., Porter, R. and Anderson, C. (2012) Safety Effects of Wider Edge Lines on Rural, Two-Lane Highways. Accident Analysis and Prevention, 48, 317-325.
 Zegeer, C.V., Stewart, J.R., Council, F.M., Reinfurt, D.W. and Hamilton, E. (1991) Cost-Effective Geometric Improvements for Safety Upgrading of Horizontal Curves. Publication FHWA-RD-90-074, Federal Highway Administration, U.S. Department of Transportation, Washington DC.
 Lee, J. and Mannering, F. (2002) Impact of Roadside Features on the Frequency and Severity of Runoff-Roadway Accidents: An Empirical Analysis. Accident Analysis and Prevention, 34, 149-161.
 Zegeer, C.V. and Deacon, J.A. (1987) Effect of Lane Widht, Shoulder Widht, and Shoulder Type on Highway Safety. In: Relationship between Safety and Key Highway Features: A Synthesis of Prior Research, State of the Art Report 6, Transportation Research Board, Washington DC, 1-21.
 Vogt, A. and Bared, J. (1998) Accident Models for Two-Lane Rural Segments and Intersections. Transportation Research Record: Journal of the Transportation Research Board, 1635, 18-29.
 Karlaftis, M. and Golias, I. (2002) Effects of Road Geometry and Traffic Volumes on Rural Roadway Accident Rates. Accident Analysis & Prevention, 34, 357-365.
 Shankar, V., Mannering, F. and Woodrow, B. (1995) Effect of Roadway Geometrics and Environmental Factors on Rural Freeway Accident Frequencies. Accident Analysis & Prevention, 27, 371-389.
 Hadi, M.A., Aruldhas, J., Chow, L.F. and Wattleworth, J.A. (1995) Estimating Safety Effects of Cross-Section Design for Various Highway Types Using Negative Binomial Regression. Transportation Research Center, University of Florida, Gainesville.
 Cafiso, S., Di graziano, A., Di Silvestro, G., La Cava, G. and Persaud, B. (2010) Development of Comprehensive Accident Models for Two-Lane Rural Highways Using Exposure, Geometry Consistency and Context Variables. Accident Analysis and Prevention, 34, 357-365.
 Quddus, A.M., Chao, W. and Stephen, G.I. (2010) Road Traffic Congestion and Crash Severity: Econometric Analysis Using Ordered Response Models. Journal of Transportation Engineering, ASCE, 136, 424-435.
 Chiou, Y., Lan, L.L. and Chen, W. (2010) Contributory Factors to Crash Severity in Taiwan’s Freeways: Genetic Mining Rule Approach. Journal of the Eastern Asia Society for Transportation Studies, 8, 1865-1877.
 Haleem, K., Abdelaty, M. and Mackie, K. (2010) Using a Reliability Process to Reduce Uncertainty in Predicting Crashes at Unsignalized Intersections. Accident Analysis and Prevention, 42, 654-666.
 Boodlal, L., Donnell, E.T., Porter, R.J., Garimella, D., Le, T.Q., Croshaw, K., Himes, S., Kulis, P. and Wood, J. (2015) Factors Influencing Operating Speeds and Safety on Rural and Suburban Roads. Report No. FHWA-HRT-15-030, Federal Highway Administration, Office of Safety Research and Development, McLean.
 Costa, J.O., Freitas, E.F., Jacques, M.A.P. and Pereira, P.A.A. (2016) Collision Prediction Models with Longitudinal Data: An Analysis of Contributing Factors in Collision Frequency in Road Segments in Portugal. RS5C-Road Safety on 5 Continents.
 Garnaik, M.M. (2014) Effects of Highway Geometric Elements on Accident Modelling. Thesis Master of Technology in Transportation Engineering, Department of Civil Engineering, National Institute of Technology, Rourkela.
 Agbelie, B.R.D.K. (2016) A Comparative Empirical Analysis of Statistical Models for Evaluating Highway Segment Crash Frequency. Journal of Traffic and Transportation Engineering, 3, 374-379.
 Andriola, C.L. (2018) Análise da frequência e severidade de acidentes viários em curvas de rodovias de pista simples: O caso da BR 116. Masters Dissertation, Civil Engineering Graduate Program, Federal University of Rio Grande Do Sul, 201.
 Anastasopoulos, P.C., Shankar, V.N., Haddockc, J.E. and Mannering, F.L. (2012) A Multivariate Tobit Analysis of Highway Accident Injury-Severity Rates. Accident Analysis & Prevention, 45, 110-119.
 Chikkakrishna, N.K., Parida, M. and Jain, S.S. (2017) Identifying Safety Factors Associated with Crash Frequency and Severity on Nonurban Four-Lane Highway Stretch in India. Journal of Transportation Safety & Security, 9, 32-30.
 Sameen, M.I. and Pradhan, B. (2016) Forecasting Severity of Traffic Accidents Using Road Geometry Extracted from Mobile Laser Scanning Data. The 37th Asian Conference on Remote Sensing (ACRS), Sri Lanka, 17-21 October 2016, 1-6.
 Dong, C., Nambisan, S.S., Richards, S.H. and Ma, Z. (2015) Assessment of the Effects of Highway Geometric Design Features on the Frequency of Truck Involved Crashes Using Bivariate Regression. Transportation Research Part A: Policy and Practice, 75, 30-41.
 Cruz, P., Echaveguren, T. and González, P. (2017) Estimación del potencial de rollover de vehículos pesados usando principios de confiabilidad. Revista ingeniería de construcción, 32, 5-14.
 Erdogan, S., Yilmaz, I., Baybura, T. and Gullu, M. (2008) Geographical Information Systems Aided Traffic Accident Analysis System Case Study: City of Afyonkarahisar. Accident Analysis and Prevention, 40, 174-181.
 Mendonca, M.F.S., Silva, A.P.S.C. and Castro, C.C.L. (2017) Análise espacial dos acidentes de transito urbano atendidos pelo Servico de Atendimento Móvel de Urgência: Um recorte no espaco e no tempo. Revista Brasileira de Epidemiologia, 20, 727-741.