- Neuroscience Researcher @UMich
- Study brain connectivity & psychiatric disorders
- twitter: @dankessler
- web: www.dankessler.me
- I use R for data wrangling and behavioral/fancier analyses (e.g. mixed effects)
- New to Stan and Police Shooting data
Sept 13, 2016
The US has recently witnessed a number of high-profile deaths of African-Americans at the hands of police.
There is a pressing need to study this phenomenon quantitatively. Why?
A Multi-Level Bayesian Analysis of Racial Bias in Police Shootings at the County-Level in the United States, 2011-2014Cody T. Ross*
US Police-Shooting Database (USPSD)
For each county i, let \(C_{i}\) be the ratio of: \(\frac{P(killed_{unarmed} | black)}{P(killed_{unarmed} | white)}\)
Ross, C. T. (2015). A Multi-Level Bayesian Analysis of Racial Bias in Police Shootings at the County-Level in the United States, 2011-2014. PLoS ONE, 10(11), e0141854-34
real Counts100];
) or statements (x = 5;
)Let \(C_x\) be an observed count of shootings with associated predictors \(x\).\(C_x \sim \text{Poisson}(\lambda_x)\)\(\lambda_x = e^{\theta'x}\)\(\theta\) is the vector of coefficients for the GLM.Let \(\theta\) have block structure as\(\theta = \begin{bmatrix} \theta_{Race:Demo} & \theta_{Offset} & \theta_{Race} & \theta_{County:Time} & \theta_{Race:County:Time} \end{bmatrix}\)In most cases the elements of \(\theta_{*}\) are simply one or more beta coefficients, which unless otherwise specified have uninformative priors.Introduce two additional random variables:\(\vec{\beta}_{County:Time}^{i} = \begin{bmatrix} \beta_{\textit{D1, County:Time}}^i & \beta_{\textit{D2, County:Time}}^i \end{bmatrix}\)
\(\vec{\beta}_{Race:County:Time}^{i} = \begin{bmatrix} \beta_{\textit{YD, Race:County:Time}}^i & \beta_{\textit{D2, Race:County:Time}}^i \end{bmatrix}\)
\(\vec{\beta}_{County:Time}^{i} \sim N(0,\Sigma_1)\)
\(\vec{\beta}_{Race:County:Time}^{i} \sim N(0,\Sigma_2)\)
Step 1
RR Black:White = 4.13 RR Var = 1.31 RR Cov(D1,D2) = .225
Step 2:
RR Black:White = 2.70 RR Var = 1.17 RR Cov(D1,D2) = .204
Step 3:
RR Black:White = 2.66 RR Var = 1.29 RR Cov(D1,D2) = .265