1. Introduction

The goal is to use the Washington Post police shootings and related (demographic data, state spending, homicides) datasets to try and determine whether we can provide any actionable suggestions to the US Justice Department on how to decrease the overall number of police shootings.

The analysis is split into three parts all of which try to answer these different questions:

  1. Overview of the variables in core dataset and state level analysis

    • Are certain races disproportionately affected?
    • What are the predominant circumstances and reasons police shootings occur?
    • What's the effect of other factors like victims age, gender, body camera usage etc.?
  2. State level analysis and clustering based on demographic data

    • What's the relationship between state level homicide rates and the number of police shootings?
    • What effect does spending on law enforcement have?
    • Could we cluster states using demographic and economic data to try and similar states with varying number of police shootings (that way policies, training standard, organization structure used in those state could possibly be implemented in worse performing state)?
  3. Building a state level statistical model which would explain the effect various socio-demographic variables have on the number of police shootings.

    • Can we find states that perform better or worse than they expected to (based on their socio-demographic profile)?
      • Can other similar states adopt some of the policies, training standards from the best performing states?

2. Overview of the dataset

The goal of this part is to analyze the main shootings dataset to try and find any patterns between different races, age groups genders etc.

The purpose of which is to determine what proportion of variance could be explained by immutable features (which law enforcement agencies can't directly affect) and whether the unexplained variance could be related to racial and other prejudices.

2.1. Chronological Distribution of Police Shootings

In total there were 8635 recorded police shotings between 2015-01-02 and 2023-07-22, averaging about 1010 per year

We can see the number of police shootings has been relatively stable (even though there was significant month to month variance) prior to 2020 with about 80 killings per month. In recent years it has increased to about 90

2.2. Racial Data

We can see that Native Americans and especially African Americans people are severely over-represented among police shooting victims. The police shooting rate for African Americans is two times higher than would be expected based on their population. On the other hands white and Asian people are much less likely to be shot.

We assume that that there are two explanations for this:

  • Socio-demographic factors (such as higher rates of poverty) means that African Americans are more likely to engage in violent crime.
  • African Americans are more likely to be victims of rocial prejudice and are more likely to be shot than White or Asian Americans while engaging in equivalent activities.

By looking at other variables and their interaction we'll try to answer which of these options is better at explaining the variance in police shootings between different racial groups.

2.3 Geographic Distribution of Police Shooting

8

Then map above compares the number police shootings per capita across different states. The drop down in the top right might be used to select different races. When a specific race is selected the map show by how much are different racial groups over/under represented compared to the general state population.

Looking at the state level data we can see that:

  • Generally north-eastern states have the lowest incidence of police shootings.
  • Shootings of black people (relative to population are most frequent in Midwestern and western states), the only state were black people are significantly over-represented in the east is West Virginia.

R² = 0.323

p-value = 0.000

The relationship is statistically significant.

This chart shows the relationship between the proportion of the African American population in a state and by how much are they over-represented as victims of police shootings:

  • The states to right have a larger black population (e.g. in Washington DC close to 50%n of all people are black).

  • The Y axis show the ratio between the black population in a state and the proportion of victims who are black. e.g. in the topmost state, Utah black people make up only 1.3% of the population but about 7.2% of all victims are black.

While their are over-represented in every state we can conclude from this chart that the higher proportion of black people live in a state the less likely are they to be shoot

This finding is quite interesting, while we can just conclusions but one possible explanation is that in areas where black people might make up a higher proportion of of law enforcement agencies they are less likely to be shot than in those where black populations are small.

This would indicate that racial prejudice might be one of the main reasons of this relationship. And that policies specifically targeting states with fewer black people might be beneficial.

R² = 0.200

p-value = 0.003

The relationship is statistically significant.

Interestingly if we look at Hispanic population the relationship is inverse. The more Hispanic people live in a state there more likely they are to be over-represented. This might indicate the an increase in police shootings might be community related, however this requires further investigation.

In any case the absence of the pattern we've seen with African American indicates that Hispanic people are less likely to be affected by racial prejudice even if in the areas where their population is relatively low.

2.4. Armed With and Threat Type

2.4.1 Threat Type By Race

In this section we'll try to examine the circumstances under the victims we killed and we'll check whether they vary significantly between different races.

Additionally we'll look into whether the relationship between race and the killed individual possessing a firearm or engaging in specific activities is statistically significant.

To do that we'll use the Chi-squared test which is better suited for analyzing association between categorical variables than the Z-Test

We can see that the reported threat type does indeed vary between races, for instance:

Hypothesis 1. Black people are more likely to be killed when after shooting or actively attacking someone than other groups
deadly_force  Other  Shoot/Attack
is_black                         
Black           953           957
Other          3054          2122

Chi2 value: 46.73
P-value: 0.00000
Degrees of freedom: 1.00
Reject null hypothesis: There is a relationship between being black and  being killed while shooting at or actively attack someone.
*alpha = 0.01

It seems that black people are significantly more likely to be shot while shooting a firearm. This is likely an argument against the racial prejudice hypothesis we've expressed previously since shooting is generally the most serious threat and the one most likely to be met with deadly force regardless of the shooter's race.

Hypothesis 4. Killings of black are more likely to have no determined reason
is_undetermined  Other  Undetermined
is_black                            
Black             1836            74
Other             5019           157

Chi2 value: 2.87
P-value: 0.09031
Degrees of freedom: 1.00
Fail to reject null hypothesis: There is no relationship between undetermined threat type and victim being black.
*alpha = 0.05

In the main chart we've noticed that there are slighly more incidents where black people were shot but there was no reported threat type compared to other races. However this does not appear to be significant, but it might be worth examining it further as it likely indicates that these people might have been shot without sufficient cause.

Hypothesis 2. Hispanic and other people are more likely to be killed when not armed with a firearm than black or white people
has_gun                Gun  Other
is_hispanic_or_other             
Black/White           3470   2074
Hispanic/Other         815    727

Chi2 value: 47.44
P-value: 0.00000
Degrees of freedom: 1.00
Reject null hypothesis: There is a relationship between being hispanic and not being armed with a firearm when killed.
*alpha = 0.01

Another interesting observation is that hispanic people are less likely to be firing a gun when shot. This also something which should be investigated further.

2.4.2 Armed With By Race
Hypothesis 6. Non-white people are significantly more likely to be killed when unarmed
was_unarmed  Other  Unarmed
is_white                   
Other         3178      274
White         3434      200

Chi2 value: 16.41
P-value: 0.00005
Degrees of freedom: 1.00
Reject null hypothesis: There is a relationship between the killed individual being unarmed and non-white.
*alpha = 0.01

This suggests that police officers are less likely to shot white people unless they are carrying some sort of a weapon. This is a fairly clear indication of racial prejudice and possibly means that policemen might put in more effort in defusing the situation before using deadly force if white people are involved.

However since the number of incidence is fairly low we can't say this occurs in a significant proportion of police shootings.

The fact that Hispanic people are more likely to be shot while not firing a gun seems to be mostly explained by them being more likely to have knives.

2.5 Flee Status

It seems that Hispanic and black people are more likely to be shot when fleeing than other people. Without additional data we can't really speculate on the reasons of this too much.

Either police officers are more likely to use deadly force when the fleeing individual is white or white people are less likely to flee (.e.g. significantly more shootings of white people seem to be mental illness related and such individual are possibly less likely to attempt to run away).

was_mental_illness_related  False  True 
is_white                                
Other                        2890    562
White                        2642    992

Chi2 value: 124.87
P-value: 0.00000
Degrees of freedom: 1.00
Reject null hypothesis: There is a relationship between being white and the killing being mental health related.
*alpha = 0.01

Without additional data this is relatively hard to interpret. More straightforward explanation would be that white people are less likely to be killed while committed intentional/deliberate property related or other violent crimes. This might be developed further using additional crime statistics datasets (if available)

R² = 0.230

p-value = 0.000

The relationship is statistically significant.

The proportion of shootings that were related to mental health issues seems to vary wildly between different states. The situation in some of the North-Eastern states seems to be the worst.

However we shouldn't just jump to conclusions. If we look at the relationship between the total number of police shootings and what proportion of them were related we can see that while the correlation is not very strong the proportion of of shootings related to mental health increases as the overall number of shootings in a state decreases.

The most intuitive explanation of that is that mental health related shootings in states like New York (which have very low number of shootings overall) are not necessarily a bigger issue than in other states but that people in other states are much more likely to be shot for different reasons.

However we can still compare states with overall comparable numbers of police shootings, for example:

  • Maine, Washington, Vermont and New Hampshire have comparable rates of police shootings, but close to 50% of all shootings in Maine are mental health related while only 15% in Maine are (with the other states in between). Barring reporting issues and considering how similar in most aspects these states are (so it's unlikely the overall prevalence of mental health issues might be very different) government in New Hampshire (and other states in comparable situations) should consider adopting the mental health related policies which are used in states like Maine.

Significant variance between the proportion of mental health related police killings in states with similar overall number of shootings indicates that the law enforcement agencies and/or public health departments should try to adopt the best practices used in other states

2.7 Age Analysis

Victims who are white generally tend to be older (median: 39 years) than those who are black (31) or are Hispanic and other (34). However this mostly corresponds to the the difference in median age in the overall population:

  • White 44 years
  • Black 35 years
  • Hispanic 30 years

We can also see that shooting victims tend to be a bit younger than the rest of the population.

There seems to be no meaningful difference in age between genders.

Looking at the threat type we can see that older people are much more likely to be shot while point a weapon while younger people are more often shot while physically attacking someone which seems to be fairly self explanatory.

It doesn't seem that we can make any meaningful conclusions based on this.

2.9 Body Camera Usage

Intuitively we could expect that increasing usgae of body cameras would've resultedin a decrease of police shootings, however this has not been the case.There are several possible explanations for that:

  • Body cameras are being rolled out at a too slow pace. Any effect they might have hadhas been overshadowed by increasing police killings (possible related to the covid pandemic
  • There is no meaningful relationship because camera usage and shootings or it's very low

We can't measure this relationship statistically without additional data such as a dataset of all police encounters and their outcomes which is obviously unobtainable.There possibly might be other approaches that could be used to estimate the effect bodycameras have which might be worth investigating

Hypothesis 5. White people are significantly less likely to be killed when the officer is wearing a body camera
body_camera  False  True 
is_white                 
Other         2805    647
White         3195    439

Chi2 value: 60.04
P-value: 0.00000
Degrees of freedom: 1.00
Reject null hypothesis: There is a relationship between the killed individual being white and the officer wearing a body camera.
*alpha = 0.01

1.3 Analysis

After examining the dataset and performing some basic hypothesis testing we've found that there are some significant differences between the characteristics of victims depending on their race and age:

  • Black people are more likely to be killed when after shooting or actively attacking someone than other group
  • Hispanic and other people are more likely to be killed when not armed with a firearm than black or white people
  • Killings of white individuals are more likely to be related to mental health issues
  • Killings of black people are more likely to have no determined reason than for other groups
  • White people are significantly less likely to be killed when the officer is wearing a body camera
  • Non-white people are significantly more likely to be killed when unarmed
  • People who are 45 or older are more likely to be killed while pointing a firearm

However we can't explain whether these relationships exist due to some underlying reason (e.g. systemic discrimination or biases of the law enforcement agents, socioeconomic differences between racial groups etc.) without additional data. This is something that needs to be investigated further.

However even if we were able to provide a more reliable explanation for these relationships that does not mean that we will be able to derive actionable decisions for the United States Department of Justice. Solving them might require an enactment of complex socioeconomic policies which is not something the state department is in control.

One other important aspect that we must take into account is that while all police shootings are regrettable the majority of them are justifiable in the sense that the victim was shot while committing a violent crime and threatening the life and safety of other individuals and/or police officers.

While it's possibly that the prior training etc. of police officers to handle such situations using less lethal methods can possibly decrease the number of deaths this is not something wen can analyze using the data we have.

Instead we'll focus on demographic, social, economic and other macro factors which can be used to explain the varying levels of police shootings between different states to: 1. Determine the factors which explain the variance in police shootings. 2. Find factors which can be influenced by Federal and local governments.

This might allow police departments in different states to adopt policies, training standards etc. from other jurisdictions which is potentially a relatively straightforward way to decrease the incidence of police shootings.

3. Explaining Differences Between States:

One possible approach could be to try and find demographically similar US states which have significantly different numbers of shootings per capita. If such states exist we can try to find whether this can be explained by some other variable or attribute which could be theoretically influenced by local or state governments.

3.1. Homocide Rates

We would expect the the number of police shootings would be more or less proportional to the levels of violent crime in any given state:

R² = 0.074

p-value = 0.056

The relationship is not statistically significant.

Interestingly we can see that the correlation between the homicide and police shootings is very low and only a small proportion of variability in police shootings between different states can be explained.

While this insight on it's does suggest provide any specific actionable decisions it indicates high numbers of police shootings can't be justified by the prevalence of violent crime alone. This is very concerning since it indicates that a high proportion of police shootings can't be justified and it's likely an outcome of flaws is law enforcement policies, training etc. which is something that should be adressed

1.3.1.2 Police Spending Per Capita

Next let look at the spending on law enforcment per capita (adjusted by per capita income in state):

R² = 0.101

p-value = 0.022

The relationship is statistically significant.

While relationship between high spending on law enforcement and the number of police shootings is relatively weak, surprisingly it's positively correlated and statistically significant. The more a state spends on police the more people end up being shot. We shouldn't just took conclusions based on this alone, though. It's possible that there are other factors at play:

  • There is more crime in poorer states requiring more resources for law enforcement (however we have already partially disproved this by looking at the homicide rate)"))
  • Types of homocides/violent crime (i.e. high levels of drug or organized crime related crime probably require more resources to police than high levels of domestic and low level crime)
  • Other socio-demographic variables which are possibly correlated with police spending (e.g. population density) offer a stronger explanation"))
  • allocation of spending (i.e. in some states police officers might be expected to provide services which might be provided by other organization in other states")) etc."))

While decreasing police budgets outright it probably not a good solution the Justice Department and local agencies should look into whether the allocation of fund is efficient and whether high policy presence in some parts of the country are fully justifiable.

1.3.1.1 Clustering States by Demographics

Hierarchical clustering is a method of cluster analysis that builds a hierarchy ofclusters by minimizing the variance of thedistances between the clusters being merged.

The states that end up on the same branch are most similar to each other based on these factors:

  • Persons 65 years and over, percent
  • White alone, percent
  • Black or African American alone, percent
  • Hispanic or Latino, percent
  • Foreign born persons, percent
  • Language other than English spoken at home, pct age 5+
  • High school graduate or higher, percent of persons age 25+
  • Bachelor's degree or higher, percent of persons age 25+
  • Homeownership rate
  • Housing units in multi-unit structures, percent
  • Median household income
  • Persons below poverty level, percent
  • Population per square mile, 2010
  • police_prop_income
  • Homocide per 1000k

We need to find a threshold at which we'll have a reasonable number of clusters. In addition to relying on the Dendogram we can also measure ther Silhouette Score:

Considering we want to avoid a to high number of cluster a threshold of 9 seems like a good option

Total Clusters: 5

Gennerally the clustering results seem to be sensible, cultually and economically comparable states seem to be clustered together

  • Interestingly New-England seems to be split into two clusters. Norther more rural states are grouped together with states in the North-West, while the more urbanized ones are grouped with the Mid-Atlantic states.
  • New York, Rhode-Island and Califronia seem form their own cluster which is somewhat harder to explain

Then purpose of clustering was to try to remove the influence of socio-demographic and economic factors on the prevalence of police shootings.

The assumption is that variance in shooting rates between otherwise very similar states can be mostly explained by different government and law enforcement policies which is something that could be changed more easily than deeper issues like poverty etc.

Looking at the states closest to each on the dendogram at a threshold of 4, we can see some pair of states which are very similar yet have very different rates of police shootings compared to the national average:

  • Nevada (+1.8) & Texas (-0.2)
  • Kansas (+0.1) & Nebraska (-0.6)
  • Colorado (+2.2) & Washington (-0.3)
  • North Caroline (-0.4) & Tennessee (+0.8)
  • Montana (+0.6) & Ohio (-0.9)

We would be able to find even more examples by increasing the threshold (see the strip plots above).

While this is outside the scope of this analysis we would suggest the Justice Department to start by comparing the law enforcement and other policies used in these state pairs with each other to try and determine whether the less successful states can adopt some the practices, training standards etc.

Explained variance: [0.37028356 0.24933625]

The variance explained by PCA is somewhat limited but not insignificant.

Some clusters seem to be grouped closer to each other. However cluster 2 (Mid-Atlantic and some New England states) only makes sense when looking at Component 2 and doesn't make a lot of sense on the Component 1 axis.

4. Building a Multiple Regression Model

Let's build a statistical model to try and determine which of the demographic and other variables are best at explaining the variance in police shootings between different states.

We can't use Random Forest due to the low number of observations which would likely result in overfitting.

Multiple linear regression is also possibly not the best option due to the higher number of dependent variables in relation to the number of observations.

Let's look at the correlation between dependent variables before we chose a model:

1.3.1 Correlation and Preparing the Dataset
1.3.2 Elastic Net Linear Regression Model

Considering that there is strong correlation between many of the variables we'll use the Elastic Net model instead of Lasso Regression for instance

Persons 65 years and over, percent                           -0.131234
White alone, percent                                          0.000000
Foreign born persons, percent                                -0.000000
High school graduate or higher, percent of persons age 25+    0.000000
Bachelor's degree or higher, percent of persons age 25+      -0.000000
Homeownership rate                                           -0.220462
Housing units in multi-unit structures, percent              -0.739171
Median household income                                       0.000000
Persons below poverty level, percent                          0.064068
Population per square mile, 2010                             -0.422243
police_prop_income                                            0.466692
Homocide per 1000k                                            0.000000
home_price_to_income                                          0.077081
dtype: float64
1.3.3 Interpreting Model Results

Any conclusions we make based on these results are obviously should be taken with a grain of salt however they do show some possibly surprising finding:

  • Racial diversity/proportion of non-white population has no influence on the number of shootings per capita.

  • However population density and concentration seem to be important factors. Specifically the proportion of people living in multi-unit housing units (apartments) seems to be the strongest predictor. There are likely several non straigforward interpretations of this however in combination with population density this might imply that:

    • police officers tend to behave different depending how likely other people and bystanders in general are to witness their actions.
    • Also it's possible that they feel less safe in less densely populated areas because it might take longer for other officers to reach them.
    • People shot by police are more likely to die if it occurs in areas with poor coverage by emergency services and it takes a long time for them to arrive.

    We can't test the validity of any of these hypothesis but it might be worth examining them further because they all seem to be highly actionable (improving police training, strategies for acting around dangerous individuals like waiting for backup etc.)

  • Homicide rate seems to have no effect on the number of police shooting while the amount spent per capita on policing in the state is a relatively strong predictor.

    • this implies that there is not link between the general level of extreme violence in the state and the number of police shootings. This is highly concerned since using deadly force is only justifiable when the life of the officer or somebody else is in danger. However there seems to be no relationship between actual likelihood of a life threatening event occurring the decision by a law enforcement officer to use deadly force.

      This is something that certainly should be investigated further and is also possibly highly actionable. Especially because certain states handle this much better (like New York) and their practices might be applied in states which handle it much worse like New Mexico.

  • High police spending seems to have a moderate effect on the incidence of police shooting combined with the homicide statistics this is also highly concerning. Increased spending on police, in this case at least, seems to produce a more negative outcome. It's hard to determine why this might be the case. However it's possible that significant proportions of funding might be miss-allocated (e.g. spent on unnecessary equipment etc.) and might better used to improve training. Even barring that it might mean that a smaller police presence might decrease the number of police shooting while have no effect on the murder rate (it's important to note that other crime statistics are not taken into account here).

Conclusions

  • The difference in numbers can't be fully explained by "immutable" socio-demographic variables:

    • Black people are signficantly more likely to be shoot in states where they only make up a small proportion of the population:

      e.g. in Southern States the rate of police shootings of black people is much lower than in some norther and mid-western states. This might indicate that white police officers in those areas might target black people more often than in areas were African Americans are better integrated in local police departments etc.

      This phenomena can't be observed with other racial groups like Hispanics or Native Americans

    • There seems to be almost no relationship between the murder rate and the incidence of police shootings in different states.

      This is a crucial finding because it implies that a higher levels of police shootings can't be explained by higher prevalence of violent crime. This is something that certainly needs to be further looked into by the Justice department. One option would be to try to encourage then adoption of practices used in more successful states across the country.

    • Higher police spending (as proportion of state per capita income) seems to result in a higher number of police shootings. Taken together with the what we found about violent crime this is also highly concerning. Based on our modeling lower police spending has no effect on the homocide rate, this implies that overpolicing might be an issue (especially considering the recent trends in adoption of milatary grade weaponry and equipment across different police deparments).

      It's possible that decreasing the spending on law enforcement might decrease the number of police shootings while having no effect on the homocide rate however we have not looked into its relationship with the overall levels of crime.

  • We can make no determinate conclusions on body camera usage:

    • While the proportion of police officers wearing a camera during shootings has increased over the last 8 years the number of shootings has actually increased. Without additional data we can't determine whether their adoption had limited effect or whether it's statistically not noticeable because the over number has increased due to other factors.
  • Mental health seems to be an important are to tackle:

    • Significant variance between the proportion of mental health related police killings in states with similar overall number of shootings indicates that the law enforcement agencies and/or public health departments should try to adopt the best practices used in other states
  • Police shooting rates seem to vary signficantly between some states which are very similar demographically, economically and urbanization wise.

    • The justice department should perform a deeper analysis of the law enforcement policies practiced in some of the state pairs we've listed to try and determine whether the can be more widely adopted.

Limitations

  • The core of the analysis is based on differences US states. This means that the number of samples is quite and low and might be to low to for some mode. It might be worth going down a level or so and using Combined statistical area instead (collections of countries based on interconnected, usually urban areas).

  • It would be a good idea to look at more variables like the number of police interactions and the likelihood of them ending in a police shooting based on the target socio-economic status, race, mental state etc. and other factors like whether the officer is wearing a body camera, their training level etc. Of course such datasets are probably unobtainable without significant resources.

  • Besides the homicide rate we should also look at additional crime data, drug use and additional demographic variables like homelessness.