Skip to content
HALOWERK

Statwerk

series histogram distribution shift

Return smoothed PSI, Jensen-Shannon divergence and total variation between supplied aligned histograms. Supplied observations only.

POST https://stat.halowerk.com/v1/series-histogram-distribution-shift

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
referencearrayYes
observedarrayYes
smoothingnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "reference": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 1000000
      },
      "maxItems": 30,
      "minItems": 2
    },
    "observed": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 1000000
      },
      "maxItems": 30,
      "minItems": 2
    },
    "smoothing": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 1
    }
  },
  "required": [
    "reference",
    "observed",
    "smoothing"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "reference": [
    50,
    50
  ],
  "observed": [
    50,
    50
  ],
  "smoothing": 0.5
}

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 โ†’