Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2020 Aug 17;10:13871. doi: 10.1038/s41598-020-70808-2

Socio-economic, built environment, and mobility conditions associated with crime: a study of multiple cities

Marco De Nadai 1,2,, Yanyan Xu 3,5, Emmanuel Letouzé 4, Marta C González 3,5, Bruno Lepri 2
PMCID: PMC7431538  PMID: 32807802

Abstract

Nowadays, 23% of the world population lives in multi-million cities. In these metropolises, criminal activity is much higher and violent than in either small cities or rural areas. Thus, understanding what factors influence urban crime in big cities is a pressing need. Seminal studies analyse crime records through historical panel data or analysis of historical patterns combined with ecological factor and exploratory mapping. More recently, machine learning methods have provided informed crime prediction over time. However, previous studies have focused on a single city at a time, considering only a limited number of factors (such as socio-economical characteristics) and often at large in a single city. Hence, our understanding of the factors influencing crime across cultures and cities is very limited. Here we propose a Bayesian model to explore how violent and property crimes are related not only to socio-economic factors but also to the built environmental (e.g. land use) and mobility characteristics of neighbourhoods. To that end, we analyse crime at small areas and integrate multiple open data sources with mobile phone traces to compare how the different factors correlate with crime in diverse cities, namely Boston, Bogotá, Los Angeles and Chicago. We find that the combined use of socio-economic conditions, mobility information and physical characteristics of the neighbourhood effectively explain the emergence of crime, and improve the performance of the traditional approaches. However, we show that the socio-ecological factors of neighbourhoods relate to crime very differently from one city to another. Thus there is clearly no “one fits all” model.

Subject terms: Computational science, Statistics, Computer science

Introduction

Criminology widely recognizes the importance of places1,2: crime occurs in small areas such as street segments, buildings or parks, and it is spatially stable over time3,4. However, theoretical and empirical research showed that crime is also a consequence of socio-economic contextual characteristics, usually referred to as the “neighbourhood effect”5,6. In criminology, cooperation, as opposed to disorganization of neighbours, is indeed believed to create the mechanisms by which residents themselves achieve guardianship and public order7, solve common problems, and reduce violence79. This mechanism also finds its roots in urban planning, where the relationship between specific aspects of urban architecture10 and urban physical characteristics11 are related to security. Places and neighbourhoods are not to be considered islands unto themselves, as they are embedded in a city-wide system of social interactions. On a daily basis, people’s routine exposes residents to different conditions, possibilities12, and this routine may favour crime13. Nevertheless, many empirical studies focus on just a subset of static factors at a time such as socio-economic factors without considering the contextual built environment8,9,1417, or ignoring mobility15,16,18,19, and often only drawing results in a single city (e.g. Chicago)8,9,15,1926.

Studies on small areas and neighbourhoods roughly come from two streams of literature. The first stream focuses on the routine activity and crime pattern theories13,27,28 at places. These studies suggest that crime occurs when an offender, its suitable target, and the absence of any deterrence system, such as police or even ordinary citizens29, converge at a place. The presence of people influence the number of offenders and targets, but the daily routine of residents exposes homes and people to predatory crimes30. The built environment was also found to affect criminal activities, as physical disorder and specific locations (e.g. bar, taverns) attract offenders and suitable targets3133. The second stream of literature builds on the social context upon which the place of the crime is embedded. A notable example is the Social Disorganization theory7,9, which found high crime concentration in socially and economically disadvantaged neighbourhoods. In it, the structural predictors are often seen through the concentrated disadvantage, ethnic diversity, residential instability of neighbourhoods7,9,34 While most of these studies use census data as primary data source, recent years have witnessed a growing interest in alternative data. For example, scholars exploited synthetic social ties to simulate neighbourhood cohesion35, and mobility flows to indicate crime opportunities and connections between neighbourhoods23. Others leveraged crowd-sourced Point of Interests (POIs), taxi flows36, and dynamic population mapping from satellite imagery17,37 and mobile phone activity14,20 to assess the presence of people. Altogether, these results highlight the tight relation between the socio-economic, the built environment and mobility conditions, and their impact on criminal activities. Although the two streams of the theory are often seen as competing, we argue that they can complement each other. However, very limited work has integrated socio-economic, built environment and mobility conditions together in multiple cities and in small areas. Moreover, while crime theories are not limited to specific cities5, and several cross-disciplinary results suggest common and universal patterns in mobility38,39, urban environment40 and aggregated crime41,42 in urban systems, our comparative knowledge base is limited5. These limitations result in a fragmented and incomplete picture5,43 of how the numerous factors influence crime in the urban context and limit the impact of the conclusions.

Here, we seek to shed light on the diverse set of factors at play with urban crime exploring how violent and property crimes are related, at the same time, to the Social Disorganisation, to the built environment characteristics and to human mobility. Specifically, we analyse crime at the level of group of blocks (measuring on average 0.378 square kilometers), considering both the local features of the group and its surrounding context, represented by all the blocks within a half-mile. The contribution of this paper is twofold. First, we address the need for a comprehensive study that explores crime patterns at fine grained resolution across multiple cities of the world, analysing Bogotá, Boston, Los Angeles and Chicago. Secondly, we show that taking into account the complex interplay between crime, people, places, and human mobility significantly improves the performance of the crime inference. We make use of massive and ubiquitous data sources such as mobile phone records and geographical data, implying that the resulting framework can be replicated at scale. Our generated insights can help recommend effective policies and interventions that improve urban security.

Results

We study criminal activity in Bogotá (Colombia), Boston (USA), Chicago (USA) and Los Angeles (USA), four very different cities with respect to cultural, urban and socio-economic conditions.

Our approach follows the aforementioned two streams of literature of place and neighborhood, assuming the existence of a social process named neighborhood effect, namely the relation of crime patterns with small places characteristics and mobility. To account for all these factors we analyse criminal activity and small places characteristics at census block group, the smallest geographical unit for which the U.S. census publishes data, and measuring on average 0.378 square kilometers. Each block group, here called core, is exposed to a surrounding context, named corehood, which is the set of all the surrounding block groups within a half mile from the core (see Figure 1). As the context of nearby cores is similar, corehoods might overlap. The idea of using overlapping units is not new16,44,45, and it is focused on creating an ego-centric neighborhood for each core (see Supplementary Information (SI) Note 11 for a technical discussion). We describe the characteristics of the place where crime happens through specific features of the core, while we describe the context at which it is embedded through the features at the corehood. As neighborhoods in literature are loosely defined, we tested different sizes of the corehood, finding the half mile distance as the best to describe the neighborhood effect (see the SI Note 11).

Figure 1.

Figure 1

For each block group (the core), we consider the block groups within a half mile as its corehood. Blocks that are near each other share most of their corehood. In this example, we show two cores in Bogotá and their corresponding corehood. We focus on three aspects of the core and the corehood: the Social Disorganization (SD), the Built Environment (BE), and the Mobility (M). The core, where crime is predicted, measures on average 0.378 square kilometers.

Criminal activity is provided by police agencies, which record through police reports the geographic location (i.e. latitude and longitude), date, time of day and category of each crime event. For all the cities we map each category of crime into the US Uniform Crime Reporting (UCR) categories46 and analyse crime belonging to two broad categories: violent and property crimes. They include homicides, sexual and non-sexual aggravated assaults, robbery, motor vehicle thefts and arson. We assign each crime to a corehood through its geographical position.

We describe cores through the features that were previously found to attract potential offenders and targets36, such as the census residential population and the number of nightlife, shops and food POIs inside each core, which are extracted from web data (more details in the Methods Section). Then, we describe corehoods through the environmental (neighbourhood) characteristics found to influence crime11,24. The corehood features are estimated from all the block groups surrounding the core. We group them in Social Disorganization (SD), Built Environment (BE) and Mobility (M) features. The SD characteristics include some of the standard Social Disorganization theory features, namely concentrated disadvantage, instability and ethnic diversity. Consistently with the literature7,9,15,26, disadvantage and instability are composite variables built from the two largest principal components of: (i) unemployment rate, (ii) poverty rate, defined as people living below the poverty line, and (iii) residential mobility rate, defined as the percentage of people who recently changed residency. Again, in accordance with the literature7,47,48, ethnic diversity is computed as the Hirschman-Herfindahl index across six population groups (e.g. hispanic, black, white people, etc.). Additional details are present in the Methods Section. Note that we excluded all race-specific variables that are usually employed (e.g. percentage of black people in36) to build an evidence-based and race-neutral model.

The BE corehood features are based on the Jane Jacobs theory11, which states that the presence of people and a vibrant neighborhood life form a virtuous loop controlling local crime. From her own words “a well-used city street is apt to be a safe street and a deserted city street is apt to be unsafe”11. Four conditions have to be valid to ensure this virtuous loop. First, a district should serve at least two or more functions to have streets continuously used by residents and strangers. Second, street blocks should be small and short to ensure both high walkability and frequent meeting of people at street intersections. Third, diverse buildings make it possible to have low- and high-rent spaces, and thus a mixture of people and enterprises. The fourth condition is about dense concentration, which ensures a sufficient presence of people and enterprises to attract dwellers from different neighbourhoods continuously. Thus, in accordance with the literature49 we operationalize through census and geographical data the four conditions in: i) land-use mix; ii) block size iii) building age diversity; iv) population density and walkability, which promotes social relations50 and is connected to local cohesion of neighbors. The details, data sources, and formula for these metrics are available in the Methods Section.

The M features are built upon recent mobility and criminology literature, which found mobility to be tightly coupled with criminal activity in space and time14,20,25,42. People at risk in urban areas can be essentially measured through residential and floating population. The first one measures the number of people who resides in an area, while the second one measures the average number of people that can be expected in an area at any given time37 (e.g. average number of people at a mall). We measure floating population through the average number of people for each core, named ambient population37, and the attractiveness of the corehood, measured through the number of people movements to the corehood for reasons different than travelling to work or home. We extract this valuable information from passively and anonimized mobile phone data, collected by mobile phone operators for billing reasons. From mobile phone data, we fit the mobility model TimeGeo51 and simulate realistic urban traces that are used to extract the ambient population and attractiveness features. We do not include M features for Chicago, as we do not have mobile phone traces. Even if mobility is not available, Chicago is considered by many the testbed for empirical crime analysis, thus we include it to allow readers to do useful comparisons for socio-economic and urban environment characteristics.

Crime patterns have been observed to be highly concentrated in the space, overdispersed52, and positively spatial correlated. Thus, we model and predict crime through a spatially filtered Bayesian Negative Binomial, which is specifically tailored for discrete data, accounts for the overdispersion of crime events, models uncertainty and avoids the biased parameters of non-spatial models53,54. Through this model, criminal activity at cores is described by a linear combination of an intercept, the fixed effects (i.e. the aforementioned core and corehood features), and some random effects that represent the latent and unexplained variance that emerge from the spatial-autocorrelation of neighboring areas. Our model accounts for the high spatial correlation in crime events, and we did not find any significant spatial auto-correlation in the model residuals (see Note 4 in the SI). The reader can refer to the Methods section for additional details about the model and its formulation.

Description and prediction of crime

We begin by presenting the aggregated performance of our model predicting crime in the four analysed cities. We evaluate our model under various feature combinations to assess the contribution of each group of features. We measure the capability of the model to describe crime through the marginal Rm255 and the conditional Rc255 (the higher the better). The marginal Rm2 measures the proportion of variance explained by the fixed effects (i.e. the input features), while the conditional Rc255 takes also into account the variance explained by the auto-correlation but not the input features (absorbed by the random effects). The difference between the two can be used to find clustering effects and missing variables. To assess the point-wise out-of-sample prediction accuracy we use the Pareto-smoothed importance sampling Leave-One-Out cross-validation (here called LOO for simplicity)56 (the higher, the better).

First, we evaluate the baseline model that includes only the core variables, namely the residential population and the number of nightlife, shops and food POIs. Table 1 shows that the core-only model performs poorly in Chicago, Los Angeles and Boston, while it has high Rm2 in Bogotá. We observe high difference between Rm2 and Rc2, which means that there is a significant unexplained variance that is not explained by the core features.

Table 1.

Quantitative results of crime description and predictions in Bogotá, Boston, Los Angeles and Chicago. The model including Social Disorganization, Built Environment and Mobility features achieves the highest descriptive (Rm2 and Rc2) and predictive (LOO) performance. Here, we can see that contextual features of the neighborhood significantly increase our model’s performance against the model considering only the core features. The LOO metric is calculated through the Pareto smoothed importance sampling Leave-One-Out cross-validation.

Model Bogotá Boston Los Angeles Chicago
Rm2 (Rc2) LOO Rm2 (Rc2) LOO Rm2 (Rc2) LOO Rm2 (Rc2) LOO
Core 0.54 (0.75) −3897 0.21 (0.64) −2035 0.18 (0.68) −9665 0.09 (0.68) −8415
Social-disorganization (SD) 0.57 (0.75) −3891 0.55 (0.68) −2019 0.53 (0.72) −9529 0.66 (0.78) −8019
Built environment (BE) 0.61 (0.76) −3881 0.36 (0.68) −2014 0.27 (0.69) −9629 0.21 (0.69) −8371
Mobility (M) 0.64 (0.80) −3804 0.42 (0.70) −2001 0.25 (0.70) −9570 - -
SD+BE 0.64 (0.76) −3881 0.65 (0.72) −1987 0.56 (0.72) −9508 0.67(0.79) -8003
SD+M 0.66 (0.81) -3795 0.67 (0.73) −1973 0.55 (0.73) −9467 - -
BE+M 0.68 (0.80) −3819 0.50 (0.72) −1989 0.30 (0.70) −9585 - -
SD+BE+M (Full) 0.70(0.80) −3808 0.70(0.75) -1957 0.56(0.74) -9454 - -

The best performance is highlighted in bold.

The SD, BE and M features significantly increase the explanatory power of our model. Particularly, in US cities, the Rm2 increases up to 161%, 194% and 633% in Boston, Los Angeles and Chicago. Notably, and not surprisingly, the SD features are very important, especially in Chicago, where the “Chicago school”57 forged the Social Disorganization theory and further elaborated the role of collective efficacy on dealing with crime. Differently, the increase in Bogotá is less pronounced, suggesting that the neighbourhood impact on crime is limited. Turning to M and BE features, we find that they describe the crime, but they are often as not meaningful as the SD features for crime prediction. However, the importance of mobility confirms the importance of floating population at describing micro-dynamic behaviour of criminal activity25,42. We observe that in all cities the conditional Rc2 increases when adding the SD, BE and M features, revealing that the included variables also help explain the variance of crime.

Overall, Table 1 shows that considering together SD, BE and M variables result in the highest descriptive (Rm2) and predictive (LOO) performance. This result means that, in order to model crime, one needs to account for multiple aspects of urban life, including Social Disorganization, the physical characteristics of the neighbourhoods, and mobility. This result holds also against different combinations of the features (i.e. SD+BE, SD+M and BE+M). Nonetheless, some of the SD+BE and SD+M models are very competitive and might be considered when all data-sources are available. Particularly, the ambient population (i.e. the average number of people who stop at the core) is one of the most important variables in the model and allows to better assess the number of people at risk, as suggested by previous works on aggregated mobility42, satellite imagery37, Twitter20 and census data58. The Rm2 improvements also indicate that the model relies less on the random effects and it is better at explaining crime from the input features. However, we found that it might generate large errors due to places that are outliers of mobility in densely populated areas or hotspots of activity (see Figure S16 and Figure S17 in the SI).

Figure 2 shows the spatial gain in performance from the baseline in Bogotá. First, it reveals that our Full model prediction resembles the ground truth data (Figure 2 D-E), as confirmed by the high value of Rc2=0.80. Second, it shows that, while the SD and BE models achieve localized improvements (Figure 2 A-B), the Full model improves the prediction almost everywhere. However, the Full model performs quite poorly in a specific area of Bogotá (see Figure 2 C), part of the Engativá neighbourhood. By inspecting the coefficients of the model, we find that this area is an outlier as it is densely populated, thus causing an inflated prediction of crime, due to the high importance of residential and ambient population in the Bogotá model. Note, however, that our prediction is at the block level and the city-wide goodness of fit is Rc2=0.80.

Figure 2.

Figure 2

Maps of the estimated number of crime for each neighborhood in Bogotá for the A) Social-disorganization, B) Built environment, C) Full model. D) shows the Full model’s prediction. E) shows the ground truth crime count.

The difference between Rc2 and Rm2 represents the unexplained variance due to spatial auto-correlation, which might suggest missing effects and variables. In Bogotá, our model points out that the touristic and dangerous neighbourhood La Candelaria, and the populous district of Engativá have significant unexplained variance that our input features cannot capture (see Figure S13 in the SI). In Boston, the area near the Franklin park indicates missing local factors (see Figure S12 in SI). In Los Angeles, unexplained variance seems to be tied to places with a large number of people, namely the international airport and the UCLA campus (see Figure S14 in SI). Again, in Chicago, missing variables are suggested near the prison and the southern area (see Figure S15 in SI). Altogether, these signals could help policymakers on including the best factors for each city and enacting policies that prevent crime.

Previous results suggested that human movements between different regions might help describing crime36,59. Thus, we test our model against this hypothesis by using the people trips between areas to model the auto-correlation between corehoods. This connectivity is not only influenced by distance but also by geographical barriers, roads, traffic, and public transportation. Moreover, it could be interpreted as a proxy of spatial mismatch and isolation, which was empirically found to be connected with crime60. To build the connectivity matrix we use the TimeGeo model, which simulates a reliable Origin-Destination matrix between regions and it is validated towards transportation surveys (see Supplementary Note 3.1). However, we find that mobility flows alone do not have good predictive power in LA and Boston. The interested reader can find more information on the definition and results of this connectivity matrix in Supplementary Note 6.

While the effects of urban environment characteristics, socio-economic conditions, and mobility have been empirically tested separately9,49,6062, to the best of our knowledge, this is the first study to support with large-scale data the association of crime with socio-economic conditions, the built environment, and mobility. However, we find that these aspects do not play the same role across cities, and only some of them contribute to the crime prediction model.

Neighborhood variables across cities

By comparing how features play different roles in different cities, we can understand how far can we push previous theoretical and empirical studies. In this section, we turn our attention to the standardized β coefficients that reveal how features correlate with criminal activity.

First, we focus on the coefficients of the Full model, which combines socio-economic features with the characteristics of the built environment and human mobility. Note that here Chicago is excluded for lack of data. Figure 3 pictures that the β coefficients vary greatly across cities. For example, land-use mix correlates negatively with criminal activity in Bogotá and Los Angeles, but positively in Boston. Similarly, higher population building age diversity is present in low-crime areas in Boston and Los Angeles, but in high-crime areas in Bogotá. Social Disorganization variables are no less different, as corehood instability is correlated with crime activity only in Bogotá, differently from what expected from the theory7,63.

Figure 3.

Figure 3

Generalized Linear Model’s β coefficients showing that Social Disorganization, Built Environment and Mobility features do not play the same role in all cities. We highlight in blue the minimum and maximum coefficient for each feature. Overall, this figure shows that there is no universal theory of crime for spatial predictions.

The discrepancies between cities could be explained by the different spatial and socio-economic processes at play. When we look at the bivariate correlations across features, we observe interesting patterns. For example, in Los Angeles and Boston, walkability is strongly positively correlated with population density and neighbourhood attractiveness, as expected7,63, and slightly correlated with advantaged neighbourhoods. Differently, walkable areas in Bogotá have low population density and are highly advantaged, while the attractiveness is slightly correlated (see Figure S20 in SI). A possible reason for the β coefficients disagreement lies on the multi-collinearity of the input features. Although we use the QR decomposition and Ridge penalty to shrink down the variables that are not necessary, the difference between the coefficients is present also in simpler models (e.g. core-only).

The difference between the results across cities also suggests that crime correlates differently with space and people. For example, we observe that in Bogotá high crime areas relate to advantaged neighbourhoods, while in Boston and Los Angeles higher crime seem to be linked to disadvantaged neighbourhoods, according to the theory7,63. A possible explanation might be related to under-reporting and police disrespecting, which seems to be a problem particularly in Bogotá64. However, literature has shown how neighbourhood cultural codes, informal local control, and problematic policing are also related to violent criminal activities15.

We also found some commonalities in all the cities. We find that corehoods with high disadvantage and ethnic diversity but, surprisingly, smaller blocks have higher crime activity. While in the core we find that the presence of Shops, Food POIs, and population (both residential and ambient) correlates positively with criminal activity. These results resonate with literature showing that the presence of POIs and ambient population increase crime due to a higher number of potential targets and offenders in an area. Additionally, we find that corehood attractiveness has a strong connection with crimes, suggesting that the presence of people that do not live nor work in the area might influence crime. This result is in contrast with literature based on Jacobs’ theory11,22, but resonate with Oscar Newman’s one arguing that a high number of visitors results in higher anonymity and, thus, crime10. Additionally, a recent empirical study from survey data65 agrees with our result, obtained instead with large-scale and passively collected information. In the supplementary materials (SI), we compare all the cities in detail (see Supplementary Note 5-11).

We acknowledge the big difference between crime types. In this paper, we analysed serious crimes, which comprise heterogeneous crime types such as rape and robberies. Thus, we also test our model by disentangling criminal activity into two main categories: property and violent crimes. We found that the Full model still outperforms the others, and that precise patterns can be extracted from the β coefficients analysis. For example, in Bogota walkability is much more important in describing property crime than violent crime, while in Los Angeles, higher walkability seems to suggest a lower presence of property crimes. However, we observe that the multifaceted picture found in the aggregated crimes still holds for the disentangled models.

We also tested the alternative assumption where all corehood features are computed at the core, and found that the models with features computed at the corehood perform better than the models using SD, BE and M features only at the core, which highlights the validity of the corehood (and neighbourhood) assumptions (see Supplementary Note 11).

Previous research have found universal common patterns even in highly heterogeneous data and behaviour. Literature has shown the existence of common mathematical models describing mobility38,39, cities40 and aggregated crime at the city level41,42. To test the possibility of having a universal model that predicts crime in small areas, we test a model that uses only the features that behave in the same direction in all the cities. This model consistently performs worse than the Full model (see Note 10 in SI), showing that at this moment, no model is convenient to be easily applied to all cities. We also studied at what extent a model trained in one city can be tested to another city. We found that US cities are, as expected, more similar to each other than Bogotá, and that Los Angeles behave similarly to Chicago.

Discussion

In this paper, we modelled the presence of crime across four cities, widely different with respect to cultural, economic, historical and geographical aspects. We found that the variability of the dynamics and history of each city poses a challenge to the existence of a model that “fits it all”, able to learn from one city and to predict on another one. Instead, we presented a model that could describe and disentangle the role of diverse factors in urban crime and draw some theoretical and practical implications.

The goal of this research goes beyond crime prediction in time (i.e. forecasting). Offences are concentrated in a small number of places66, and are tightly coupled with places, stable over time1. Thus, the easiest way to predict crime is modelling those few places with the highest number of crimes, also known as hotspots14,67. On the contrary, we seek to shed light on the diverse set of factors at play with urban crime and do predictions for those areas without crime statistics (i.e. nowcasting).

Our cumulative results show little evidence in support of the Jane Jacobs’ theory, arguing that specific urban features and people on the street generate higher security. On the contrary, we often found that Jacobs’ features and urban vibrancy increase people’s vulnerability to crime, suggesting that further work has to be done in this direction.

We found that different theories often seen as competing can complement each other in models that take into account the socio-economic, built environment and mobility conditions together. The importance of mobility and built environment characteristics showed that competitive descriptive and predictive models can be built from data available at large scale without the necessity of costly in-field survey studies. However, we found that aspects related to the Social Disorganisation are important for crime description and prediction. Therefore, it is crucial to consider alternative sources of data to infer social cohesion and interactions and overcome the use of census information, which is costly to collect and rarely updated. There have been multiple attempts at inferring social interactions68, poverty69, well-being70 and unemployment71 but so far very little work has been done at small areas.

Comparing multiple cities in different countries do not come without limitations. First, our analysis ignore temporal variation such as opening times of POIs or temporal variation in mobility. Second, due to lack of consistent data, we did not account for variables such as political and housing policies, security perception, community participation, and social ties within family and within neighbourhoods that were previously found to be related to crime33,72,73. Finally, official crime data do not come without errors, given that not all crimes are reported nor recorded74, and there is no “ground truth” data to gauge any bias in police records. We use official police records similarly to recent literature in the field14,16,20,25,36.

Our work seeks to make headway on the previous limitation of a single site of study. While recent works have started the use of street units and blocks to study criminal activity19,21,75,76, they often relied on a small subset of variables and one city. Analysing multiple cities together exposed criminology theories to discrepancies and differences, and answers to the call of a framework to compare crime in different cities43. Descriptive and comparative modelling can help policymakers to see common patterns between cities, understand the use of urban space and deploy future investments and resources thoughtfully. Moreover, from the scientific perspective, descriptive modelling can provide insights for strong predictors, and potentially for explanatory variables, to be further investigated by explanatory modelling and experiments77. Thus, we hope that additional research keeps exploring multi-dimensional aspects related to crime, to clarify potential crime causes and design better cities.

Methods

The socio-economical and Jane Jacobs’ urban theories are dependent upon the actions and activities at work in communities. Thus, we identified corehoods as social and geographical units of analysis. Then, we obtained and aggregated the data for each corehood of Bogotá, Boston, Los Angeles and Chicago.

Crime data

Our crime data is obtained directly from police departments. Crime records are collected by the police, which annotates in the report the crime event at point locations (latitude and longitude) along with the category of crime and the time it happened.

Through its category, we associate each event to the Uniform Crime Reporting (UCR)46 categorization. The UCR program is a US statistical effort to make crime reports uniform across the country. The UCR divides crime in two main groups: Part 1 and Part 2 offences. The former is composed by violent crimes (aggravated assault, forcible rape, robbery and murder) and property crimes (larceny-theft, motor vehicle theft, burglary and arson), while the latter are considered less serious and they include offences such as simple assaults and nuisance crimes.

We filter out those crimes not belonging to Part 1 of UCR, similarly to most of the criminology literature. For Bogotá we mapped crime categories consistently with UCR categories, and we released the mapping for future research and comparisons. We also filtered out larceny crime events, which include among others thefts of bicycles, shoplifting, pick-pocketing, or the stealing of any property or article that is not taken by force and violence or by fraud. We consider larceny-thefts (except motor vehicle theft) as sometimes noisy and we expect the neighborhood effect to have a negligible impact on larceny-thefts (e.g. social cohesion with pick-pocketing in a shop). We geo-reference crimes to cores and, when a crime event happens in a street segment shared between cores, we evenly assign the event to both cores. Due to the limit in accuracy of GPS positioning, we create a buffer of 30 meters for each crime, which is the distance usually employed for stop location detection algorithms78 and criminology literature at micro-places21,44,76. We have no reason to suspect that the effect of the crime events stops at distances lower than 30 meters (e.g. robberies on the other side of the street are likely to affect residents on both sides). On the contrary, crime risk at hotspots has been observed to spread to distances up to 2000 meters67 spatially. Moreover, we note that the median area of cores are 0.378 square kilometers, which roughly means that each core has a median side of 615 meters (see Figure S11 in the SI).

More details are presented in the SI. We summed crime events over one year to minimize seasonal fluctuations.

Mobile phone data

We computed the ambient population and the OD matrices for Bogotá, Boston and Los Angeles from Call Detail Records (CDRs) of millions of individuals in the three cities. Mobile phone activity includes received and made calls and SMS activity. Each time a call or SMS is made/received, a CDR is generated. It includes some metadata such as the time and the tower at which the phone was connected when the activity was collected. Due to the inherent noise of CDRs79, which are collected only for billing purposes, we follow seminal literature78,80,81 and apply a stop location algorithm to classify the geo-located points where people stay or pass-by. Then, we simulate reliable human mobility traces through the TimeGeo modelling framework51, which generates traces that well describe the real mobility of people. To be consistent with the travel surveys of each city it simulates the time, duration, direction and type of travels within the city. The types of travels are classified as Home-Based from/to Work (HBW), Home-Based from/to Other type of locations (HBO) and Non-Home-based from/to Other type of locations (NHB).

We fitted the model starting from aggregated and anonymized Call Detailed Records (CDRs) collected from 12-01-2013 to 05-31-2014, 6 weeks in 2010, and 10-15, 2012 to 11-24, 2012 for Bogotá, Boston and Los Angeles respectively. We validated the model with the National Household Travel Survey (NHTS)82 and California Household Travel Survey (CHTS)83 datasets. We refer to the SI for the validation of TimeGeo.

To build the ambient population we counted the number of people who stops at a specific location for at least one hour. Since TimeGeo is validated and peer reviewed with HBW, HBO and NHB types of trips, we define the corehood attractiveness counting the number of NHB trips with the corehood as destination. We did not use HBW trips, as we cannot differentiate the origin from the destination and thus attractiveness could correlate with residential places. For the same reason, we excluded HBO trips from the attractiveness definition.

The anonymized data for the three cities was collected for billing purposes by two mobile operators, who also kindly provided to us the data for the present research.

Spatial and census data

Census blocks, population, employment and poverty for US cities were drawn from the American Community Survey (ACS) (https://www.census.gov/programs-surveys/acs). The census data of Bogotá was obtained by the Departmento Administrativo Nacional de Estadística (DANE), which organized the 2005 general census for the city (http://www.dane.gov.co). The poverty data of Bogotá was extracted from the Sisbén in the Identification System III of 2014. We also use the US Tiger dataset, OpenStreetMap (http://www.openstreetmap.org) geographical data and the POIs extracted from Foursquare (http://www.foursquare.com). The detailed description of datasets and related source URLs are listed in the SI.

Built environment features

We operationalize the Jane Jacobs conditions through some state of the art metrics defined in literature49 in all the corehoods. The land-use mix is computed as the average entropy among land uses: LUML,i=-jLPi,jlog(Pi,j)log(|L|), where Pi,j is the percentage of square meters having land use j in unit i, and L={residential,commercial and institutional,park and recreational} represents the considered land uses in the metric. The LUM ranges between 0, wherein the unit is composed by only one land use (e.g. residential), and 1, wherein developed area is equally shared among the n land-uses.

Then, for each corehood we determine the walkability through the accessibility of the core to the nearest point of interests (e.g. convenience stores, restaurants, sport facilities). Consistently with literature84, we define the weighted walkability score as: walki=1|Bi|cCbBiwdist(b,closest(b,POIc)), where C is the set of categories (i.e. Food, Shops, Grocery, Schools, Entertainment, Parks and outside, Coffee, Banks, Books), wdist is the street-network distance decay function, and POIc is the set of POIs of category c. The distance decay function gives a weight (importance) to each POI reachable from a starting point. Additional information about the walkability score can be find in the SI.

We then compute the average block area among the set Bi of blocks in unit i as Blocksareai=1|Bi|bBiarea(b), and the building age diversity as the standard deviation of building ages in the corehood.

Finally, we operationalize Jacobs’ density condition with the dwelling units density, computed from census data. Additional details are described in the SI.

Social Disorganization

We create the feature disadvantage and instability7,9,15,26 through the two largest PCA principal components of: (i) unemployment rate, (ii) poverty rate, defined as people living below the poverty line, and (iii) residential mobility rate, defined as the percentage of people who recently changed residency (one year for US cities and fiver years for Bogotá). From the loadings of the PCA linear combination we verified that disadvantage is mainly a linear combination of poverty rate and unemployment, while instability is mainly about residential mobility rate.

In the Social Disorganization variables we do not include any ethnic-specific variables (e.g. percentage of black people) other than diversity because they might be present only in some places and not in others (e.g. native Americans in Bogotá), and to avoid any ethnic-specific bias. Ethnic diversity represents the difficulties of a community to communicate and collaborate for a common goal. Accordingly to the literature7,47,48, it is computed as the Hirschman-Herfindahl diversity index of six population groups H=1-i=1Nsi2, where si is the proportion of people belonging to the ethnicity i, and N is the number of ethnicities. Consistently with the literature we include for US cities: Hispanics, non-Hispanic Blacks, Whites, Asians, Native Hawaiians - Pacific Islanders and others. For Bogotá we include: Indigenous, Rom, Islanders (San Andrés), Palenquero, Black and others.

Bayesian model

Let yi be the discrete number of crimes for a set of spatial regions i=1,,N. We approximate the relation between crimes and spatial features through a Negative Binomial approach that models the non-negative nature of the crime-counts in a city, but also the overdispersion found in the data (Note 4 in the SI). Specifically, ln(E(Y))=Xβ+b where X is the input data and β the coefficients of the model. b are the random effects that accounts for the unexplained variability of crime (i.e. the spatial-autocorrelation). In this paper, we account the spatial auto-correlation with the Bayesian Spatial Filtering (BSF)85 that defines b=Eγ where γ are coefficients to be found. E is instead defined as the first principal components of Efull=MCM, where C is a spatial matrix that describes the graph between spatial locations, while M=I-X(XX)-X, which is an approximation of the spatial error model54. We tested for the presence of spatial auto-correlation on the residuals of all the models without finding significant auto-correlation. As the results might change with different definitions of C, we tested all the models for three definitions: i) C is a binary adjacency matrix identifying whether a corehood overlaps another corehood, ii) C is a inverse distance matrix between corehoods, iii) C describes the flow of people between corehoods, which is extracted from mobile phone data. We found that the binary matrix consistently outperforms other definitions. Additional details of the presented models, definition of C, and other competitive models tested are present in the SI.

As we have to account for collinearity, we employ a Ridge penalty to all fixed effects.

Model calibration ed evaluation

Model calibration is carried out by means of Markov Chain Monte Carlo (MCMC) approach. We run the MCMC method for 20,000 iterations and chose as burn-in the first 15,000 iterations to ensure that the remaining 5,000 iterations are in the high-probability region. Convergence for all the models was assured by the Gelman-Rubin convergence statistics86 and visual inspection of the traces.

We assess how well the models describe crime through the conditional R2 and the marginal R255, which adapt the popular coefficient of determination to the generalized linear mixed-effects models. They are defined as:

Rm2=σf2σf2+σr2+σϵ2Rc2=σf2+σr2σf2+σr2+σϵ2

where σf2 is the variance explained by the fixed effects, σr2 is the variance explained by the random effects, and σϵ2 is the variance of the residuals. Specifically, f=Xβ, r=Eγ and ϵ is specific to the Negative Binomial and defined55 as ϵ=ln(1+1/μ+1/ϕ), with μ=1NiNyi and ϕ is the shape parameter of the Negative Binomial distribution.

We assess the out of sample predictive accuracy through the Pareto-smoothed importance sampling Leave-One-Out cross-validation (PSIS-LOO, here simply referred as LOO)56 and the Deviance Information Criterion (DIC)87. Even though DIC has been used extensively for practical model comparison in many disciplines, recent literature on Bayesian models evaluation strongly discourage the use of DIC due to its numerous disadvantages including the fact that it works well only if the posterior is close to a Gaussian, its lack of consistency and the fact that is not a proper predictive criterion56,88. Since LOO overcome the DIC issues, it has rapidly become the state of the art for evaluating Bayesian models. We employ the LOO in the main paper, while we present the DIC results in the supplementary. The LOO is defined in the log score as:

LOO=i=1nlns=1Swisp(yi|θs)s=1Swis. 1

where n is the number of data points, θs are draws from the full posterior p(θ|y), s=1,,S represent the S draws, and wis is a vector of weights that are the Pareto Smoothed importance ratios built through an algorithm described in the LOO original paper56. The best model is associated with the smallest LOO value.

Supplementary information

Acknowledgements

We thank Paolo Bosetti and Junpeng Lao for the helpful comments. We especially thank Andrés Clavijo for his support on the data, we all hope that this work could make Bogotá better. This work was supported by the Berkeley DeepDrive and the ITS Berkeley 2018-19 SB1 Research Grant (to M.C.G.); the French Development Agency and the World Bank (to M.D.N., B.L. and E.L.).

Author contributions

M.D.N, E.L., M.C.G. and B.L. designed research and experiments; M.D.N, Y.X., M.C.G. and B.L. performed research and experiments; M.D.N, M.C.G. and B.L. contributed new analytic tools; M.D.N, and Y.X. analysed the data; and M.D.N, M.C.G. and B.L. wrote the paper. All authors read, reviewed and approved the final manuscript.

Data availability

We are pleased to make available the source-code and datasets accompanying this research. The projects files are available at https://github.com/denadai2/bayesian-crime-multiple-cities/.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

is available for this paper at 10.1038/s41598-020-70808-2.

References

  • 1.Weisburd D, Groff ER, Yang S-M. The Criminology of Place: Street Segments and Our Understanding of the Crime Problem. Oxford: Oxford University Press; 2012. [Google Scholar]
  • 2.Tita, G. E. & Greenbaum, R. T. Crime, neighborhoods, and units of analysis: putting space in its place. In Putting Crime in Its Place, 145–170 (Springer, Berlin, 2009).
  • 3.Spelman W. Criminal careers of public places. Crime Place. 1995;4:115–144. [Google Scholar]
  • 4.Weisburd D, Bushway S, Lum C, Yang S-M. Trajectories of crime at places: a longitudinal study of street segments in the city of seattle. Criminology. 2004;42:283–322. [Google Scholar]
  • 5.Sampson RJ. Great American City: Chicago and the Enduring Neighborhood Effect. Chicago: University of Chicago Press; 2012. [Google Scholar]
  • 6.Graif C, Gladfelter AS, Matthews SA. Urban poverty and neighborhood effects on crime: incorporating spatial and network perspectives. Soc. Compass. 2014;8:1140–1155. doi: 10.1111/soc4.12199. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Sampson RJ, Groves WB. Community structure and crime: testing social-disorganization theory. Am. J. Sociol. 1989;94:774–802. [Google Scholar]
  • 8.Graif C, Sampson RJ. Spatial heterogeneity in the effects of immigration and diversity on neighborhood homicide rates. Homicide Stud. 2009;13:242–260. doi: 10.1177/1088767909336728. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Sampson RJ. Neighborhoods and violent crime: a multilevel study of collective efficacy. Science. 1997;277:918–924. doi: 10.1126/science.277.5328.918. [DOI] [PubMed] [Google Scholar]
  • 10.Newman O. Defensible Space. New York: Macmillan; 1972. [Google Scholar]
  • 11.Jacobs J. The Death and Life of Great American Cities. New York: Vintage; 1961. [Google Scholar]
  • 12.Wang Q, Phillips NE, Small ML, Sampson RJ. Urban mobility and neighborhood isolation in Americas 50 largest cities. PNAS. 2018;115:7735–7740. doi: 10.1073/pnas.1802537115. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Cohen LE, Felson M. Social change and crime rate trends: a routine activity approach. Am. Soc. Rev. 1979;44:588–608. [Google Scholar]
  • 14.Bogomolov, A. et al. Once upon a crime: towards crime prediction from demographics and mobile data. In ICMI, 427–434 (ACM, 2014).
  • 15.Kubrin CE, Weitzer R. Retaliatory homicide: concentrated disadvantage and neighborhood culture. Soc. Probl. 2003;50:157–180. [Google Scholar]
  • 16.Hipp JR, Boessen A. Egohoods as waves washing across the city: a new measure of neighborhoods. Criminology. 2013;51:287–327. [Google Scholar]
  • 17.Andresen MA. The ambient population and crime analysis. Prof. Geogr. 2011;63:193–212. [Google Scholar]
  • 18.Jones RW, Pridemore WA. Toward an integrated multilevel theory of crime at place: routine activities, social disorganization, and the law of crime concentration. J. Quant. Criminol. 2019;35:543–572. [Google Scholar]
  • 19.Contreras C. A block-level analysis of medical marijuana dispensaries and crime in the city of los angeles. Justice Q. 2017;34:1069–1095. [Google Scholar]
  • 20.Malleson N, Andresen MA. Spatio-temporal crime hotspots and the ambient population. Crime Sci. 2015;4:10. [Google Scholar]
  • 21.Hipp JR, Kim Y-A, Kane K. The effect of the physical environment on crime rates: capturing housing age and housing type at varying spatial scales. Crime Delinq. 2019;65:1570–1595. [Google Scholar]
  • 22.Traunmueller, M., Quattrone, G. & Capra, L. Mining mobile phone data to investigate urban crime theories at scale. In International Conference on Social Informatics, 396–411 (Springer, 2014).
  • 23.Song G, et al. Crime feeds on legal activities: daily mobility flows help to explain thieves target location choices. J. Quant. Criminol. 2019;35:831–854. [Google Scholar]
  • 24.Sohn D-W. Residential crimes and neighbourhood built environment: assessing the effectiveness of crime prevention through environmental design (CPTED) Cities. 2016;52:86–93. [Google Scholar]
  • 25.Kadar C, Pletikosa I. Mining large-scale human mobility data for long-term crime prediction. EPJ Data Sci. 2018;7:26. [Google Scholar]
  • 26.Sampson RJ, Morenoff JD, Earls F. Beyond social capital: spatial dynamics of collective efficacy for children. Am. Soc. Rev. 1999;64:633–660. [Google Scholar]
  • 27.Felson M, Clarke RV. Opportunity makes the thief. Police Res. Ser. Paper. 1998;98:1–36. [Google Scholar]
  • 28.Brantingham PL, Brantingham PJ. Nodes, paths and edges: considerations on the complexity of crime and the physical environment. J. Environ. Psychol. 1993;13:3–28. [Google Scholar]
  • 29.Felson M, Boba RL. Crime and Everyday Life. Thousand Oaks: Sage; 2010. [Google Scholar]
  • 30.Hindelang MJ, Gottfredson MR, Garofalo J. Victims of Personal Crime: An Empirical Foundation for a Theory of Personal Victimization. Cambridge, MA: Ballinger; 1978. [Google Scholar]
  • 31.OBrien DT, Sampson RJ. Public and private spheres of neighborhood disorder: assessing pathways to violence using large-scale digital records. J. Res. Crime Delinq. 2015;52:486–510. [Google Scholar]
  • 32.Murray RK, Roncek DW. Measuring diffusion of assaults around bars through radius and adjacency techniques. Criminal Justice Rev. 2008;33:199–220. [Google Scholar]
  • 33.Salesses P, Schechtner K, Hidalgo CA. The collaborative image of the city: mapping the inequality of urban perception. PloS ONE. 2013;8:e0119352. doi: 10.1371/journal.pone.0068400. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Sampson RJ. Neighborhood and crime: the structural determinants of personal victimization. J. Res. Crime Delinq. 1985;22:7–40. doi: 10.1177/0022427885022001002. [DOI] [Google Scholar]
  • 35.Hipp JR, Butts CT, Acton R, Nagle NN, Boessen A. Extrapolative simulation of neighborhood networks based on population spatial distribution: do they predict crime? Soc. Netw. 2013;35:614–625. [Google Scholar]
  • 36.Wang, H., Kifer, D., Graif, C. & Li, Z. Crime rate inference with big data. In ACM SIGKDD, KDD’16, 635–644, 10.1145/2939672.2939736 (ACM, New York, NY, USA, 2016).
  • 37.Andresen MA. Crime measures and the spatial analysis of criminal activity. Br. J. Criminol. 2006;46:258–285. [Google Scholar]
  • 38.Gonzalez MC, Hidalgo CA, Barabasi A-L. Understanding individual human mobility patterns. Nature. 2008;453:779–782. doi: 10.1038/nature06958. [DOI] [PubMed] [Google Scholar]
  • 39.Barbosa H, et al. Human mobility: models and applications. Phys. Rep. 2018;734:1–74. [Google Scholar]
  • 40.Louail T, et al. From mobile phone data to the spatial structure of cities. Sci. Rep. 2014;4:5276. doi: 10.1038/srep05276. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Gomez-Lievano, A., Patterson-Lomba, O. & Hausmann, R. Explaining the prevalence, scaling and variance of urban phenomena. Nat. Energy 1–9, (2018).
  • 42.Caminha C, et al. Human mobility in large cities as a proxy for crime. PLoS ONE. 2017;12:e0171609. doi: 10.1371/journal.pone.0171609. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Ojo A, Ojewale O, et al. Urbanisation and Crime in Nigeria. Berlin: Springer; 2019. [Google Scholar]
  • 44.Lee I, Jung S, Lee J, Macdonald E. Street crime prediction model based on the physical characteristics of a streetscape: analysis of streets in low-rise housing areas in South Korea. Environ. Plan. B Urban Anal. City Sci. 2019;46:862–879. [Google Scholar]
  • 45.De Nadai, M. & Lepri, B. The economic value of neighborhoods: predicting real estate prices from the urban environment. In 2018 IEEE 5th International Conference on Data Science and Advanced Analytics (DSAA), 323–330 (IEEE, 2018).
  • 46.FBI. Uniform crime reporting (UCR) program. https://ucr.fbi.gov/. Accessed 21 June 2020.
  • 47.Sampson RJ. The place of context: a theory and strategy for criminologys hard problems. Criminology. 2013;51:1–31. [Google Scholar]
  • 48.Sampson RJ, Graif C. Neighborhood social capital as differential social organization: resident and leadership dimensions. Am. Behav. Sci. 2009;52:1579–1605. [Google Scholar]
  • 49.De Nadai, M. et al. The death and life of great Italian cities: a mobile phone data perspective. In WWW, 413–423, 10.1145/2872427.2883084 (International World Wide Web Conferences Steering Committee, Republic and Canton of Geneva, Switzerland, 2016).
  • 50.Leyden KM. Social capital and the built environment: the importance of walkable neighborhoods. Am. J. Public Health. 2003;93:1546–1551. doi: 10.2105/ajph.93.9.1546. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Jiang S, et al. The TimeGeo modeling framework for urban mobility without travel surveys. PNAS. 2016;113:E5370–E5378. doi: 10.1073/pnas.1524261113. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Osgood DW. Poisson-based regression analysis of aggregate crime rates. J. Quant. Criminol. 2000;16:21–43. [Google Scholar]
  • 53.Griffith DA, Peres-Neto PR. Spatial modeling in ecology: the flexibility of eigenfunction spatial analyses. Ecology. 2006;87:2603–2613. doi: 10.1890/0012-9658(2006)87[2603:smietf]2.0.co;2. [DOI] [PubMed] [Google Scholar]
  • 54.Tiefelsdorf M, Griffith DA. Semiparametric filtering of spatial autocorrelation: the eigenvector approach. Environ. Plan. A. 2007;39:1193–1221. [Google Scholar]
  • 55.Nakagawa S, Johnson PC, Schielzeth H. The coefficient of determination r 2 and intra-class correlation coefficient from generalized linear mixed-effects models revisited and expanded. J. R. Soc. Interface. 2017;14:20170213. doi: 10.1098/rsif.2017.0213. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Vehtari A, Gelman A, Gabry J. Practical bayesian model evaluation using leave-one-out cross-validation and waic. Stat. Comput. 2017;27:1413–1432. [Google Scholar]
  • 57.Lutters WG, Ackerman MS. An introduction to the chicago school of sociology. Interval Res. Propr. 1996;2:1–25. [Google Scholar]
  • 58.Mburu LW, Helbich M. Crime risk estimation with a commuter-harmonized ambient population. Ann. Am. Assoc. Geogr. 2016;106:804–818. doi: 10.1080/24694452.2016.1163252. [DOI] [Google Scholar]
  • 59.Wang, H. & Li, Z. Region representation learning via mobility flow. In Proceedings of the 2017 ACM on Conference on Information and Knowledge Management, 237–246 (2017).
  • 60.Graif C, Lungeanu A, Yetter AM. Neighborhood isolation in chicago: violent crime effects on structural isolation and homophily in inter-neighborhood commuting networks. Soc. Netw. 2017;51:40–59. doi: 10.1016/j.socnet.2017.01.007. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 61.Lee S, Yoo C, Ha J, Seo J. Are perceived neighbourhood built environments associated with social capital? Evidence from the Seoul survey in South Korea. Int. J. Urban Sci. 2012 doi: 10.1080/12265934.2017.1396909. [DOI] [Google Scholar]
  • 62.Sung H, Lee S. Residential built environment and walking activity: empirical evidence of Jane Jacobs Urban Vitality. Transp. Res. D Transp. Environ. 2015;41:318–329. [Google Scholar]
  • 63.Shaw CR, McKay HD. Juvenile Delinquency and Urban Areas. Chicago: University of Chicago Press; 1942. [Google Scholar]
  • 64.Godoy, J. F., Rodriguez, C. & Zuleta, H. Security and sustainable development in bogota, colombia. Geneva: DCAF (2018).
  • 65.Boivin R, Felson M. Crimes by visitors versus crimes by residents: the influence of visitor inflows. J. Quant. Criminol. 2018;34:465–480. [Google Scholar]
  • 66.Lee Y, Eck JE, Soo Hyun O, Martinez NN. How concentrated is crime at places? a systematic review from 1970 to 2015. Crime Sci. 2017;6:6. doi: 10.1186/s40163-017-0069-x. [DOI] [Google Scholar]
  • 67.Short, M. B., Brantingham, P. J., Bertozzi, A. L. & Tita, G. E. Dissipation and displacement of hotspots in reaction-diffusion models of crime. PNAS (2010). [DOI] [PMC free article] [PubMed]
  • 68.Eagle N, Pentland AS, Lazer D. Inferring friendship network structure by using mobile phone data. PNAS. 2009;106:15274–15278. doi: 10.1073/pnas.0900282106. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 69.Blumenstock J, Cadamuro G, On R. Predicting poverty and wealth from mobile phone metadata. Science. 2015;350:1073–1076. doi: 10.1126/science.aac4420. [DOI] [PubMed] [Google Scholar]
  • 70.Pappalardo L, et al. An analytical framework to nowcast well-being using mobile phone data. Int. J. Data Sci. Anal. 2016;2:75–92. doi: 10.1007/s41060-016-0013-2. [DOI] [Google Scholar]
  • 71.Toole JL, et al. Tracking employment shocks using mobile phone data. J. R. Soc. Interface. 2015;12:20150185. doi: 10.1098/rsif.2015.0185. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 72.Faust K, Tita GE. Social networks and crime: pitfalls and promises for advancing the field. Ann. Rev. Criminol. 2019;2:99–122. [Google Scholar]
  • 73.Tran VC, Graif C, Jones AD, Small ML, Winship C. Participation in context: neighborhood diversity and organizational involvement in boston. City Commun. 2013;12:187–210. [Google Scholar]
  • 74.Small ML. Understanding when people will report crimes to the police. Proc. Nat. Acad. Sci. 2018;115:8057–8059. doi: 10.1073/pnas.1810663115. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 75.Kim Y-A, Hipp JR. Street egohood: an alternative perspective of measuring neighborhood and spatial patterns of crime. J. Quant. Criminol. 2020;36:29–66. [Google Scholar]
  • 76.Rosser G, Davies T, Bowers KJ, Johnson SD, Cheng T. Predictive crime mapping: arbitrary grids or street networks? J. Quant. Criminol. 2017;33:569–594. doi: 10.1007/s10940-016-9321-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 77.Kenett RS, Pfeffermann D, Steinberg DM. Election polls—a survey, a critique, and proposals. Ann. Rev. Stat. Appl. 2018 doi: 10.1146/annurev-statistics-031017-100204. [DOI] [Google Scholar]
  • 78.De Nadai M, Cardoso A, Lima A, Lepri B, Oliver N. Strategies and limitations in app usage and human mobility. Sci. Rep. 2019;9:1–9. doi: 10.1038/s41598-019-47493-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 79.Xu Y, Çolak S, Kara EC, Moura SJ, González MC. Planning for electric vehicle needs by coupling charging profiles with urban mobility. Nat. Energy. 2018;3:484–493. [Google Scholar]
  • 80.Jiang, S. et al. A review of urban computing for mobile phone traces: current methods, challenges and opportunities. In Proceedings of the 2nd ACM SIGKDD International Workshop on Urban Computing, 1–9 (2013).
  • 81.Zheng Y, Xie X. Learning travel recommendations from user-generated gps traces. ACM Trans. Intell. Syst. Technol. (TIST) 2011;2:1–29. [Google Scholar]
  • 82.US Department of Transportation, F. H. A. National household travel survey. http://nhts.ornl.gov. Accessed 19 June (2020).
  • 83.California Department of Transportation (Caltrans). California household travel survey (CHTS). https://dot.ca.gov/programs/transportation-planning/economics-data-management/transportation-economics/ca-household-travel-survey. Accessed 19 June (2020).
  • 84.Front seat walk score methodology. Tech. Rep. Available online at http://pubs.cedeus.cl/omeka/files/original/b6fa690993d59007784a7a26804d42be.pdf. Accessed on 3 January 2020, (Accessed February 20, 2020).
  • 85.Hughes, J. Spatial regression and the bayesian filter. arXiv preprintarXiv:1706.04651 (2017).
  • 86.Brooks SP, Gelman A. General methods for monitoring convergence of iterative simulations. J. Comput. Graph. Stat. 1998;7:434–455. [Google Scholar]
  • 87.Spiegelhalter DJ, Best NG, Carlin BP, Van Der Linde A. Bayesian measures of model complexity and fit. J. R. Stat. Soc. Ser. B (Stat. Methodol.) 2002;64:583–639. doi: 10.1111/1467-9868.00353. [DOI] [Google Scholar]
  • 88.Spiegelhalter DJ, Best NG, Carlin BP, Van der Linde A. The deviance information criterion: 12 years on. J. R. Stat. Soc. Ser. B (Stat. Methodol.) 2014;76:485–493. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Data Availability Statement

We are pleased to make available the source-code and datasets accompanying this research. The projects files are available at https://github.com/denadai2/bayesian-crime-multiple-cities/.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES