Fisher’s exact test is a test for finding out the statistical significance, generally employed for small sample sizes. It is used mostly in analyzing the contingency tables. The major advantage of this test is that the amount of deviation from null hypothesis can be obtained without any approximation. When we classify objects in two different ways, Fisher’s test uses that data to find out dependency or contingency of one classification on the other.
E.g.: Analyzing a group of college students classified as male and female and also as those who use their own vehicle to come to college and those who don’t. The data may be:
Not own vehicle
2 9 (b)
12 3 (d)
24 (a +b +c +d=n)
According to Fisher’s formula, to find out the association between these classifications, we can use the probability of getting such a set of values using the hyper geometric distribution: