Researchers used historical data on violent crimes and property crimes from Chicago to test the model, which detects patterns over time.