# Tutoring Sessions Two-Measure Correlation and Secondary-Measure Weighted Mean

> Tutoring Sessions Two-Measure Correlation and 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-28).

Computes Pearson correlation between session_minutes and session_count, plus a weighted mean of the secondary measure, for up to 200 tutoring session records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-education-16-181?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tutoring-sessions-two-measure-correlation-and-secondary-measure-018c2cec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Am9hYMx8NTiCtXuv6eMs-

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 tutoring-sessions-two-measure-correlation-and-secondary-measure-018c2cec -d '<json body>'
```

Example prompt: Can you run a correlation between session_minutes and session_count, plus a weighted mean of session_count, for these 5 tutoring records: row-1 on 2024-01-10 in group-a with 45 minutes and 3 sessions, row-2 on 2024-01-11 in group-b with 60 minutes and 4 sessions, row-3 on 2024-01-12 in group-a with 30 minutes and 2 sessions, row-4 on 2024-01-13 in group-b with 90 minutes and 6 sessions, row-5 on 2024-01-14 in group-a with 75 minutes and 5 sessions — use session_minutes as the primary field?

## When to prefer this

Choose this endpoint when you have up to 200 tutoring session records and need both a correlation between session_minutes and session_count AND a weighted mean of the secondary measure in a single low-cost call ($0.01 USDC for both reports). Ideal for education analytics pipelines that operate on pre-collected local data without requiring live lookups or external predictions.

## Known failure modes

- Fewer than 1 row submitted — validation error
- More than 200 rows submitted — rejected with maxItems error
- Missing required fields (row_id, date, session_minutes, session_count, course_group) on any row — schema validation failure
- Non-numeric values in session_minutes or session_count where numbers are required — type error
- Invalid date format (not YYYY-MM-DD) — pattern validation failure
- All session_minutes or session_count values are null — correlation cannot be computed

## How this service works

Tutoring sessions — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + Secondary-measure weighted mean for supplied tutoring sessions records (session_minutes, session_count). 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 computed locally: (1) a Pearson or equivalent correlation coefficient between session_minutes and session_count across the submitted rows, and (2) a weighted mean of the secondary measure (whichever of session_minutes or session_count was not selected as the primary field). No external data is fetched; all computation is performed on the supplied rows.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tutoring-sessions-two-measure-correlation-and-secondary-measure-018c2cec/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)
