Proportions: Inequality, two independent groups (Fisher's exact test)
This procedure calculates power and sample size for tests comparing two independent binomial populations with probabilities π1 and π2, respectively. The results of sampling from these two populations can be given in a 2 × 2 contingency table X :|
Standard
|
|||||||
|
Group 1
|
Group 2
|
Total |
|||||
|
Success
|
|
m | |||||
|
Failure
|
N-m | ||||||
| Total |
n1 |
n2 |
N |
||||
Here, n1 and n2 are the sample sizes, and x1 and x2 the observed number of successes in the two populations. N = n1 + n2 is the total sample size, and m = x1 + x2 the total number of successes.
The null hypothesis states that π1 = π2, whereas the alternative hypothesis assumes different probabilities in both populations:
H0 : π1 − π2 = 0
H1 : π1 − π2 ≠ 0.
Effect size index
The effect size is determined by directly specifying the two proportions π1 and π2.Options
This test has no options.Examples
Will follow later.Related tests
Proportions: Inequality, two dependent groups (McNemar)
Implementation notes
Exact unconditional power
The procedure computes the exact unconditional power of the (conditional) test. The exact probability of the 2 × 2 contingency table X (see introduction) under H0, conditional on m = x1 + x2, is given by:

where

1. Fisher's exact test:

2. Persons's exact test:

3. Likelihood ratio exact test:

Large sample approximation
The large sample approximation is based on a continuity corrected χ2 test with pooled variances. To permit a two-sided test, a z test version is used: The H0 distribution is the standard normal distribution N(0, 1), and the H1 distribution given by the normal distribution N(m(k), σ), with
Validation
The results were checked against the values produced by GPower 2.0.
Letzte Änderung: 12.05.2009, 13:34

