Z-Score

  • Formula:
    • : Data point
    • : Mean of the dataset
    • : Standard deviation of the dataset
  • Procedure:
    • Set a threshold (commonly ). Points exceeding the threshold are anomalies.

2. Modified Z-Score

  • Formula:
    • : Median Absolute Deviation
  • Procedure:
    • Use this method for datasets with extreme outliers.
    • Points with are typically anomalies.