Skip to content
HALOWERK

Statwerk

series seasonal naive backtest

Return one-season-lag backtest errors, MAE, RMSE and bias for a supplied series. Supplied observations only.

POST https://stat.halowerk.com/v1/series-seasonal-naive-backtest

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
valuesarrayYes
periodintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "values": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -1000000000,
        "maximum": 1000000000
      },
      "maxItems": 100,
      "minItems": 1
    },
    "period": {
      "type": "integer",
      "minimum": 1,
      "maximum": 24
    }
  },
  "required": [
    "values",
    "period"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "values": [
    1,
    2,
    1,
    2,
    1,
    3
  ],
  "period": 2
}

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