Skip to content
HALOWERK

Statwerk

series rolling mad flags

Return centered rolling median/MAD deviation flags using a caller-supplied threshold. Supplied observations only.

POST https://stat.halowerk.com/v1/series-rolling-mad-flags

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
valuesarrayYes
windowintegerYes
thresholdnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "values": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -1000000000,
        "maximum": 1000000000
      },
      "maxItems": 100,
      "minItems": 3
    },
    "window": {
      "type": "integer",
      "minimum": 3,
      "maximum": 31
    },
    "threshold": {
      "type": "number",
      "minimum": 0.1,
      "maximum": 20
    }
  },
  "required": [
    "values",
    "window",
    "threshold"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "values": [
    1,
    1,
    1,
    20,
    1,
    1,
    1
  ],
  "window": 3,
  "threshold": 3
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’