# Sampling Observations — Adjacent Row Changes + Secondary-Measure Weighted Mean

> Sampling Observations — Adjacent Row Changes + Secondary-Measure Weighted Mean is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Computes adjacent row-to-row changes and secondary-measure weighted mean for up to 200 supplied sampling observation records in a single call.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-15-159?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sampling-observations-adjacent-row-changes-secondary-measure-weighted-b4a36f2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1h1_Oqth-xplT_EwDLvR6

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sampling-observations-adjacent-row-changes-secondary-measure-weighted-b4a36f2d -d '<json body>'
```

Example prompt: I have 4 sampling observation rows with dates from 2026-10-01 to 2026-10-04, values 10, 20, 15, 30 and weights 1, 2, 3, 4 across groups group-a and group-b — can you run the adjacent row changes and secondary-measure weighted mean analysis on sample_value for me?

## When to prefer this

Choose this endpoint when you need both adjacent row-to-row change analysis and a secondary-measure weighted mean computed together in one call on up to 200 supplied sampling records. It is ideal for survey, scientific, or quality-control data where you have explicit sample weights and want two distinct statistical perspectives simultaneously without any external data lookups or predictions.

## Known failure modes

- More than 200 rows submitted — exceeds maxItems limit
- Missing required fields (row_id, date, sample_value, sample_weight, dataset_group) cause validation errors
- Date strings not matching YYYY-MM-DD pattern are rejected
- sample_value or sample_weight outside ±1,000,000,000,000 range triggers schema validation failure
- Empty rows array (minItems: 1 not satisfied) returns error
- Invalid field enum value (not 'sample_value' or 'sample_weight') causes rejection

## How this service works

Sampling observations — Adjacent row changes + Secondary-measure weighted mean: Adjacent row changes + Secondary-measure weighted mean for supplied sampling observations records (sample_value, sample_weight). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns two analytical reports: (1) adjacent row changes showing sequential differences between consecutive sample_value (or sample_weight) observations, and (2) a secondary-measure weighted mean computed across the supplied records using sample_weight. Results are derived entirely from supplied data with no external lookup.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "dataset_group",
     "date",
     "sample_value",
     "sample_weight"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "sample_value": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "dataset_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "sample_weight": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "sample_value": 10,
     "dataset_group": "group-a",
     "sample_weight": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "sample_value": 20,
     "dataset_group": "group-b",
     "sample_weight": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "sample_value": 15,
     "dataset_group": "group-a",
     "sample_weight": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "sample_value": 30,
     "dataset_group": "group-b",
     "sample_weight": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "sample_value",
    "sample_weight"
   ],
   "type": "string",
   "default": "sample_value"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sampling-observations-adjacent-row-changes-secondary-measure-weighted-b4a36f2d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
