{
  "slug": "outlier-detector",
  "name": "gizza-ai/outlier-detector",
  "version": "0.1.0",
  "title": "Outlier Detector — flag outliers with z-score and IQR — gizza.ai",
  "description": "Find outliers in a list of numbers using the z-score, modified z-score (MAD) and IQR (Tukey's fences) methods, in your browser. Free, private, no upload.",
  "tags": [
    "outlier detector",
    "z-score",
    "modified z-score",
    "iqr method",
    "tukey fences",
    "anomaly detection",
    "data cleaning"
  ],
  "category": "math",
  "urls": {
    "page": "https://gizza.ai/tools/outlier-detector/",
    "markdown": "https://gizza.ai/tools/outlier-detector/index.md",
    "descriptor": "https://gizza.ai/tools/outlier-detector/tool.json",
    "deep_link_example": "https://gizza.ai/tools/outlier-detector/?numbers=10%2C%2011%2C%2012%2C%2010%2C%209%2C%2011%2C%20100&z_threshold=3&iqr_k=1.5"
  },
  "cli": "gizza tool outlier-detector \"10, 11, 12, 10, 9, 11, 100\"",
  "tool": {
    "description": "Flag outliers in a list of numbers (separated by spaces, commas, semicolons, or newlines) using three standard methods: the z-score method (more than z_threshold sample standard deviations from the mean, default 3), the robust modified z-score method (median + MAD, same threshold), and the IQR method (Tukey's fences: below Q1−k·IQR or above Q3+k·IQR, default k=1.5). Returns the mean, standard deviation, median, MAD, quartiles and fences plus the flagged values with their indices for each method. Runs locally.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "iqr_k": {
          "default": 1.5,
          "description": "IQR multiplier for Tukey's fences: values below Q1−k·IQR or above Q3+k·IQR are flagged. Default 1.5.",
          "minimum": 0,
          "type": "number"
        },
        "numbers": {
          "description": "The numbers to scan, separated by spaces, commas, semicolons, or newlines.",
          "type": "string"
        },
        "z_threshold": {
          "default": 3.0,
          "description": "Z-score (standard-score) cutoff: a value more than this many sample standard deviations from the mean is flagged. Default 3. Also used as the cutoff for the robust modified z-score (median/MAD) method.",
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "numbers"
      ],
      "type": "object"
    }
  }
}