# Membership Activity Two-Measure Correlation

> Membership Activity Two-Measure Correlation 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-19).

Computes a Pearson (or equivalent) correlation coefficient between two numeric measures—members and renewals—across up to 200 membership activity records, grouped optionally by tier and date.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-membership-correlation?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/membership-activity-two-measure-correlation-f09e7fed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W_lZjHSehzk04ZUNwcjzu

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 membership-activity-two-measure-correlation-f09e7fed -d '<json body>'
```

Example prompt: Can you compute the two-measure correlation between members and renewals for my membership activity data? I have 4 records: row-1 on 2026-10-01 for group-a with 10 members and 1 renewal, row-2 on 2026-10-02 for group-b with 20 members and 2 renewals, row-3 on 2026-10-03 for group-a with 15 members and 3 renewals, and row-4 on 2026-10-04 for group-b with 30 members and 4 renewals.

## When to prefer this

Choose this endpoint when you need a fast, local statistical correlation between two numeric membership measures (members and renewals) on a batch of up to 200 records, without requiring external data enrichment, forecasting, or complex multi-variate analysis. It is ideal for subscription or membership businesses that want a quick, cheap ($0.01 USDC) signal on whether their member count and renewal volume move together.

## Known failure modes

- Fewer than 1 row submitted — minimum items violation
- More than 200 rows submitted — exceeds maxItems limit
- Missing required fields (row_id, tier, date, members, renewals) on any record
- Date field does not match YYYY-MM-DD pattern — schema validation failure
- Non-numeric values in members or renewals fields (null is allowed)
- Insufficient variance in one or both measures making correlation undefined (e.g. all values identical)
- Payment not completed — x402 payment required before result is delivered

## How this service works

Membership activity - Two-measure correlation: Two-measure correlation for Membership activity. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded two-measure correlation deliverable.

## Output

Returns a bounded correlation deliverable containing the computed correlation coefficient (ranging from -1 to 1) between the 'members' and 'renewals' numeric measures across the submitted records, reflecting the strength and direction of their linear relationship.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/membership-activity-two-measure-correlation-f09e7fed/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)
