When conducting a hypothesis test that compares two independent population proportions, the following characteristics should be present:

- The two independent samples are random samples that are independent.
- The number of successes is at least five, and the number of failures is at least five, for each of the samples.
- Growing literature states that the population must be at least ten or even perhaps 20 times the size of the sample. This keeps each population from being over-sampled and causing biased results.

Comparing two proportions, like comparing two means, is common. If two estimated proportions are different, it may be due to a difference in the populations or it may be due to chance in the sampling. A hypothesis test can help determine if a difference in the estimated proportions reflects a difference in the two population proportions.

Like the case of differences in sample means, we construct a sampling distribution for differences in sample proportions: $({p}_{A}^{\text{'}}-{p}_{B}^{\text{'}})$where ${p}_{A}^{\text{'}}={X}_{\frac{A}{{n}_{A}}}$ and ${p}_{B}^{\text{'}}={X}_{\frac{B}{{n}_{B}}}$ are the sample proportions for the two sets of data in question. X_{A} and X_{B} are the number of successes in each sample group respectively, and n_{A} and n_{B} are the respective sample sizes from the two groups. Again we go the Central Limit theorem to find the distribution of this sampling distribution for the differences in sample proportions. And again we find that this sampling distribution, like the ones past, are normally distributed as proved by the Central Limit Theorem, as seen in Figure 10.5 .

Generally, the null hypothesis allows for the test of a difference of a particular value, 𝛿_{0}, just as we did for the case of differences in means.

Most common, however, is the test that the two proportions are the same. That is,

To conduct the test, we use a pooled proportion, *p _{c}*.

*z*-score) is:

where *δ*_{0} is the hypothesized differences between the two proportions and p_{c} is the pooled variance from the formula above.

### Example 10.6

A bank has recently acquired a new branch and thus has customers in this new territory. They are interested in the default rate in their new territory. They wish to test the hypothesis that the default rate is different from their current customer base. They sample 200 files in area A, their current customers, and find that 20 have defaulted. In area B, the new customers, another sample of 200 files shows 12 have defaulted on their loans. At a 10% level of significance can we say that the default rates are the same or different?

Two types of valves are being tested to determine if there is a difference in pressure tolerances. Fifteen out of a random sample of 100 of Valve *A* cracked under 4,500 psi. Six out of a random sample of 100 of Valve *B* cracked under 4,500 psi. Test at a 5% level of significance.