Fisher’s exact test (2×2)
With fixed margins, a follows a hypergeometric distribution. Two-sided: sum of the probabilities of all tables that are at most as probable as the observed one (relative tolerance 10⁻⁷, as in R and SciPy); one-sided P(X ≤ a) or P(X ≥ a). Sample odds ratio = ad/(bc). Fisher RA. On the interpretation of χ² from contingency tables, and the calculation of P. J R Stat Soc 1922;85:87–94. doi:10.2307/2340521.
More about this tool
Enter the values and the result appears immediately. Formula and interpretation follow the original publication cited below. Free, no account – your entries stay in your browser.
For orientation only. Does not replace statistical advice; verify results for papers and grant applications with a second software.
More calculators: Frequencies and tables
- Chi-square test (2×2 and r×c table)
- McNemar test (paired proportions)
- Difference of two proportions (Newcombe CI)
pubmed.info sets no tracking cookies and builds no user profiles. Visits are counted anonymously (cookieless, shortened IP addresses). Ads from Google appear only according to your consent choice.