{"uid":"cap_lVZud8hRNyDEt0icLhMd3","slug":"numora-chi-square-statistics-endpoint-5a389a74","name":"Numora Chi-Square Statistics Endpoint","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://numnumora.vercel.app/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":"registry","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_n0KY2g4DhEUUOnYaYbjtf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a chi-square goodness-of-fit or independence test given observed (and optionally expected) frequency arrays","exampleAgentPrompt":"Run a chi-square test on my observed frequencies [90, 60, 104, 95, 62, 89] against expected frequencies [80, 80, 80, 80, 80, 80] and tell me the chi-square statistic and whether the result is statistically significant.","exampleUseCases":null,"resultDescription":"Returns a JSON object with success=true, a result object containing the chi-square statistic, degrees of freedom, p-value, and possibly critical value or significance flag, plus a human-readable computation string describing what was calculated.","failureModes":["Missing required 'observed' array returns a 400 or error response","Mismatched lengths between observed and expected arrays may cause computation error","Empty arrays or non-numeric values may produce invalid results","observed array with all zeros may result in division-by-zero or NaN","Network or server timeout returns 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a serverless, zero-dependency chi-square computation with micropayment pricing — ideal for AI agents that need statistical hypothesis testing on frequency data without setting up a local math library or calling a heavyweight analytics platform. Best for single-call, on-demand goodness-of-fit or independence tests within automated pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:33:18.776Z","isFirstParty":false}