Difference Between Proportions
Statistics problems often involve comparisons between two
independent sample proportions. This lesson explains how to compute
probabilities associated with differences between proportions.
Difference Between Proportions: Theory
Suppose we have two
populations
with proportions equal to P1 and P2. Suppose
further that we take all possible
samples
of size n1 and n2. And finally, suppose that the
following assumptions are valid.
- The samples are
independent;
that is, observations in population 1 are not affected by observations
in population 2, and vice versa.
Given these assumptions, we know the following.
It is straightforward to derive the last bullet point, based on material
covered in previous lessons. The derivation starts with a recognition
that the variance of the difference between independent random variables is
equal to the sum of the individual variances. Thus,
σ2d =
σ2P1 - P2 =
σ21 + σ22
If the populations N1 and N2 are both large
relative to n1 and n2, respectively,
then
σ21 =
P1(1 - P1) / n1
And
σ22 =
P2(1 - P2) / n2
Therefore,
σ2d =
[ P1(1 - P1) / n1 ] +
[ P2(1 - P2) / n2 ]
And
σd =
sqrt{ [ P1(1 - P1) / n1 ] +
[ P2(1 - P2) / n2 ] }
Difference Between Proportions: Sample Problem
In this section, we work through a sample problem to show how to apply
the theory presented above. The approach presented is valid
whenever we need to analyze
differences between independent sample proportions. In this example,
differences between proportions are modeled with a normal distribution;
so we use Stat Trek's
Normal Distribution Calculator
to compute probabilities. The calculator is free.
Normal
Distribution Calculator
The normal calculator solves common statistical problems, based on the normal
distribution. The calculator computes cumulative probabilities, based on three
simple inputs. Simple instructions guide you quickly to an accurate solution.
If anything is unclear, frequently-asked questions and sample
problems provide straightforward explanations. Access this free calculator
from the Stat Tables tab, which appears in the header of every Stat Trek web page.
Problem 1
In one state, 52% of the voters are Republicans, and 48% are Democrats.
In a second state, 47% of the voters are Republicans, and 53% are
Democrats. Suppose 100 voters are surveyed from each state.
Assume the survey uses simple random sampling.
What is the probability that the survey
will show a greater percentage of Republican voters in the
second state than in the first state?
(A) 0.04
(B) 0.05
(C) 0.24
(D) 0.71
(E) 0.76
Solution
The correct answer is C. For this analysis, let P1 =
the proportion of Republican voters in the first state,
P2 = the proportion of Republican voters in the second state,
p1 = the proportion of Republican voters in the
sample from the first state, and
p2 = the proportion of Republican voters in the
sample from the second state. The number of voters sampled from
the first state (n1) = 100, and the number of voters
sampled from the second state (n2) = 100.
The solution involves four steps.
Therefore, the probability that the survey
will show a greater percentage of Republican voters in the
second state than in the first state is 0.24.