Weekly and monthly graphs for monitoring crime patterns (SPSS Statistics)

I was recently asked for some code to show how I created the charts in my paper, Tables and Graphs for Monitoring Crime Patterns (Pre-print can be seen here). I cannot share the data used in the paper, but I can replicate them with some other public data. I will use calls for service...  Continue reading Weekly and monthly graphs for monitoring crime patterns (SPSS Statistics)

Finding subgroups in a graph using NetworkX and SPSS

This is a task I've have to conduct under several guises in the past. Given a set of edges, reduce those edges into unique subgroups based on the transitive closure of those edges. That is, find a group in which all nodes can reach one another (via however many steps are necessary) but are completely...  Continue reading Finding subgroups in a graph using NetworkX and SPSS