

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
In this study material file, you will learn about: Fisher Exact Test, Significance Levels, Computations, Background, algorithm, Table Rearrangement, One-Tailed
Typology: Study notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!


1
The procedure described in this appendix is used to calculate the exact one-tailed and two-tailed significance levels of Fisher’s exact test for a 2 × 2 table under the assumption of independence of rows and columns and conditional on the marginal totals. All cell counts are rounded to the nearest integers.
Consider the following observed 2 × 2 table:
n 1 n 2 n (^) 1 + n 2 n 3 n 4 n (^) 3 + n 4 n 1 (^) + n 3 n (^) 2 + n 4 N Conditional on the observed marginal totals, the values of the four cell counts can be expressed as the observed count of the first cell n 1 only. Under the hypothesis of independence, the count of the first cell N 1 follows a hypergeometric distribution with the probability of N (^) 1 = n 1 given by
Prob N n
n n n n n n n n (^1 1) N n n n n 1 2 3 4 1 3 2 4 1 2 3 4
N = n 1 (^) + n (^) 2 + n (^) 3 + n 4. The exact one-tailed significance level p 1 is defined as
p N n n E N (^1) N n n E N
1 1 1 1 1 1 1 1
Prob if Prob if
1 This algorithm applies to SPSS 6.1.2 and later releases.
2 Appendix 5
where E N 1 6 1 1 (^) = n (^) 1 + n (^) 2 61 n (^) 1 + n 3 (^) 6 / N. The exact two-tailed significance level p 2 is defined as the sum of the one- tailed significance level p 1 and the probabilities of all points in the other side of the sample space of N 1 which are not greater than the probability of N (^) 1 = n 1.
Computations
To begin the computation of the two significance levels p 1 and p 2 , the counts in the observed 2 × 2 table are rearranged. Then the exact one-tailed and two-tailed significance levels are computed using the CDF.HYPER cumulative distribution function.
The following steps are used to rearrange the table:
The following steps are used to calculate the one-tailed significance level: