Questions tagged [fishers-exact-test]

A hypothesis test for contingency tables.

Fisher's exact test is a hypothesis test for contingency tables. It returns the exact probability of finding observed counts as far or further from independence, if the rows and columns were actually independent. It is based on the hypergeometric distribution.

Fisher's exact test may be contrasted with the chi-squared test for contingency tables, which compares the observed $\chi^2$ test statistic to the (continuous) chi-squared distribution to determine the p-value, instead of computing the p-value directly. This strategy is computationally inexpensive. The sampling distribution of the $\chi^2$ test statistic will match the theoretical chi-squared distribution asymptotically (i.e., with sufficiently large samples); with smaller sample sizes the match is only approximate, however. Fisher's exact test is sometimes recommended when cells have small expected frequencies and thus the chi-squared test may not be appropriate.

There is an extension for $r \times{} c$ tables due to Freeman and Halton which is sometimes known as the Fisher-Freeman-Halton test.

470 questions
5
votes
1 answer

Fisher's Exact test with zeros in data?

I have a question about conducting independence tests for categorical data with Fisher's Exact when I have zeros in my data. Since I observed no data for a category in both groups, is it right to include zero? Is this the best I can do with some…
John Stud
  • 319
  • 1
  • 13
4
votes
0 answers

Is a Fisher-Test with dependent data conservative?

I have the following case: Two groups of people produce a bunch of different words, those words are categories. So I get a table: The numbers in the in the cells are for the words each group produced in the categories. I would like to test if the…
Martin
  • 61
3
votes
1 answer

Does multiple pairwise fisher exact test need multiple testing correction?

I am aware of that multiple testing correction is needed when multiple hypothesis tests are simultaneously performed. However, I am a little confused by the word "simultaneously". Say I have hundereds of samples and I derived multiple features…
unicorn
  • 889
3
votes
1 answer

Is Fisher's exact test right for this problem?

Let's say I have 4 plants and I measure something under 2 conditions. For example: The entries in the table show how many times I saw something under condition (C1 or C2) for plant (P1, P2, P3 or P4). P1, P2, P3, P4 C1 0 20 0 19…
Arun
  • 844
2
votes
2 answers

How to perform a Fisher exact test for 2X5 or 3X5 tables?

I would like to analyze my results which have 3 groups with 5 possible outcomes (they are ordinal data by the way) and the expected cell counts are less than 5. Seems like it is not possible to run a analysis larger than a 2X2 tables in SPSS. Does…
2
votes
0 answers

The use of Fisher's Exact test for Cougar (Puma concolor) Injury in the United States

In 2019 a research paper was published measuring the association between cougar attacks on humans using the Fisher's Exact test between 1924 to 2018 [1]. There were a total of 74 attacks reported from 16 different states."The most common activities…
cn838
  • 19
2
votes
0 answers

Can I work out the numbers in the groups, based on the results of Fisher’s exact test?

I need to extract data from an article that reports a Fisher’s exact test p = 0.56; odds ratio 95% confidence interval [0.50, 1.2]. Knowing that both groups have 80 individuals is it possible to find out the difference in numbers based on the…
Marc
  • 53
  • 3
1
vote
1 answer

Fisher's exact test

I am an archaeologist (PhD candidate) that has recently learned how to perform chi squared tests. However, I am told that for the table below, I would need a Fisher's exact test since some of the bins have <5 in them. I know that this test is…
Denise
  • 65
1
vote
0 answers

Fisher's Exact Test Post-Hoc for 3x2 Table

I am running a Fisher's exact test on SPSS. There are 2 variables - 3 groups and their Pass/Fail frequencies: Group 1: 8 pass, 18 fail Group 2: 1 pass, 10 fail Group 3: 11 pass, 6 fail I am using Fisher's exact test because some cells have a count…
Statsyy
  • 11
  • 3
1
vote
1 answer

Fisher's exact test in more than 2 variables

I have some data with three independent categorical variables (one has a sense of order, the others do not) and one dependent categorical variable. Is there an analogue to Fisher's exact test where I can simultaneously evaluate whether the…
1
vote
1 answer

Can I use fisher test on a $1 \times n$ table for comparing multiple proportions?

Let $X$ be $1$ (success) if some event occurs and $0$ other wise, let $p_i$ be the proportion of successes in the population $i$, so I'd like to use fisher exact test to test: $H_0: p_i=p_j$ for all $i \neq j$ with $i,j \in \{1,...,n\}$ $H_1:$ There…
1
vote
1 answer

How Close Should Rows of Contingency Table be to Trigger p-value = 1?

I've been running some simulations on genotype effects on phenotypes. I'm representing genotypes by 0, 1 or 2 (the number of copies of the minor allele) and phenotypes as 0 or 1. Thus my contingency table is 2x3. I then run R's built-in Fisher Exact…
J.D.
  • 59
  • 8
1
vote
0 answers

Fisher's exact test vs chi-squared test

I have read some books in which Fisher's exact test will provide an exact p-value, but the assumptions underlying experimental design are not routinely met in practice. Apparently Fisher's "lady testing experiment" was specifically design to to meet…
1
vote
1 answer

co-occurence and mutual exclusivity of two events

I would like to compute co-occurence and mutual exclusivity for a set of events divided in two groups (A and B). Each event E_{x,y} represents if a mutation occurs in the gene x from sample y These two groups of events are encoded in two matrix (A…
1
vote
0 answers

How to use Fisher's exact test to show the significance of "the proportions at one variable are the SAME for different values of the second variable"?

We are working on a bioinformatics problem. We have a collection (say $U$) of kmers or small substrings of length $k$ of some set of sequences. We have two different experiments. Only a subset of kmers say, $A,B \subseteq U$, is enriched in each of…
1
2