# KiHustle Chi-Square Goodness-of-Fit Test

> KiHustle Chi-Square Goodness-of-Fit Test is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-14).

Performs a chi-square goodness-of-fit statistical test comparing observed frequencies against expected frequencies

## Facts

- Endpoint: POST https://kihustle.tech/bot-bazaar/api/v1/chi-square-goodness?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kihustle-chi-square-goodness-of-fit-test-174cce5d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c74LMa-xenmkOD-fGzEU5

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 kihustle-chi-square-goodness-of-fit-test-174cce5d -d '<json body>'
```

Example prompt: Run a chi-square goodness-of-fit test with expected frequencies [25, 25, 25, 25] and observed frequencies [30, 20, 28, 22] to see if the distribution fits.

## When to prefer this

Choose this endpoint when you need a quick, cheap ($0.002 USDC) stateless chi-square goodness-of-fit computation via a pay-per-call API without setting up your own statistical library or environment. Best for agents that need on-demand hypothesis testing in automated workflows where spinning up a Python/R environment is impractical.

## Known failure modes

- Mismatched array lengths between expected and observed inputs may cause computation errors
- Empty or null arrays will likely result in a failed status
- Non-numeric values in arrays may be rejected
- Arrays with a single element cannot produce meaningful chi-square results
- Network or payment processing failures returning non-200 responses

## How this service works

Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.

## Output

Returns a JSON object with a 'result' field indicating the chi-square computation outcome and a 'status' field confirming success. The response indicates whether the test was processed successfully, though detailed chi-square statistic, p-value, and degrees-of-freedom breakdown may vary by implementation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "expected": {
   "type": "array",
   "items": {
    "type": "number"
   }
  },
  "observed": {
   "type": "array",
   "items": {
    "type": "number"
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kihustle-chi-square-goodness-of-fit-test-174cce5d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
