Statistics for Anomaly Detection