# GDP Expenditure Identity Benchmark Correlation Calculator

> GDP Expenditure Identity Benchmark Correlation Calculator 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).

Calculates the Pearson correlation between GDP computed via the expenditure identity (C+I+G+NX) and a set of user-supplied benchmark values across multiple time periods.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-gdp-expenditure-correlation?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/gdp-expenditure-identity-benchmark-correlation-calculator-0e45e9cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NUhBBM1jq_PZ3Xzd6kO5q

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 gdp-expenditure-identity-benchmark-correlation-calculator-0e45e9cc -d '<json body>'
```

Example prompt: I have quarterly GDP component data — consumption 600, investment 200, government purchases 250, exports 150, imports 200 for period 1 and consumption 660, investment 220, government purchases 275, exports 165, imports 220 for period 2 — plus benchmark values of 1000 and 1100. Can you calculate the Pearson correlation between the expenditure-identity GDP figures and those benchmarks and give me the formula, units, and any limitations?

## When to prefer this

Choose this endpoint when you need a statistically rigorous Pearson correlation between expenditure-based GDP (C+I+G+NX) and external benchmark figures for a bounded set of time periods, without requiring live data feeds, causal modelling, or forecasting. It is purpose-built for economic validation and academic or analytical use cases where you supply all data and want a reproducible, formula-transparent result with explicit limitations.

## Known failure modes

- Fewer than 2 rows or benchmark values supplied — minimum 2 data points required for correlation
- Mismatched array lengths between rows and benchmarks — correlation requires aligned series
- Values outside allowed range (e.g. negative consumption, imports exceeding 1 trillion) — validation error
- More than 200 rows or benchmarks supplied — exceeds maxItems limit
- Missing required fields (consumption, investment, government_purchases, exports, imports) in any row — schema validation failure
- Payment not completed or insufficient USDC — request rejected before computation

## How this service works

GDP expenditure identity - Benchmark correlation: Calculate Pearson correlation against aligned supplied benchmarks; no causal or predictive claim. Metric: GDP expenditure identity. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded benchmark correlation report.

## Output

Returns a JSON object containing the computed Pearson correlation coefficient between the expenditure-identity GDP series and the supplied benchmark values, along with the GDP expenditure formula (C+I+G+(X-M)), currency/unit information, and explicit limitations noting this is a statistical correlation only with no causal or predictive claims.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "consumption",
     "investment",
     "government_purchases",
     "exports",
     "imports"
    ],
    "properties": {
     "exports": {
      "type": "number",
      "default": 150,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period"
     },
     "imports": {
      "type": "number",
      "default": 200,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period"
     },
     "investment": {
      "type": "number",
      "default": 200,
      "maximum": 1000000000000,
      "minimum": -1000000000000,
      "description": "Amount in a consistent supplied currency and reporting period"
     },
     "consumption": {
      "type": "number",
      "default": 600,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period"
     },
     "government_purchases": {
      "type": "number",
      "default": 250,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "exports": 150,
     "imports": 200,
     "investment": 200,
     "consumption": 600,
     "government_purchases": 250
    },
    {
     "exports": 165,
     "imports": 220.00000000000003,
     "investment": 220.00000000000003,
     "consumption": 660,
     "government_purchases": 275
    },
    {
     "exports": 150,
     "imports": 200,
     "investment": 200,
     "consumption": 600,
     "government_purchases": 250
    },
    {
     "exports": 165,
     "imports": 220.00000000000003,
     "investment": 220.00000000000003,
     "consumption": 660,
     "government_purchases": 275
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "benchmarks": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000000000,
    "minimum": -1000000000000000000
   },
   "default": [
    10,
    20,
    30,
    40
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gdp-expenditure-identity-benchmark-correlation-calculator-0e45e9cc/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)
