FISHER EXACT TEST

Fisher Exact Test

The Core Definition of the Fisher Exact Test

The Fisher Exact Test, often abbreviated as FET, is a fundamental non-parametric statistical significance test designed specifically for analyzing count data contained within a fourfold contingency table, often referred to as a 2×2 table. Unlike many common statistical tests that rely on approximations of the sampling distribution, such as the Chi-squared test, the Fisher Exact Test calculates the precise, or “exact,” exact probability of observing the current distribution of data—or any distribution more extreme—given that the margins of the table are held fixed. This test is crucial when dealing with small sample sizes where assumptions required by asymptotic tests are violated, making it a reliable tool for researchers across various scientific disciplines, including quantitative psychology and biostatistics.

The fundamental mechanism behind the Fisher Exact Test is its ability to determine if the observed association between two categorical variables is likely due to chance. The test operates under the premise of the null hypothesis, which posits that there is no true association between the row variable and the column variable. If the calculated exact probability (p-value) is sufficiently small, the researcher can confidently reject the null hypothesis, concluding that the observed data pattern is statistically significant and reflects a genuine relationship between the variables being measured. Its reliance on calculating the exact probability from the observed data makes it highly accurate even in scenarios where data sparsity is a concern.

The core principle is rooted in combinatorial mathematics, specifically involving the hypergeometric distribution. This distribution models the probability of drawing a certain number of successes in a sequence of draws from a finite population without replacement. In the context of a 2×2 contingency table, the FET calculates the probability of each possible arrangement of cell counts, conditional on the fixed row and column totals (the margins). By summing the probabilities of the observed table and all tables that exhibit a more pronounced association in the hypothesized direction, the test provides a definitive p-value that is not reliant on any assumptions about the sample size approaching infinity, which is a common limitation of approximation methods.

Historical Development and Origin

The Fisher Exact Test owes its name and development to the monumental contributions of Sir Ronald Aylmer Fisher (1890–1962), the highly influential British statistician and geneticist who is often regarded as the founder of modern statistical science. Fisher developed this test during the early 20th century, a time characterized by significant advances in experimental design and the need for robust statistical methods applicable to real-world data, particularly in fields like agriculture and biology where sample sizes were often inherently small and controlled experiments were paramount for advancing knowledge.

The canonical anecdote often associated with the test’s inception involves an informal experiment known as the “Lady Tasting Tea.” The story recounts a colleague of Fisher’s, Muriel Bristol, claiming she could discern whether milk or tea was poured into the cup first. To rigorously test this claim, Fisher devised an experimental design that resulted in a small 2×2 contingency table where the outcomes were counts of correct versus incorrect identifications across two distinct preparation methods. This scenario perfectly illustrated the challenge of using traditional approximation tests with such limited data, prompting Fisher to develop a method that yielded an exact probability of achieving the observed results purely by chance, thereby providing definitive statistical proof for or against the lady’s claim.

The resulting formula and methodology, first formally described in the 1930s, provided a mathematically precise solution to hypothesis testing for categorical data in small samples, filling a critical gap left by the newly emerging Chi-squared methods. While the Chi-squared test was powerful for large samples, its reliability diminishes rapidly when expected cell frequencies drop below five, making the Fisher Exact Test an essential, non-controversial alternative that maintains its validity irrespective of the sample size, provided the data structure is appropriately framed within a 2×2 matrix.

A Practical Application Example

In psychology, the Fisher Exact Test is frequently employed in pilot studies or clinical trials involving rare conditions or specialized populations where recruiting large samples is impractical. Consider a hypothetical scenario involving two small groups of patients suffering from severe anxiety: Group A receives a novel, short-term cognitive intervention (N=10), and Group B receives standard relaxation therapy (N=10). The outcome measure is dichotomous: whether the patient experienced a significant reduction in symptoms (“Success”) or did not (“Failure”) after three months. The resulting data is structured in a 2×2 contingency table.

Suppose the results are as follows: In Group A (Novel Intervention), 8 patients achieved success and 2 failed. In Group B (Standard Therapy), 4 patients achieved success and 6 failed. This data forms a fourfold contingency table. The research question is whether the novel intervention leads to a significantly higher success rate than the standard therapy, or if this difference (8 successes vs. 4 successes) is simply due to random variation, assuming the null hypothesis of no difference holds true.

  1. The observed table is constructed, fixing the marginal totals (total successes = 12, total failures = 8; total Group A = 10, total Group B = 10).
  2. The FET then calculates the probability of this specific observed table occurring by chance using the hypergeometric formula.
  3. Critically, the test must also calculate the probability of all outcomes that are “more extreme” than the observed data, while keeping the fixed margins constant. A ” more extreme” outcome, in this case, would be 9 successes/1 failure in Group A (and consequently, 3 successes/7 failures in Group B), or 10 successes/0 failures in Group A (and 2 successes/8 failures in Group B).
  4. The p-value is the sum of the probabilities of the observed table and all the more extreme tables. If this summed probability is, for example, less than 0.05, the researchers would reject the null hypothesis and conclude that the novel intervention is significantly more effective than the standard therapy, providing an exact probability of the finding being purely random.

Significance and Role in Modern Research

The importance of the Fisher Exact Test to modern empirical research, particularly in psychology and medicine, cannot be overstated, primarily because of its fundamental characteristic of providing an exact solution. In fields where ethical considerations limit sample size, or where pilot studies are necessary before launching large-scale, costly trials, the FET offers a statistically rigorous method for analyzing outcomes without relying on large sample assumptions. This is particularly relevant when evaluating the effectiveness of rare or specialized treatments, or when studying low-incidence behaviors, where the total number of observations may be small, leading to expected cell counts below the threshold typically required for the Chi-squared approximation.

Its primary application lies in ensuring that researchers do not draw false conclusions from small data sets. When cell counts are low, the Chi-squared test tends to produce unreliable p-values, often exaggerating the significance of a finding. By contrast, the Fisher Exact Test maintains a conservative and accurate assessment of the probability under the null hypothesis, preventing Type I errors (false positives). Furthermore, in fields like genetics or public health, where observations might be binary (e.g., presence or absence of a mutation, recovery or non-recovery from a disease), the FET is the gold standard for initial assessments of association strength in small cohorts.

Beyond its use in formal research, the principle of the Fisher Exact Test informs experimental design by highlighting the statistical constraints inherent in small sample studies. It underscores the necessity of selecting appropriate statistical tools based on the nature and size of the data, rather than defaulting to more commonly known tests. Its exact nature has cemented its place as a trusted tool in quality control, regulatory science, and any domain requiring definitive proof of association without the ambiguity introduced by asymptotic statistical approximations.

The Fisher Exact Test belongs to the broader category of non-parametric statistics, which are statistical methods that do not rely on assumptions about the probability distribution of the data (e.g., that the data is normally distributed). More specifically, it falls under the subfield of Inferential Statistics, as its purpose is to draw conclusions about a population based on sample data, particularly concerning the association between categorical variables.

The FET is most commonly contrasted with the Pearson’s Chi-squared Test. While both tests are used to analyze categorical data in contingency tables, the Chi-squared test relies on the assumption that the sample size is large enough for the test statistic to follow a Chi-squared distribution. When the expected frequency in any cell of the 2×2 contingency table is less than 5, the Chi-squared test becomes inaccurate, often necessitating the use of a continuity correction (like Yates’ correction) or, preferably, the Fisher Exact Test. The FET is mathematically superior in these small sample situations because it calculates the probability exactly, avoiding the need for distributional approximations entirely.

Another related concept is the McNemar’s Test. While McNemar’s Test also deals with count data in 2×2 tables, it is specifically designed for dependent or paired data (e.g., measuring the same subjects before and after an intervention), focusing on marginal homogeneity. In contrast, the Fisher Exact Test assumes the two samples are independent. Finally, while not a direct alternative, the principles of the Fisher Exact Test are sometimes superseded by Bayesian methods in modern statistics, which offer alternative ways to incorporate prior knowledge and calculate the posterior probability of association, moving beyond the traditional hypothesis testing framework provided by the exact p-value calculation.

Cite this article

Mohammed looti (2025). FISHER EXACT TEST. Encyclopedia of psychology. Retrieved from https://encyclopedia.arabpsychology.com/fisher-exact-test/

Mohammed looti. "FISHER EXACT TEST." Encyclopedia of psychology, 16 Oct. 2025, https://encyclopedia.arabpsychology.com/fisher-exact-test/.

Mohammed looti. "FISHER EXACT TEST." Encyclopedia of psychology, 2025. https://encyclopedia.arabpsychology.com/fisher-exact-test/.

Mohammed looti (2025) 'FISHER EXACT TEST', Encyclopedia of psychology. Available at: https://encyclopedia.arabpsychology.com/fisher-exact-test/.

[1] Mohammed looti, "FISHER EXACT TEST," Encyclopedia of psychology, vol. X, no. Y, ص Z-Z, October, 2025.

Mohammed looti. FISHER EXACT TEST. Encyclopedia of psychology. 2025;vol(issue):pages.

Download Post (.PDF)
PDF
Scroll to Top