This week, me and Tai decide to analyst the number of shootings related to gender and race. In the data, there are some people have 2 or 3 races so we split the race and shootings outcomes as follows:
We can see that the victims are predominantly white. So the question is, is there a gender or racial bias in the shootings? We calculated the p-value is 0.005, which is less than 0.05, indicating a significant dependence between race and gender. Then we calculating the residuals revealed White women had the highest rate (2.75), with observed counts exceeding expectations.
This week, I also plotted the longitude and latitude of cities to see the shooting zoning. As we known that LA has the most shootings with 156, and most cases are concentrated in the area near latitude 34 and longitude -118.3.
Be First to Comment