# Network Links Two-Measure Correlation + Secondary-Measure Weighted Mean

> Network Links Two-Measure Correlation + 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-29).

Computes Pearson correlation between transferred_mb and duration_seconds, plus a weighted mean of a secondary measure, for up to 200 network link records in a single API call.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-software-15-181?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/network-links-two-measure-correlation-secondary-measure-weighted-mean-536c9dbd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2CDHqcCax75K9F5mMGp5_

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 network-links-two-measure-correlation-secondary-measure-weighted-mean-536c9dbd -d '<json body>'
```

Example prompt: Can you run a two-measure correlation between transferred_mb and duration_seconds plus a weighted mean of transferred_mb on my network link records? Here are up to 200 rows with row_id, component, date, transferred_mb, and duration_seconds.

## When to prefer this

Choose this endpoint when you need both a correlation coefficient between two numeric network measures AND a weighted mean in a single low-cost call ($0.01 USDC) on up to 200 rows of network link records. Ideal for quick statistical validation of network traffic data without requiring a full analytics platform. Prefer this over general-purpose analytics APIs when working specifically with transferred_mb and duration_seconds fields and needing both reports bundled together.

## Known failure modes

- Missing required row fields (row_id, date, transferred_mb, duration_seconds) causes validation error
- Submitting more than 200 rows exceeds the maxItems limit and is rejected
- Invalid date format (not YYYY-MM-DD) triggers pattern validation failure
- Null values in both measure columns may cause correlation computation to fail or return NaN
- field enum value outside ['transferred_mb','duration_seconds'] causes schema rejection

## How this service works

Network links — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + Secondary-measure weighted mean for supplied network links records (transferred_mb, duration_seconds). 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) the Pearson correlation coefficient between transferred_mb and duration_seconds across all submitted rows, and (2) a weighted mean of the selected secondary measure (transferred_mb or duration_seconds). Both computations are performed locally using the supplied data, with no external lookups or predictions.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/network-links-two-measure-correlation-secondary-measure-weighted-mean-536c9dbd/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)
