← Market

Statistics · Time Series Decompose

Classical moving-average additive or multiplicative decomposition into trend, seasonal indices and remainder, with Wang-Smith-Hyndman strength of seasonality and trend measures. Docs: https://www.brainiac.software/api/statistics/time-series-decompose

POST https://www.brainiac.software/api/v1/statistics/time-series-decompose

0.03 USDC on Base · payTo 0x6428665E83F503904571104311bB78CBb29b975c

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.03 USDC · payTo 0x6428665E83F503904571104311bB78CBb29b975c · via cdp · settles direct
{
  "model": "additive",
  "period": 4,
  "values": [
    120,
    95,
    110,
    140,
    128,
    101,
    117,
    150,
    135,
    108,
    124,
    158
  ]
}
{
  "limitations": [
    "Classical moving-average decomposition; the first and last floor(period / 2) trend and remainder values are null. STL is not provided.",
    "Seasonal indices are centred to sum 0 (additive) or mean 1 (multiplicative). Strengths use population variance over non-null points (log scale for the"
  ],
  "model": "additive",
  "period": 4,
  "remainder": [
    null,
    null
  ],
  "seasonal": [
    7.09375,
    -21.90625
  ],
  "seasonalIndices": [
    7.09375,
    -21.90625
  ],
  "seasonalStrength": 0.9984219,
  "sources": [
    {
      "retrievedAt": "2026-11-14",
      "source": "Hyndman & Athanasopoulos, Forecasting: Principles and Practice (classical decomposition); Wang, Smith & Hyndman (2006)",
      "status": "ok",
      "url": "https://otexts.com/fpp3/classical-decomposition.html"
    }
  ],
  "trend": [
    null,
    null
  ],
  "trendStrength": 0.9780572
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://www.brainiac.software/api/v1/statistics/time-series-decompose · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "values": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "values supplied by the caller for this operation.",
      "example": [
        120,
        95,
        110,
        140,
        128,
        101,
        117,
        150,
        135,
        108,
        124,
        158
      ]
    },
    "period": {
      "type": "integer",
      "minimum": 2,
      "maximum": 366,
      "description": "period supplied by the caller for this operation.",
      "example": 4
    },
    "model": {
      "type": "string",
      "enum": [
        "additive",
        "multiplicative"
      ],
      "description": "model supplied by the caller for this operation.",
      "example": "additive"
    }
  },
  "required": [
    "values",
    "period"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "trend": {
      "type": "array",
      "description": "trend returned by this operation."
    },
    "seasonalIndices": {
      "type": "array",
      "description": "seasonal Indices returned by this operation."
    },
    "seasonal": {
      "type": "array",
      "description": "seasonal returned by this operation."
    },
    "remainder": {
      "type": "array",
      "description": "remainder returned by this operation."
    },
    "seasonalStrength": {
      "type": "number",
      "description": "seasonal Strength returned by this operation."
    },
    "trendStrength": {
      "type": "number",
      "description": "trend Strength returned by this operation."
    },
    "model": {
      "type": "string",
      "description": "model returned by this operation."
    },
    "period": {
      "type": "integer",
      "description": "period returned by this operation."
    },
    "sources": {
      "type": "array",
      "description": "Provenance only — upstream name, url, and retrievedAt when available.",
      "items": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "source": {
            "type": "string",
            "description": "Named upstream source for this delayed reference series."
          },
          "url": {
            "type": "string",
            "description": "Requested public URL."
          },
          "retrievedAt": {
            "type": "string",
            "description": "ISO-8601 timestamp when upstream data was retrieved."
          },
          "status": {
            "type": "string",
            "description": "Coverage status: complete or partial with real data is charged on HTTP 2xx; failed or empty payloads return non-2xx and are not charged."
          }
        }
      }
    },
    "limitations": {
      "type": "array",
      "description": "Product caveats. Absence of a signal is not a safety approval."
    }
  }
}
curl -i -X POST 'https://www.brainiac.software/api/v1/statistics/time-series-decompose' \
  -H 'content-type: application/json' -d '{"values":[120,95,110,140,128,101,117,150,135,108,124,158],"period":4,"model":"additive"}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)