O'Reilly logo

Data Mining Applications with R by Yonghua Cen, Yanchang Zhao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13

Crime Analyses Using R

Anindya Sengupta*, Madhav Kumar* and Shreyes Upadhyay,    *Fractal Analytics, India,    Diamond Management and Technology Consultants, India

Abstract

There has been a considerable rise in the efforts toward predictive policing around the world. We study the backbone of these policing methods by understanding the predictive engines that are behind such efforts. We study, clean, process, and visualize crime data before building a predictive model to estimate the number of crimes expected to happen in the near future in a given area. Given the overdispersed nature of crime counts, we model them using a negative binomial distribution and compare the actual and predicted values on an out-of-time validation set. All ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required