Fisher's exact test
Builds on Contingency tableHypergeometric distributionP-valueStatistical hypothesis test
Definition
Consider a contingency table of counts in the first row and in the second row, with total . Fix the row totals , and the column totals , . Assume the null hypothesis that the row factor and the column factor are independent. Then, conditionally on these totals, has the hypergeometric distribution Fisher's exact test computes the p-value as a sum of over tables with the same totals. The sum runs over the tables at least as extreme as the observed one. The one-sided version sums over ; the usual two-sided version sums over all with .
Remarks
Example: in the lady tasting tea experiment, , , and she classifies all cups correctly, so . Then , and the one-sided p-value is . Non-example: replacing the hypergeometric law by its chi-squared approximation gives Pearson's chi-squared test, whose p-value is only approximate. The test is conservative: since the conditional law is discrete, the probability of a type I error is at most and often smaller.
Reading path
To understand this page from the ground up, read these 68 pages in order. The foundations come first.
- Binomial coefficient definition
- Construction of the reals from Cauchy sequences concept
- Contingency table concept
- Element definition
- Integers object
- Ordered field definition
- Proposition concept
- Random experiment concept
- Rational numbers object
- Real numbers object
- Set definition
- Ring of integers statement
- Disjunction definition
- Implication definition
- Predicate definition
- Ordered pair definition
- Union definition
- Sample space definition
- Existential quantifier definition
- Universal quantifier definition
- The rationals form a field statement
- Cartesian product definition
- Subset definition
- Uniqueness quantifier definition
- The rationals form an ordered field statement
- Binary relation definition
- Universal set definition
- Power set definition
- Order on the reals definition
- Function definition
- Complement definition
- Interval definition
- Codomain definition
- Injective function definition
- Preimage of a set definition
- Sigma-algebra definition
- Surjective function definition
- Countable set definition
- Event definition
- Borel sigma-algebra definition
- Bijective function definition
- Probability axioms concept
- Equinumerous sets definition
- Probability measure definition
- Finite set definition
- Probability distribution definition
- Probability space definition
- Classical definition of probability definition
- Conditional probability definition
- Random variable definition
- Cumulative distribution function definition
- Discrete random variable definition
- Law of a random variable definition
- Independence of two events definition
- Random variable with a density definition
- Probability mass function definition
- Identically distributed random variables definition
- Probability density function definition
- Mutual independence of events definition
- Hypergeometric distribution definition
- Continuous uniform distribution definition
- Independent sigma-algebras definition
- Independence of random variables definition
- Independent and identically distributed random variables definition
- Statistic definition
- Statistical hypothesis test concept
- P-value definition
- Fisher's exact test definition
Further reading
About this page
| Tag | YB9390ZE4W |
|---|---|
| URI | m2://YB9390ZE4W |
| Kind | definition |
| Writing | W0 stub |
| MSC | 62H17, 62F03 |
| Defines | Fisher's exact test |
| Uses | Contingency table, Hypergeometric distribution, P-value, Statistical hypothesis test |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.