# Duplicate Observations IQR Outlier Flags + Secondary-Measure Weighted Mean

> Duplicate Observations IQR Outlier Flags + 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-18).

Analyzes duplicate observation records to produce IQR-based outlier flags and a secondary-measure weighted mean across up to 200 rows in two independent reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-04-177?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/duplicate-observations-iqr-outlier-flags-secondary-measure-weighted-f0301243
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8HBWWwgrFQhCzprR99050

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 duplicate-observations-iqr-outlier-flags-secondary-measure-weighted-f0301243 -d '<json body>'
```

Example prompt: Can you run IQR outlier flagging and a weighted mean report on my duplicate observation data? I have 4 rows: group-a had 10 duplicates out of 1 total on 2026-10-01, group-b had 20 out of 2 on 2026-10-02, group-a had 15 out of 3 on 2026-10-03, and group-b had 30 out of 4 on 2026-10-04 — analyze the duplicate_rows field.

## When to prefer this

Choose this endpoint when you need both IQR-based outlier detection and a weighted mean computed together on duplicate observation records in a single paid call. It is well-suited for data quality workflows where you want to identify anomalous duplication counts across dated, grouped rows without sending data to an external model or live service. Prefer it over general statistics APIs when your data is specifically structured as duplicate_rows/total_rows per dataset group and you need two complementary reports for under $0.01.

## Known failure modes

- Fewer than 1 row supplied — request rejected
- More than 200 rows supplied — exceeds maximum batch limit
- Missing required fields (row_id, dataset_group, date, duplicate_rows, total_rows) — validation error
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Non-numeric values in duplicate_rows or total_rows where numbers are required — type error
- Payment of 0.01 USDC not included or failed — 402 Payment Required

## How this service works

Duplicate observations — IQR outlier flags + Secondary-measure weighted mean: IQR outlier flags + Secondary-measure weighted mean for supplied duplicate observations records (duplicate_rows, total_rows). 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 independent analytical reports: (1) IQR outlier flags identifying which rows have anomalous values in the selected field (duplicate_rows or total_rows) based on interquartile range analysis, and (2) a secondary-measure weighted mean computed across the supplied rows. Both reports are generated locally from the supplied data with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/duplicate-observations-iqr-outlier-flags-secondary-measure-weighted-f0301243/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)
