Used to compare the proportion of successes between two populations. Suppose the p1, p2 are the true proportions of two populations.
Suppose the sample proportions from independent random samples of sizes n1 and n2 are:
p^1=n1x1,p^2=n2x2
Here x1, x2 are successes on each sample.
The general null and alternative hypotheses are:
H0:p1−p2=d0
H1:p1−p2<d0 or p1−p2>d0 or p1−p2=d0
Tcal=n1p12(1−p1)2+n2p22(1−p2)2p1^−p2^−(p1−p2)∼N(0,1)