{"uid":"cap_c74LMa-xenmkOD-fGzEU5","slug":"kihustle-chi-square-goodness-of-fit-test-174cce5d","name":"KiHustle Chi-Square Goodness-of-Fit Test","description":"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.","url":"https://kihustle.tech/bot-bazaar/api/v1/chi-square-goodness?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"expected":{"type":"array","items":{"type":"number"}},"observed":{"type":"array","items":{"type":"number"}}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_A4CBVbYS6z72psDpdncFV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a chi-square goodness-of-fit statistical test comparing observed frequencies against expected frequencies","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Dice fairness test","prompt":"I rolled a die 120 times and got these counts per face: [18, 22, 19, 21, 20, 20]. Can you run a chi-square goodness-of-fit test against the expected uniform distribution of 20 per face to check if the die is fair?"},{"title":"Survey response distribution check","prompt":"My survey had expected response proportions of [0.4, 0.3, 0.2, 0.1] across four categories, and I got observed counts of [45, 28, 18, 9] from 100 respondents. Run a chi-square test to see if the responses match the expected distribution."},{"title":"A/B traffic split validation","prompt":"I expected my website traffic to split evenly across three landing pages — 100 visitors each — but actually got [112, 88, 100]. Can you do a chi-square goodness-of-fit test to check if that deviation is statistically significant?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T00:35:56.353Z","isFirstParty":false,"canonicalSlug":"kihustle-chi-square-goodness-of-fit-test-174cce5d"}