Statistics for Design of An Adaptive Intrusion Detection System Using Inspection-Based Anomaly Model