# Numora Statistics Correlation

> Numora Statistics Correlation is a paid API for AI agents from numormo.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Computes the Pearson correlation coefficient between two numeric arrays, quantifying the linear relationship between them

## Facts

- Endpoint: POST https://numormo.vercel.app/api/statistics/correlation
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-statistics-correlation-93c3ff78
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RQZfS_bW2tI8TiABPO73g

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 numora-statistics-correlation-93c3ff78 -d '<json body>'
```

Example prompt: Can you calculate the correlation between these two datasets — x is [1, 2, 3, 4, 5] and y is [2.1, 4.0, 5.9, 8.2, 10.1] — and tell me how strongly they're linearly related?

## When to prefer this

Choose this endpoint when you need a fast, serverless, dependency-free Pearson correlation computation on two numeric arrays without setting up a local math library or data science environment. Ideal for AI agents that need quick statistical checks, micropayment-friendly per-call pricing, and no infrastructure overhead. Prefer over general-purpose code execution when you simply need the correlation coefficient reliably returned as structured JSON.

## Known failure modes

- Arrays x and y of different lengths — likely returns an error or validation failure
- Non-numeric values in arrays — may cause computation failure
- Empty arrays provided — endpoint may return error or undefined result
- Missing required field x or y — returns 400-level error
- Arrays too short to compute meaningful correlation (e.g., single element)

## How this service works

100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.

## Output

Returns a JSON object with a boolean 'success' field, a 'computation' string describing what was calculated, and a 'result' object containing the Pearson correlation coefficient (typically an r-value between -1 and 1) along with any supporting statistical values such as sample size or significance.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "x",
  "y"
 ],
 "properties": {
  "x": {
   "type": "array"
  },
  "y": {
   "type": "array"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success",
  "result",
  "computation"
 ],
 "properties": {
  "result": {
   "type": "object",
   "description": "Computation result varies by endpoint"
  },
  "success": {
   "type": "boolean",
   "description": "Always true on success"
  },
  "computation": {
   "type": "string",
   "description": "Human-readable description of what was computed"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/numora-statistics-correlation-93c3ff78/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numormo.vercel.app](https://www.zero.xyz/host/numormo.vercel.app/llms.txt)
