Statistical Calculator

Difference Between Two Proportions

Formula


Large (Infinite) Populations

test statistic:  z = |p1-p2 |/s

where:

p1 = proportion 1
p2 = proportion 2

s = sqrt(p(1-p)/n1 + p(1-p)/n2)    p = (p1n1+p2n2)/(n1+n2)  n1 = sample size 1  n2 = sample size 2

significance test:
z > 
2.576 for 99% level of confidence
1.96 for 95% level of confidence
1.645 for 90% level of confidence

Finite Populations

test statistic:  z = |p1-p2 |/s

where:

p1 = proportion 1
p2 = proportion 2

s = sqrt(p(1-p)/n1adj + p(1-p)/n2adj)   
p = (p1adjn1adj+p2adjn2adj)/(n1adj+n2adj
n1adj = (N-1)n1/(N-n1)
n2adj = (N-1)n2/(N-n2)
n1 = sample size 1 
n2 = sample size 2

significance test:
z > 
2.576 for 99% level of confidence
1.96 for 95% level of confidence
1.645 for 90% level of confidence