Mistake Master
Student view — seeing the site as a student does

Setting Up a Test for a Population Proportion

▶︎  Watch it animatedinteractive step-through · ~3 min · optional

A one-proportion z-test is set up with hypotheses about the parameter: $H_0: p = p_0$ with equality, against $H_a$ using $<$, $>$, or $\ne$, with the direction taken from the research question before any data are seen. For a company claiming a 40% renewal rate and a manager who suspects it is lower, $H_0: p = 0.40$ against $H_a: p < 0.40$, where $p$ is the renewal proportion among all customers. The conditions are random, $n \le 0.10N$, and $np_0 \ge 10$ with $n(1-p_0) \ge 10$, using the hypothesized proportion because the test reasons inside the world where the null is true. The significance level is chosen in advance.

The hypotheses are the failure point. They get written about $\hat{p}$, a number that will be known exactly and so cannot be hypothesized about, or about the 250 people surveyed rather than the population they came from. The alternative gets its direction from the sample: seeing 0.352 and then choosing $p < 0.40$ puts the whole significance level in a tail the data already selected. The null gets an inequality when it must carry equality. And the conditions get checked with $\hat{p}$, which belongs to intervals, or recited without the study's numbers at all.

a company claims 40% renew; a manager suspects lower H0: p = 0.40 Ha: p < 0.40 p is the proportion of ALL customers, not the 250 surveyed the direction comes from suspects lower, not from the data none of these is a hypothesis H0: p-hat = 0.40 p-hat will be known: it is 0.352 H0: p >= 0.40 the null carries equality H0: 40% of the 250 renew that is the sample, not the target
Both statements describe the population parameter. A hypothesis about the sample proportion is a claim about a number the data will simply report, so there is nothing left for the test to weigh.
the question picks the alternative what is being asked Ha is the rate LOWER than claimed p < p0 is the rate HIGHER than claimed p > p0 has the rate CHANGED at all p =/= p0 not on the list: the sample came out low, so use p < p0 a one-sided test puts all of alpha in one tail, so choosing that tail after the data makes results look more surprising
The alternative encodes what the investigation is looking for. Letting the sample choose the tail spends the whole significance level on a direction the data already picked out.

The work

3 ways in · any order
Lesson
Setting Up a Test for a Population Proportion

Sets up the one-proportion z-test: hypotheses about the parameter with equality in the null, the alternative's direction taken from the research question, conditions checked with p-zero because the null is what the test assumes, and a significance level fixed in advance.

Skill check · 10 scenarios
Diagnostic
10-item topic check

Ten items on test setup: hypotheses written about p-hat or about the sampled group, nulls carrying inequalities, alternatives chosen from the data, and conditions checked with the wrong proportion. Take it cold to find your habit, or after the lesson to check it is gone.

Not started · 10 items · ~15 min
Targeted Practice
Drill a single misconception

Pick one of the failure modes you missed and drill it on its own. The round is adaptive: two correct in a row clears it for now and moves you to the next. Two in a row is a checkpoint, not proof: if the error resurfaces later, the misconception comes back.

Take the diagnostic to identify your misconceptions