# Feed Observations Secondary-Measure Weighted Mean and Explicit Missing-Value Fill

> Feed Observations Secondary-Measure Weighted Mean and Explicit Missing-Value Fill is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-01).

Computes a secondary-measure weighted mean and fills missing values in feed observation records (item_count, duplicate_items) for up to 200 rows, returning 2 analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-web-11-187?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/feed-observations-secondary-measure-weighted-mean-and-explicit-8723acf2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PjyvTg_7QHpVaKYhy0A1E

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 feed-observations-secondary-measure-weighted-mean-and-explicit-8723acf2 -d '<json body>'
```

Example prompt: I have feed observation records for groups 'group-a' and 'group-b' with item_count and duplicate_items values across several dates — can you compute the weighted mean for item_count using duplicate_items as the weight, and fill in any missing values using median imputation?

## When to prefer this

Choose this endpoint when you need both weighted mean computation and missing-value imputation on feed observation data (item_count, duplicate_items) in a single $0.01 call for up to 200 rows. It is ideal when your data already exists locally and you need two analytical reports simultaneously without external data lookups, predictions, or live integrations. Prefer alternatives if you need more than 200 rows, real-time predictions, or reports beyond weighted mean and missing-value fill.

## Known failure modes

- Rows array empty or exceeds 200 items — validation error returned
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Null row_id or row_id exceeding 80 characters — rejected row
- Field enum value not 'item_count' or 'duplicate_items' — invalid input error
- Method enum value not 'zero', 'mean', or 'median' — invalid input error
- Numeric values outside ±1,000,000,000,000 range — boundary violation error
- Payment not provided or insufficient USDC — x402 payment required response

## How this service works

Feed observations — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied feed observations records (item_count, duplicate_items). 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 2 local analytical reports: (1) a secondary-measure weighted mean computed over the specified field (item_count or duplicate_items) across submitted rows, and (2) an explicit missing-value fill report replacing nulls using the chosen method (zero, mean, or median). No external lookups or predictions are made; all computation is performed on the supplied data.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/feed-observations-secondary-measure-weighted-mean-and-explicit-8723acf2/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)
