Home page for accesible maths 4.1 Inference for a single proportion

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

4.1.3 Hypothesis testing for a proportion

To apply the normal distribution framework in the context of a hypothesis test for a proportion, the independence and success-failure conditions must be satisfied. In a hypothesis test, the success-failure condition is checked using the null proportion: we verify np0 and n(1-p0) are at least 10, where p0 is the null value.

Example 4.1.3

Deborah Toohey is running for Congress, and her campaign manager claims she has more than 50% support from the district’s electorate. Set up a one-sided hypothesis test to evaluate this claim.

Answer. Is there convincing evidence that the campaign manager is correct? H0:p=0.50, HA:p>0.50.

Example 4.1.4

A newspaper collects a simple random sample of 500 likely voters in the district and estimates Toohey’s support to be 52%. Does this provide convincing evidence for the claim of Toohey’s manager at the 5% significance level?

Answer. Because this is a simple random sample that includes fewer than 10% of the population, the observations are independent. In a one-proportion hypothesis test, the success-failure condition is checked using the null proportion, p0=0.5: np0=n(1-p0)=500×0.5=250>10. With these conditions verified, the normal model may be applied to p^.

Next the standard error can be computed. Answer. The null value is used again here, because this is a hypothesis test for a single proportion.

SE=p0×(1-p0)n=0.5×(1-0.5)500=0.022

A picture of the normal model is shown in Figure LABEL:pValueForCampaignManagerClaimOfMoreThan50PercentSupport with the p-value represented by the shaded region. Based on the normal model, the test statistic can be computed as the Z score of the point estimate:

Z=point estimate-null valueSE=0.52-0.500.022=0.89

The upper tail area, representing the p-value, is 1-(Z<0.89)=1-0.8132671=0.1867. Because the p-value is larger than 0.05, we do not reject the null hypothesis, and we do not find convincing evidence to support the campaign manager’s claim.



Hypothesis test for a proportion Set up hypotheses and verify the conditions using the null value, p0, to ensure p^ is nearly normal under H0. If the conditions hold, construct the standard error, again using p0, and show the p-value in a drawing. Lastly, compute the p-value and evaluate the hypotheses.