{"uid":"cap_R6cRxl_WumKWgTruJLNLK","slug":"numora-chi-square-test-computation-dbbf83dd","name":"Numora Chi-Square Test Computation","description":"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.","url":"https://numorapoi.orbonomy.xyz/api/statistics/chisquare","method":"POST","headers":{},"bodySchema":{"type":"object","required":["observed"],"properties":{"expected":{"type":"array"},"observed":{"type":"array"}}},"responseSchema":{"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"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ka90z_Ez_vbrrvsbl4aii","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","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 or independence test given observed (and optionally expected) frequency arrays","exampleAgentPrompt":"Run a chi-square goodness-of-fit test on these observed counts [50, 30, 20] against expected counts [40, 35, 25] and tell me the chi-square statistic and p-value.","exampleUseCases":null,"resultDescription":"Returns a JSON object with success flag, a human-readable computation description, and a result object containing the chi-square statistic, degrees of freedom, p-value, and whether the null hypothesis is rejected at standard significance levels.","failureModes":["Missing observed array returns 400 validation error","Mismatched lengths between observed and expected arrays causes computation error","Non-numeric values in arrays cause parsing failure","Negative frequency values may produce invalid results","Zero expected values cause division-by-zero errors in chi-square formula"],"whenToPreferThis":"Choose this endpoint when you need a pure server-side chi-square computation with no external library dependencies, especially in agent pipelines requiring micropayment-based serverless math and you already have observed frequency counts (and optionally expected frequencies) ready as arrays.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:54:03.610Z","isFirstParty":false}