Statistics for An Algorithm for predicting road accidents based on traffic offence data