Fisher's Exact Test

hard
Unit 23 · Causal Inference0/0 to milestone

For small 2×2 tables the chi-square approximation is poor. Fisher's exact test conditions on the margins: the top-left cell aa follows a hypergeometric distribution

Pro problem

Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.

Start 7-day free trial
solution.py · Python 3.13
Run your code to see results. ⌘↵ to run · ⌘⇧↵ to submit
Fisher's Exact Test · TechGradify