Home▸Data Science▸Fisher Exact Test on a 2x2 Table: Null Distribution and Cookie Counts (2D)

Fisher Exact Test on a 2x2 Table: Null Distribution and Cookie Counts (2D)

The same 2x2 table drawn as cookie counts, with the hypergeometric null distribution below it, the observed table in yellow and the two-sided tail in red. Same shared model and numerical checks as the 3D version.

Data Science2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Fisher Exact Test on a 2x2 Table: Null Distribution and Cookie Counts (2D) ↗ Open standalone

Two cookie-consent banner designs are shown to visitors, and each visitor accepts or declines. Set the group sizes and acceptance rates to fill a tray of Blender cookies, then see the exact hypergeometric null distribution, the Fisher p-value, the odds ratio and how the chi-square approximation compares, including where it fails. Numerical checks of the exact test are built in.

⚙ Under the hood

The same 2x2 table drawn as cookie counts, with the hypergeometric null distribution below it, the observed table in yellow and the two-sided tail in red. Same shared model and numerical checks as the 3D version.

Fisher Exact TestContingency TableHypergeometricOdds RatioChi-Square

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)