Tests for the equality of proportions of independent samples and their properties and assumptions.
Assumes fixed marginal distributions. Although not naturally fixed in most studies, this test still applies by conditioning on the marginal totals.
Uses hypergeometric distribution and computes an exact p-value. The exact p-value is conservative, that is, the actual rejection rate is below the nominal significance level. Recommended for small sample sizes or sparse data.
Uses the score statistic and computes an asymptotic p-value.
Note that the two-sided Score Z test is equivalent to Pearson's X2 test.
Note that the asymptotic distribution of the X2 test is the same regardless of whether only the total is fixed, both marginal distributions are fixed, or only one marginal distribution is fixed.
We use cookies for some essential features of the web-site, and optionally for analytics and marketing purposes. For more information see our Privacy policy.