{"slug":"www-brainiac-software-api-v1-statistics-chi-square-test-322de5","title":"Chi-square test of independence (with optional Yates correction), goodness of fi","host":"www.brainiac.software","method":"POST","resource":"https://www.brainiac.software/api/v1/statistics/chi-square-test","category":"other","description":"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","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":322,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"fisher":true,"kind":"independence","table":[[30,10],[20,40]],"yates":false},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"expectedProportions":{"description":"expected Proportions supplied by the caller for this operation.","items":{"minimum":0,"type":"number"},"type":"array"},"fisher":{"description":"fisher supplied by the caller for this operation.","example":true,"type":"boolean"},"kind":{"description":"kind supplied by the caller for this operation.","enum":["independence","goodness_of_fit"],"example":"independence","type":"string"},"observed":{"description":"observed supplied by the caller for this operation.","items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"},"table":{"description":"table supplied by the caller for this operation.","example":[[30,10],[20,40]],"items":{"items":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"type":"array"},"type":"array"},"yates":{"description":"yates supplied by the caller for this operation.","example":false,"type":"boolean"}},"required":["kind"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":298,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":306,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":339,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":349,"error":null}],"description_full":"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","last_updated":"2026-11-24T14:50:12.695Z","schemes":["exact"]}