Let p1 be the population proportion for the first population
and p2 be the population proportion for the second population
Then
p1 = p2
p1 ≠ p2
Test statistic can be found usin the equation:
where
p1 is the sample population proportion for the first population
p2 is the sample population proportion for the second population
p is the pool proportion of p1 and p2
n1 is the sample size of the first population
n2 is the sample size of the second population.
As |p1-p2| gets smaller, the value of the <em>test statistic</em> gets smaller. Thus the probability of its being extreme gets smaller. This means its p-value gets higher.
As the<em> p-value</em> gets higher, the null hypothesis is less likely be rejected.