Skip to main content
ScotlandStatisticsSyllabus dot point

How do you test a claim about a population proportion, or compare two proportions?

Carry out hypothesis tests for a single population proportion and for the difference between two proportions, using the normal approximation, stating the hypotheses, computing the test statistic and interpreting the result.

A focused answer to the SQA Advanced Higher Statistics proportion test content: testing a single population proportion and the difference between two proportions using the normal approximation, with the test statistics, the pooled estimate for two samples, and how to interpret the outcome.

Generated by Claude Opus 4.812 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Testing a single proportion
  3. Comparing two proportions
  4. When the normal approximation applies
  5. Try this

What this dot point is asking

Many questions are about proportions rather than means: the fraction of voters favouring a policy, the success rate of a treatment, the bias of a coin. The SQA wants you to test a single proportion against a claimed value and to compare two proportions, in both cases using the normal approximation to the binomial, stating hypotheses, computing a z-statistic and concluding in context.

Testing a single proportion

The one-sample proportion test asks whether an observed success rate is consistent with a claimed value.

The crucial detail is that the standard error uses p0p_0, the hypothesised proportion, not the sample p^\hat{p}, because the whole calculation is carried out under the assumption that H0H_0 is true.

Comparing two proportions

The two-sample proportion test asks whether two groups share the same underlying proportion.

When the normal approximation applies

Both tests approximate the binomial by a normal, so they need the samples to be large enough.

Try this

Q1. A survey of 400400 people finds 220220 in favour. Test H0:p=0.5H_0: p = 0.5 against H1:p≠0.5H_1: p \neq 0.5; find the test statistic. [2 marks]

  • Cue. p^=0.55\hat{p} = 0.55, standard error =0.5Γ—0.5400=0.025= \sqrt{\dfrac{0.5 \times 0.5}{400}} = 0.025, so z=0.55βˆ’0.50.025=2.0z = \dfrac{0.55 - 0.5}{0.025} = 2.0.

Q2. State the pooled proportion when sample 1 has 1818 successes in 6060 and sample 2 has 1212 successes in 4040. [1 mark]

  • Cue. p^=18+1260+40=30100=0.30\hat{p} = \dfrac{18 + 12}{60 + 40} = \dfrac{30}{100} = 0.30.

Exam-style practice questions

Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

AH style: one proportion4 marksA coin is tossed 100100 times and lands heads 5959 times. Test at the 5%5\% level whether the coin is biased toward heads. (Use z0.05=1.645z_{0.05} = 1.645.)
Show worked answer β†’

Hypotheses: H0:p=0.5H_0: p = 0.5 against H1:p>0.5H_1: p > 0.5 (one-tailed), where pp is the true probability of heads (1 mark).

Sample proportion p^=59100=0.59\hat{p} = \dfrac{59}{100} = 0.59; standard error under H0H_0 is p0(1βˆ’p0)n=0.5Γ—0.5100=0.05\sqrt{\dfrac{p_0(1 - p_0)}{n}} = \sqrt{\dfrac{0.5 \times 0.5}{100}} = 0.05 (1 mark).

Test statistic: z=p^βˆ’p0p0(1βˆ’p0)/n=0.59βˆ’0.50.05=1.8z = \dfrac{\hat{p} - p_0}{\sqrt{p_0(1 - p_0)/n}} = \dfrac{0.59 - 0.5}{0.05} = 1.8 (1 mark).

Since 1.8>1.6451.8 > 1.645, reject H0H_0: there is significant evidence at the 5%5\% level that the coin is biased toward heads (1 mark). Markers reward the hypotheses, the standard error under H0H_0, the test statistic and the conclusion.

AH style: two proportions3 marksIn sample 1, 4040 of 200200 succeed; in sample 2, 3030 of 200200 succeed. Explain how to form the pooled proportion and the test statistic for H0:p1=p2H_0: p_1 = p_2.
Show worked answer β†’

Under H0H_0 the two proportions are equal, so pool them: p^=40+30200+200=70400=0.175\hat{p} = \dfrac{40 + 30}{200 + 200} = \dfrac{70}{400} = 0.175 (1 mark).

The standard error of the difference uses the pooled proportion: p^(1βˆ’p^)(1n1+1n2)\sqrt{\hat{p}(1 - \hat{p})\left(\dfrac{1}{n_1} + \dfrac{1}{n_2}\right)} (1 mark).

The test statistic is z=p^1βˆ’p^2p^(1βˆ’p^)(1n1+1n2)z = \dfrac{\hat{p}_1 - \hat{p}_2}{\sqrt{\hat{p}(1 - \hat{p})\left(\frac{1}{n_1} + \frac{1}{n_2}\right)}}, compared with the standard normal; here p^1=0.20\hat{p}_1 = 0.20, p^2=0.15\hat{p}_2 = 0.15 (1 mark). Markers reward the pooled proportion, the standard error using it, and the correct test statistic.

Related dot points

Sources & how we know this