Abstract
Prior research on citizen perceptions of police has taken a wide-angle lens approach to the topic, with only a few studies investigating public perceptions of particular types of citizen–police encounters. In the current study, we make use of archival data on police traffic stops drawn from four waves of the BJS police–public contact surveys (PPCS) conducted in 2005, 2008, 2011, and again in 2015. In addition to employing conventional logistic regression, we make use of random forest classification to analyze survey data from a machine learning perspective. We use conventional logistic regression as a tool of explanation and random forest classification as a tool of prediction. We compare the findings generated by these two distinct analytical approaches. Substantive findings are quite similar for the explanatory and forecasting approaches. Driver’s belief that a traffic stop is legitimate is a major factor in how he or she evaluates police behavior in traffic stops, and whether the police use or threaten force during traffic stops may be the second most important factor. We draw out the implications of our work for our understanding of traffic stop dynamics, for the theory of procedural justice, for the theory of negativity bias, and for the enhanced use of machine learning in criminal justice.
Similar content being viewed by others
Notes
When we discuss the conventional logistic regression model and the conventional regression models, we particularly refer to regression analyses used in criminal justice and criminology.
The regression approaches used in criminal justice and criminology are different from the regression algorithms used in computer science. The most significant difference is that in CJ&C, datasets are not split into a test set and a training set. All cases are typically used in the analysis of large-N datasets.
References
Brown, B., & Benedict, W. R. (2002). Perceptions of the police: Past findings, methodological issues, conceptual issues and policy implications. Policing: An International Journal of Police Strategies and Management, 25(3), 543–580.
Cao, L. (2015). Differentiating confidence in the police, trust in the police, and satisfaction with the police. Policing: An International Journal of Police Strategies and Management, 38(2), 239–249.
Dai, M., & Johnson, R. R. (2009). Is neighborhood context a confounder? Exploring the effects of citizen race and neighborhood context on satisfaction with the police. Policing: An International Journal of Police Strategies and Management, 32(4), 595–612.
Mazerolle, L., Bennett, S., Davis, J., Sargeant, E., & Manning, M. (2013). Procedural justice and police legitimacy: A systematic review of the research evidence. Journal of Experimental Criminology, 9(3), 245–274.
Murphy, K. (2009). Public satisfaction with police: The importance of procedural justice and police performance in police-citizen encounters. The Australian and New Zealand Journal of Criminology, 42(2), 159–178.
Rosenbaum, D. P., Schuck, A. M., Costello, S. K., Hawkins, D. F., & Ring, M. K. (2005). Attitudes toward the police: The effects of direct and vicarious experiences. Police Quarterly, 8(3), 343–365.
Gibson, C. L., Walker, S., Jennings, W. G., & Mitchell Miller, J. (2010). The impact of traffic stops on calling the police for help. Criminal Justice Policy Review, 21(2), 139–159.
Skolnick, J. H. (2007). Racial profiling-then and now. Criminology & Public Policy, 6, 65.
Stoutland, S. E. (2001). The multiple dimensions of trust in resident/police relations in Boston. Journal of Research in Crime and Delinquency, 38(3), 226–256.
Tyler, T. R., & Wakslak, C. J. (2004). Profiling and police legitimacy: Procedural justice, attributions of motive, and acceptance of police authority. Criminology, 42(2), 253–282.
Batton, C., & Kadleck, C. (2004). Theoretical and methodological issues in racial profiling research. Police Quarterly, 7(1), 30–64.
Gaines, L. K. (2006). An analysis of traffic stop data in Riverside, California. Police Quarterly, 9(2), 210–233.
Petrocelli, M., Piquero, A. R., & Smith, M. R. (2003). Conflict theory and racial profiling: An empirical analysis of police traffic stop data. Journal of Criminal Justice, 31(1), 1–11.
Withrow, B. L. (2006). Racial profiling: From rhetoric to reason. Englewood Cliffs, NJ: Prentice Hall.
Chenane, J. L., Wright, E. M., & Gibson, C. L. (2019). Traffic stops, race, and perceptions of fairness. Policing and Society. https://doi.org/10.1080/10439463.2019.1587436.
Berk, R. (2012). Criminal justice forecasts of risk: A machine learning approach. New York: Springer Science & Business Media.
Shmueli, G. (2010). To explain or to predict? Statistical Science, 25(3), 289–310.
Breiman, L. (2001). Statistical modeling: The two cultures (with comments and a rejoinder by the author). Statistical Science, 16(3), 199–231.
Dai, M., & Jiang, X. (2016). A comparative study of satisfaction with the police in the United States and Australia. Australian & New Zealand Journal of Criminology, 49(1), 30–52.
Dai, M., Hu, X., & Time, V. (2019). Understanding public satisfaction with the police: Military background and interactions between higher education and prior contact with the police. Policing: An International Journal, 42(4), 571–584.
Zhao, J. S., Tsai, C., Ren, L., & Lai, Y. (2014). Public satisfaction with police control of disorder crime: Does the public hold police accountable? Justice Quarterly, 31(2), 394–420.
Wu, Y., Sun, I., & Triplett, R. (2009). Race, class, or neighborhood context: Which matters more in measuring satisfaction with police? Justice Quarterly, 26(1), 125–156.
Ivkovic, S. K. (2008). A comparative study of public support for the police. International Criminal Justice Review, 18(4), 406–434.
Taylor, T. J., Turner, K. B., Esbensen, F. A., & Winfree, L. T. (2001). Coppin’ an attitude: Attitudinal differences among juveniles toward the police. Journal of Criminal Justice, 29(4), 295–305.
Berthelot, E. R., McNeal, B. A., & Baldwin, J. M. (2018). Relationships between agency-specific contact, victimization type, and trust and confidence in the police and courts. American Journal of Criminal Justice, 43(4), 768–791.
Cao, L., Frank, J., & Cullen, F. T. (1996). Race, community context, and confidence in the police. American Journal of Police, 15(1), 3–22.
Garcia, V., & Cao, L. (2005). Race and satisfaction with the police in a small city. Journal of Criminal Justice, 33(2), 191–199.
Reisig, M. D., & Parks, R. B. (2000). Experience, quality of life, and neighborhood context: A hierarchical analysis of satisfaction with the police. Justice Quarterly, 17(3), 607–630.
Cao, L. (2014). Aboriginal people and confidence in the police. Canadian Journal of Criminology and Criminal Justice, 56(5), 499–526.
Cao, L. (2011). Visible minorities and confidence in the police. Canadian Journal of Criminology and Criminal Justice, 53(1), 1–26.
Han, Z., Sun, I. Y., & Hu, R. (2017). Social trust, neighborhood cohesion, and public trust in the police in China. Policing: An International Journal of Police Strategies & Management, 40(2), 380–394.
Sun, I., Hu, R., & Wu, Y. (2012). Social capital, political participation, and trust in the police in urban China. Australian & New Zealand Journal of Criminology, 45(1), 87–105.
Leiber, M. J., Nalla, M. K., & Farnworth, M. (1998). Explaining juvenile’s attitudes toward the police. Justice Quarterly, 15(1), 151–173.
Dunham, R. G., & Alpert, G. P. (1988). Neighborhood differences in attitudes toward policing: Evidence for a mixed-strategy model of policing in a multi-ethnic setting. Journal of Criminal Law and Criminology, 79(2), 504–523.
Sampson, R. J., & Bartusch, D. J. (1998). Legal cynicism and (subcultural)? Tolerance of deviance: The neighborhood context of racial differences. Law and Society Review, 32(4), 777–804.
Li, Y., Ren, L., & Luo, F. (2016). Is bad stronger than good? The impact of police-citizen encounters on public satisfaction with police. Policing: An International Journal of Police Strategies and Management, 39(1), 109–126.
Ren, L., Cao, L., Lovrich, N., & Gaffney, M. (2005). Linking confidence in the police with the performance of the police: Community policing can make a difference. Journal of Criminal Justice, 33(1), 55–66.
Hinds, L. (2009). Public satisfaction with police: The influence of general attitudes and police-citizen encounters. International Journal of Police Science and Management, 11(1), 54–66.
Wells, W. (2007). Type of contact and evaluations of police officers: The effects of procedural justice across three types of police-citizen contacts. Journal of Criminal Justice, 35(6), 612–621.
Walker, S., & Katz, C. (2018). The police in America: An introduction (9th ed.). New York, NY: McGraw-Hill Education.
Schafer, J. A., Huebner, B. M., & Bynum, T. S. (2003). Citizen perceptions of police services: Race, neighborhood context, and community policing. Police Quarterly, 6(4), 440–468.
Weitzer, R. (2002). Incidents of police misconduct and public opinion. Journal of Criminal Justice, 30(5), 397–408.
Gau, J. M. (2015). Procedural justice, police legitimacy, and legal cynicism: A test for mediation effects. Police Practice and Research, 16(5), 402–415.
Tyler, T. R. (2004). Enhancing police legitimacy. The Annals of the American Academy of Political and Social Science, 593(1), 84–99.
Dai, M., & Hu, X. (2020). Exploring the duration of police-citizen encounters. Policing: A Journal of Policy and Practice. https://doi.org/10.1093/police/paaa006.
Dai, M., & Nation, D. (2009). Understanding non-coercive, procedurally fair behavior by the police during encounters. International Journal of Law, Crime and Justice, 37(4), 170–181.
Dai, M., Frank, J., & Sun, I. (2011). Procedural justice during police-citizen encounters: The effects of process-based policing on citizen compliance and demeanor. Journal of Criminal Justice, 39(2), 159–168.
Skogan, W. G., Van Craen, M., & Hennessy, C. (2015). Training police for procedural justice. Journal of Experimental Criminology, 11(3), 319–334.
Sunshine, J., & Tyler, T. R. (2003). The role of procedural justice and legitimacy in shaping public support for policing. Law & Society Review, 37(3), 513–548.
Bottoms, A., & Tankebe, J. (2012). Beyond procedural justice: A dialogic approach to legitimacy in criminal justice. The Journal of Criminal Law and Criminology, 102(1), 119–170.
Gau, J. M., & Brunson, R. K. (2010). Procedural justice and order maintenance policing: A study of inner-city young men’s perceptions of police legitimacy. Justice Quarterly, 27(2), 255–279.
Jonathan-Zamir, T., Mastrofski, S. D., & Moyal, S. (2015). Measuring procedural justice in police-citizen encounters. Justice Quarterly, 32(5), 845–871.
Elliott, I., Thomas, S., & Ogloff, J. (2014). Procedural justice in victim-police interactions and victims’ recovery from victimization experiences. Policing and Society, 24(5), 588–601.
Bradford, B. (2011). Voice, neutrality and respect: Use of victim support services, procedural fairness and confidence in the criminal justice system. Criminology and Criminal Justice, 11(4), 345–366.
Davis, E., Whyde, A., & Langton, L. (2018). Contacts between police and the public, 2015. Washington, DC: Bureau of Justice Statistics. Available at https://www.bjs.gov/content/pub/pdf/cpp15.pdf (last accessed April 15, 2019).
Mbuba, J. M. (2010). Attitudes toward the police: The significance of race and other factors among college students. Journal of Ethnicity in Criminal Justice, 8(3), 201–215.
Pierson, E., Simoiu, C., Overgoor, J., Corbett-Davies, S., Ramachandran, V., Phillips, C., & Goel, S. (2017). A large-scale analysis of racial disparities in police stops across the United States. arXiv preprint arXiv:1706.05678.
Goel, S., Perelman, M., Shroff, R., & Sklansky, D. A. (2017). Combatting police discrimination in the age of big data. New Criminal Law Review: In International and Interdisciplinary Journal, 20(2), 181–232.
Roh, S., & Robinson, M. (2009). A geographic approach to racial profiling: The microanalysis and macroanalysis of racial disparity in traffic stops. Police Quarterly, 12(2), 137–169.
Alpert, G. P., Dunham, R. G., & Smith, M. R. (2007). Investigating racial profiling by the Miami-Dade Police Department: A multimethod approach. Criminology & Public Policy, 6(1), 25–55.
Engel, R. S., & Calnon, J. M. (2004). Examining the influence of drivers’ characteristics during traffic stops with police: Results from a national survey. Justice Quarterly, 21(1), 49–90.
Hu, X., Rodgers, K., & Lovrich, N. (2020). Public preferences toward police Facebook posts: A macro-level analysis. Police Practice and Research: An International Journal, 21(3), 227–245.
Hu, X., Wu, J., DeValve, M. J., & Fisher, B. S. (2020). Exploring violent crime reporting among school-age victims: Findings from NCVS SCS 2005–2015. Victims & Offenders, 15(2), 141–158.
Amrhein, V., Greenland, S., & McShane, B. (2019). Retire statistical significance. Nature, 567, 305–307.
Harrell, F. E., Jr. (2015). Regression modeling strategies: With applications to linear models, logistic and ordinal regression, and survival analysis. New York, NY: Springer.
Berk, R. (2003). Regression analysis: A constructive critique. Thousand Oaks, CA: Sage Publications.
Rudin, C. (2019). Stop explaining black box machine learning models for high stake decisions and use interpretable models instead. Nature Machine Intelligence, 1, 206–215.
Steyerberg, E. W., & van der Ploeg., T., & Van Calster, B., (2014). Risk prediction with machine learning and regression methods. Biometrical Journal, 56(4), 601–606.
Provost, F., & Kohavi, R. (1998). Glossary of terms. Journal of Machine Learning, 30(2–3), 271–274.
Russell, S. J., & Norvig, P. (2016). Artificial intelligence: A modern approach. Malaysia: Pearson Education Limited.
Warner, R. M. (2013). Applied statistics: From bivariate through multivariate techniques (2nd ed.). Thousand Oaks, CA: SAGE Publications.
Berk, R. (2017). An impact assessment of machine learning risk forecasts on parole board decisions and recidivism. Journal of Experimental Criminology, 13(2), 193–216.
Berk, R., & Bleich, J. (2014). Forecasts of violence to inform sentencing decisions. Journal of Quantitative Criminology, 30(1), 79–96.
Duwe, G., & Kim, K. (2017). Out with the old and in with the new? An empirical comparison of supervised learning algorithms to predict recidivism. Criminal Justice Policy Review, 28(6), 570–600.
Hu, X., Zhang, X., & Lovrich, N. (2020). Forecasting identity theft victims: Analyzing characteristics and preventive actions through machine learning approaches. Victims & Offenders. https://doi.org/10.1080/15564886.2020.1806161.
Neuilly, M. A., Zgoba, K. M., Tita, G. E., & Lee, S. S. (2011). Predicting recidivism in homicide offenders using classification tree analysis. Homicide studies, 15(2), 154–176.
Berk, R. A., Kriegler, B., & Baek, J. H. (2006). Forecasting dangerous inmate misconduct: An application of ensemble statistical procedures. Journal of Quantitative Criminology, 22(2), 131–145.
Berk, R. A., Sorenson, S. B., & Barnes, G. (2016). Forecasting domestic violence: A machine learning approach to help inform arraignment decisions. Journal of Empirical Legal Studies, 13(1), 94–115.
Manning, M., Wong, G. T., Graham, T., Ranbaduge, T., Christen, P., Taylor, K., et al. (2018). Towards a ‘smart’cost–benefit tool: using machine learning to predict the costs of criminal justice policy interventions. Crime Science, 7(1), 12.
Carriquiry, A., Hofmann, H., Tai, X., & VanderPlas, S. (2019). Machine learning in forensic applications. Significance, 16, 29–35. https://doi.org/10.1111/j.1740-9713.2019.01252.x.
Liao, S., Xiao, J., Xie, Y., & Gu, F. (2017, April). Towards use of electronic health records: Cancer classification. In Proceedings of the symposium on modeling and simulation in medicine (p. 4). Society for Computer Simulation International.
Quinlan, J. R. (1986). Induction of decision trees. Machine Learning, 1(1), 81–106.
Alpaydin, E. (2020). Introduction to machine learning. Cambridge: MIT Press.
Murphy, K. P. (2012). Machine learning: A probabilistic perspective. Cambridge: MIT Press.
Rokach, L., & Maimon, O. Z. (2008). Data mining with decision trees: Theory and applications (Vol. 69). Singapore: World Scientific.
Menze, B. H., Kelm, B. M., Masuch, R., Himmelreich, U., Bachert, P., Petrich, W., et al. (2009). A comparison of random forest and its Gini importance with standard chemometric methods for the feature selection and classification of spectral data. BMC Bioinformatics, 10(1), 213.
Marsland, S. (2015). Machine learning: An algorithmic perspective. Boca Raton: CRC Press.
Breiman, L. (1996). Bagging predictors. Machine learning, 24(2), 123–140.
Zhang, H., & Wang, M. (2009). Search for the smallest random forest. Statistics and Its Interface, 2(3), 381.
Palczewska, A., Palczewski, J., Robinson, R. M., & Neagu, D. (2014). Interpreting random forest classification models using a feature contribution method. In Integration of reusable systems (pp. 193–218). Springer, Cham.
Amit, Y., & Geman, D. (1997). Shape quantization and recognition with randomized trees. Neural Computation, 9(7), 1545–1588.
McCarney, R., Warner, J., Iliffe, S., Van Haselen, R., Griffin, M., & Fisher, P. (2007). The Hawthorne effect: A randomized, controlled trial. BMC Medical Research Methodology, 7(1), 30.
Menard, S. (2004). Six approaches to calculating standardized logistic regression coefficients. The American Statistician, 58(3), 218–223.
Bradley, A. P. (1997). The use of the area under the ROC curve in the evaluation of machine learning algorithms. Pattern Recognition, 30(7), 1145–1159.
Fawcett, T. (2006). An introduction to ROC analysis. Pattern Recognition Letters, 27(8), 861–874.
Rozin, P., & Royzman, E. B. (2001). Negativity bias, negativity dominance, and contagion. Personality and Social Psychology Review, 5(4), 296–320.
Skogan, W. G. (2006). Asymmetry in the impact of encounters. Police Quarterly, 16(2), 99–126.
Zeng, J., Ustun, B., & Rudin, C. (2017). Interpretable classification models for recidivism prediction. Journal of the Royal Statistical Society: Series A (Statistics in Society), 180(3), 689–722.
Dey, A. (2016). Machine learning algorithms: A review. International Journal of Computer Science and Information Technologies, 7(3), 1174–1179.
Berk, R. (2009). The role of race in forecasts of violent crime. Race and Social Problems, 1(4), 231.
Goel, S., Rao, J. M., & Shroff, R. (2016). Precinct or prejudice? Understanding racial disparities in New York City’s stop-and-frisk policy. The Annals of Applied Statistics, 10(1), 365–394.
Pierson, E., Corbett-Davies, S., & Goel, S. (2017). Fast threshold tests for detecting discrimination. arXiv preprint arXiv:1702.08536.
Goel, S., Rao, J. M., & Shroff, R. (2016). Personalized risk assessments in the criminal justice system. American Economic Review, 106(5), 119–123.
Babyak, M. A. (2004). What you see may not be what you get: A brief, nontechnical introduction to overfitting in regression-type models. Psychosomatic Medicine, 66(3), 411–421.
Hinds, L., & Murphy, K. (2007). Public satisfaction with police: Using procedural justice to improve police legitimacy. The Australian and New Zealand Journal of Criminology, 40(1), 27–42.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
No potential conflict of interest was reported by the authors.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
Appendix A: Decision tree part 1 (left part)
Appendix B: Decision tree part 2 (right part)
Rights and permissions
About this article
Cite this article
Hu, X., Zhang, X. & Lovrich, N. Public perceptions of police behavior during traffic stops: logistic regression and machine learning approaches compared. J Comput Soc Sc 4, 355–380 (2021). https://doi.org/10.1007/s42001-020-00079-4
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s42001-020-00079-4