statable Statistics for study and research

Two-proportion test (z test for proportions)

A test of whether two proportions from independent groups differ. Under the null hypothesis a common proportion is estimated. z = (p₁ - p₂) / √(p̄(1 - p̄)(1/n₁ + 1/n₂)).

Example: 60 of 100 against 45 of 100: common proportion 0.525, standard error 0.0706, z = 0.15/0.0706 = 2.12, p = 0.034.

Caution: The approximation needs large enough numbers in every cell, otherwise Fisher's exact test is better. The test is equivalent to the chi-square test of the two-by-two table.

Related

Open in Statable