Simple statistics for anomaly detection on time-series data