Statistics for Implementation of an intrusion detection system