# Business Location Inventories — Two-Measure Correlation + Explicit Missing-Value Fill

> Business Location Inventories — Two-Measure Correlation + Explicit Missing-Value Fill 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-15).

Computes correlation between location_count and verified_locations, and fills missing values using zero/mean/median for up to 200 business location inventory rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-05-184?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/business-location-inventories-two-measure-correlation-explicit-b5b8f05a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OCYk6y_6cPm4b3LuRoBe5

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 business-location-inventories-two-measure-correlation-explicit-b5b8f05a -d '<json body>'
```

Example prompt: I have 4 rows of business location data with company groups and dates — can you correlate location_count with verified_locations and fill any missing location_count values using the median?

## When to prefer this

Choose this endpoint when you already have business location inventory data in hand and need both a correlation analysis between location_count and verified_locations and missing-value imputation in one low-cost call. It is ideal for data-cleaning pipelines, quality audits, or quick statistical checks on location datasets up to 200 rows. It does not perform live lookups, predictions, or external enrichment — use it purely for local analytical computation on supplied records.

## Known failure modes

- Fewer than 1 row supplied — request rejected
- More than 200 rows submitted — exceeds maximum limit
- Invalid date format (not YYYY-MM-DD) — schema validation error
- row_id missing or empty — required field error
- Imputation method not one of zero/mean/median — enum validation error
- All values in the target field are null — mean/median imputation undefined
- Numeric values outside allowed range (±1 trillion) — schema rejection

## How this service works

Business location inventories — Two-measure correlation + Explicit missing-value fill: Two-measure correlation + Explicit missing-value fill for supplied business location inventories records (location_count, verified_locations). 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

Two analytical reports: (1) a Pearson correlation coefficient between location_count and verified_locations across the submitted rows, and (2) a dataset with missing values in the specified field replaced using the chosen imputation method (zero, mean, or median). Results are derived purely from supplied data with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/business-location-inventories-two-measure-correlation-explicit-b5b8f05a/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)
