Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Statistics›Fisher's exact test
Hypothesis test

Fisher's exact test

Also known as: Fisher-Irwin test, exact test of independence, Fisher'ın Kesin Testi

Fisher's exact test is a nonparametric exact-probability test of independence for small-sample contingency tables, introduced by R. A. Fisher in 1922. Rather than relying on a large-sample approximation, it computes the exact probability of the observed table directly from the hypergeometric distribution.

ScholarGate
  1. Hypothesis test
  2. v1
  3. 1 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Fisher's exact test
Cochran Q TestMcNemar's testBayesian Fisher's exact…Cramer's VCross-tabulation analysisRobust chi-square testRobust Fisher's exact te…

When to use it

Use it to test whether two categorical variables are independent in a 2×2 or general r×c contingency table, especially when the sample is small. It is the preferred choice over the chi-square test when expected cell frequencies fall below 5, because the chi-square approximation becomes unreliable there. The observations must be independent and the data must consist of two categorical (including binary) variables.

Strengths & limitations

Strengths
  • Gives an exact p-value with no reliance on a large-sample approximation.
  • Valid for small samples and sparse tables where the chi-square test fails.
  • Naturally suited to 2×2 tables and extendable to r×c tables.
  • Computationally simple and available in every analysis package.
Limitations
  • Computation becomes heavy for large tables or large total counts.
  • Conditioning on fixed margins can make the test conservative.
  • Limited to categorical data; it tests association, not the size or direction of an effect on its own.
  • For large samples it offers no advantage over the chi-square test.

Frequently asked

When should I prefer it over the chi-square test?

Use Fisher's exact test when the sample is small or any expected cell frequency falls below 5, where the chi-square approximation is unreliable. For large samples with comfortably large expected counts, the chi-square test is the conventional and computationally lighter choice.

Does it work only for 2×2 tables?

No. The 2×2 case is the classic and simplest form, but the test generalizes to r×c contingency tables. Larger tables simply require summing probabilities over many more possible arrangements.

One-sided or two-sided?

For a 2×2 table both are available. Use the two-sided p-value by default to test association in either direction, and reserve the one-sided version for a directional hypothesis stated before seeing the data.

What effect size should I report?

For a 2×2 table the odds ratio is the natural companion to the p-value, summarizing the strength and direction of the association. The p-value alone tells you only whether an association is detectable, not how strong it is.

Sources

  1. Fisher, R. A. (1922). On the interpretation of chi-squared from contingency tables, and the calculation of P. Journal of the Royal Statistical Society, 85(1), 87–94. DOI: 10.2307/2340521 ↗

How to cite this page

ScholarGate. (2026, June 1). Fisher's exact test. ScholarGate. https://scholargate.app/en/statistics/fishers-exact-test

Related methods

Cochran Q TestMcNemar's test

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Cochran Q TestStatistics↔ compare
  • McNemar's testStatistics↔ compare
Compare side by side →

Referenced by

Bayesian Fisher's exact testCramer's VCross-tabulation analysisRobust chi-square testRobust Fisher's exact test

Similar methods

Robust Fisher's exact testBayesian Fisher's exact testBarnard's Exact TestChi-square testRandomization InferenceChi-square goodness-of-fit testBinomial TestCross-tabulation analysis

Related reference concepts

Chi-Squared and Fisher Exact TestsContingency Tables and 2×2 TablesCategorical Data AnalysisPermutation TestsStatistical Hypothesis TestingMantel-Haenszel and Stratified Analysis

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Fisher's exact test (Fisher's exact test). Retrieved 2026-07-20 from https://scholargate.app/en/statistics/fishers-exact-test · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
R. A. Fisher
Year
1922
Family
Hypothesis test
Type
Exact test of independence for categorical data
Groups
2 categorical variables (2×2 or r×c table)
Outcome
categorical / binary
Parametric
No
Distribution
Hypergeometric (exact null distribution)
Related methods
Cochran Q TestMcNemar's test
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account