Spatio-temporal cokriging crime predictions using social media data: a multi-type case study in San Jose, California
Yanhong Huang , Bo Yang , Xiangyu Ren , Yujian Lu , Minxuan Lan , Xi Gong
Computational Urban Science ›› 2025, Vol. 5 ›› Issue (1) : 72
Spatio-temporal cokriging crime predictions using social media data: a multi-type case study in San Jose, California
Crime prevention requires accurate prediction of the spatial and temporal distribution of criminal activities to effectively allocate law enforcement resources. However, many trending crime prediction algorithms lack comprehensive spatio-temporal structures and often consider only single input variables. This study innovatively using in ST-Cokriging method integrated both historical crime records as the primary variable and crime-related geo-tagged Twitter data as the co-variable for crime prediction. The predictive method has been specifically developed to assess crime risk across three major crime types—street crime, property crime, and vehicle crime—and applied in the San Francisco Bay Area (SFBA), California, a region characterized by high development and heightened crime sensitivity, for both prediction and validation. The results indicate that incorporating social media data into a spatio-temporal statistical method improves the associations between predicted and actual crime risk, reduced the Root Mean Squared Error (RMSE), and enhanced the identification of crime risk areas for both weekdays and weekends across three crime types compared to the method without the co-variable. This study presents a new multi-variable approach to more accurately predict crime, enabling law enforcement proactively address crime of varying nature in urban areas.
Public Safety / GIS / Spatio-temporal Analysis / ST-Cokriging / Social Media / Urban Systems
| [1] |
Ahn, H. Il, & Spangler, W. S. (2014). Sales prediction with social media analysis. Annual SRII Global Conference, SRII, Annual SRII Global Conference (SRII), 213–222. https://doi.org/10.1109/SRII.2014.37 |
| [2] |
|
| [3] |
|
| [4] |
Bendler, J., Brandt, T., Wagner, S., & Neumann, D. (2014). Investigating crime-to-twitter relationships in urban environments - Facilitating a virtual neighborhood watch. ECIS 2014 Proceedings - 22nd European Conference on Information Systems, July 2017. https://www.wi.uni-muenster.de/research/publications/169230 |
| [5] |
|
| [6] |
|
| [7] |
Butt, U. M., Letchmunan, S., Ali, M., & Sherazi, H. H. R. (2025). START: A Spatiotemporal Autoregressive Transformer for Enhancing Crime Prediction Accuracy. IEEE Transactions on Computational Social Systems. https://doi.org/10.1109/TCSS.2025.3550196 |
| [8] |
|
| [9] |
|
| [10] |
Corso, A. J., Alsudais, A., & Hilton, B. (2016). Big social data and GIS: Visualize predictive crime. AMCIS 2016: Surfing the IT Innovation Wave - 22nd Americas Conference on Information Systems, 1–10. https://aisel.aisnet.org/ecis2016_rp/157/ |
| [11] |
|
| [12] |
|
| [13] |
DeVeaux, R. D., Bowman, A. W., & Azzalini, A. (1999). Applied Smoothing Techniques for Data Analysis. In Technometrics (Vol. 41, Issue 3). https://doi.org/10.2307/1270572 |
| [14] |
Du, Y., & Ding, N. (2023). A Systematic Review of Multi-Scale Spatio-Temporal Crime Prediction Methods. In ISPRS International Journal of Geo-Information (Vol. 12, Issue 6). https://doi.org/10.3390/ijgi12060209 |
| [15] |
Featherstone, C. (2013). The relevance of social media as it applies in South Africa to crime prediction. In 2013 IST-Africa Conference and Exhibition, IST-Africa 2013 (Issue IST-Africa Conference and Exhibition). https://ieeexplore.ieee.org/abstract/document/6701724 |
| [16] |
Ferreira, J., Joao, P., & Martins, J. (2012). GIS for Crime Analysis:Geography for Predictive Models. https://www.routledge.com/Spatial-Analysis-and-GIS/Fotheringham-Rogerson/p/book/9780849339337 |
| [17] |
|
| [18] |
Geoapify. (2024). Geoapify. https://www.geoapify.com/ |
| [19] |
|
| [20] |
Goovaerts, P. (1997). Geostatistics for Natural Resources Evaluation. https://global.oup.com/academic/content/series/a/applied-geostatistics-age/?lang=en&cc=us |
| [21] |
|
| [22] |
Journel, A. G., & Huijbregts, C. J. (1978). Mining Geostatistics. https://search.worldcat.org/title/800035147 |
| [23] |
Kadar, C., & Pletikosa, I. (2018). Mining large-scale human mobility data for long-term crime prediction. EPJ Data Science, 7(1). https://doi.org/10.1140/epjds/s13688-018-0150-z |
| [24] |
|
| [25] |
|
| [26] |
|
| [27] |
|
| [28] |
|
| [29] |
Newton, A. D., Hirschfield, A., Armitage, R., Rogerson, M., Monchuk, L., & Wilcox, A. (2008). Evaluation of Licensing Act: Measuring Crime and Disorder in and around Licensed Premises, Research Study SRG/05/007 Annex 2: Birmingham, prepared for the Home Office. July 2007. https://eprints.hud.ac.uk/id/eprint/9546/1/Licensing_Final_Report_March_2008_Supplementary_Annex.pdf?utm_source=chatgpt.com |
| [30] |
|
| [31] |
|
| [32] |
|
| [33] |
|
| [34] |
|
| [35] |
SJPD. (2023a). Crime Statistics - Annual. https://www.sjpd.org/records/crime-stats-maps/crime-statistics-annual |
| [36] |
SJPD. (2023b). San Jose Police Department. https://www.sjpd.org/records/documents-policies |
| [37] |
|
| [38] |
Tang, J., Xia, L., & Huang, C. (2023). Explainable Spatio-Temporal Graph Neural Networks. International Conference on Information and Knowledge Management, Proceedings, 2432–2441. https://doi.org/10.1145/3583780.3614871 |
| [39] |
|
| [40] |
U.S. Department of Justice—Federal Bureau of Investigation. (2023). Crime data explorer. NIBRS Estimates. UCR Publications. https://cde.ucr.cjis.gov/LATEST/webapp/#/pages/explorer/crime/nibrs-estimates |
| [41] |
|
| [42] |
|
| [43] |
Wang, K., Wang, P., Chen, X., Huang, Q., Mao, Z., & Zhang, Y. (2020). A Feature Generalization Framework for Social Media Popularity Prediction. MM 2020 - Proceedings of the 28th ACM International Conference on Multimedia, 28th ACM International Conference on Multimedia (MM), 4570–4574. https://doi.org/10.1145/3394171.3416294 |
| [44] |
Wang, Z., Liu, L., Zhou, H., & Lan, M. (2019). Crime geographical displacement: Testing its potential contribution to crime prediction. ISPRS International Journal of Geo-Information, 8(9). https://doi.org/10.3390/ijgi8090383 |
| [45] |
|
| [46] |
|
| [47] |
Yu, H., Liu, L., Yang, B., & Lan, M. (2020). Crime Prediction with Historical Crime and Movement Data of Potential Offenders Using a Spatio-Temporal Cokriging Method. ISPRS International Journal of Geo-Information, 9–11. https://www.mdpi.com/2220-9964/9/12/732 |
| [48] |
|
| [49] |
|
| [50] |
|
| [51] |
Zhang, P., Wang, X., & Li, B. (2014). Evaluating Important Factors and Effective Models for Twitter Trend Prediction. In J. Kawash (Ed.), Online Social Media Analysis and Visualization (pp. 81–98). https://doi.org/10.1007/978-3-319-13590-8_5 |
| [52] |
|
The Author(s)
/
| 〈 |
|
〉 |