Statistics · Chi Square Test
Chi-square test of independence (with optional Yates correction), goodness of fit, Fisher's exact test for 2x2 tables and Cramer's V, with expected counts and a low-expected-cell warning. Docs: https://www.brainiac.software/api/statistics/chi-square-test
POST https://www.brainiac.software/api/v1/statistics/chi-square-test
0.02 USDC on Base · payTo 0x6428665E83F503904571104311bB78CBb29b975c
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"fisher": true,
"kind": "independence",
"table": [
[
30,
10
],
[
20,
40
]
],
"yates": false
}{
"chiSquare": 16.66667,
"cramersV": 0.4082483,
"df": 1,
"expected": [
[
20,
20
],
[
30,
30
]
],
"fisher": {
"oddsRatio": 6,
"pValue": 0.00008308659
},
"limitations": [
"Cramer's V uses the uncorrected chi-square statistic.",
"The Fisher odds ratio is the sample odds ratio (a*d)/(b*c); it is null when the denominator is zero."
],
"lowExpectedCells": 0,
"pValue": 0.00004455709,
"sources": [
{
"retrievedAt": "2026-11-14",
"source": "NIST/SEMATECH e-Handbook of Statistical Methods",
"status": "ok",
"url": "https://www.itl.nist.gov/div898/handbook/"
}
],
"yates": false
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://www.brainiac.software/api/v1/statistics/chi-square-test · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"independence",
"goodness_of_fit"
],
"description": "kind supplied by the caller for this operation.",
"example": "independence"
},
"table": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"description": "table supplied by the caller for this operation.",
"example": [
[
30,
10
],
[
20,
40
]
]
},
"yates": {
"type": "boolean",
"description": "yates supplied by the caller for this operation.",
"example": false
},
"fisher": {
"type": "boolean",
"description": "fisher supplied by the caller for this operation.",
"example": true
},
"observed": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"description": "observed supplied by the caller for this operation."
},
"expectedProportions": {
"type": "array",
"items": {
"type": "number",
"minimum": 0
},
"description": "expected Proportions supplied by the caller for this operation."
}
},
"required": [
"kind"
],
"additionalProperties": false
}Output schema
{
"type": "object"
}curl -i -X POST 'https://www.brainiac.software/api/v1/statistics/chi-square-test' \
-H 'content-type: application/json' -d '{"kind":"independence","table":[[30,10],[20,40]],"yates":false,"fisher":true}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs