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.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
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 , the hypothesised proportion, not the sample , because the whole calculation is carried out under the assumption that 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 people finds in favour. Test against ; find the test statistic. [2 marks]
- Cue. , standard error , so .
Q2. State the pooled proportion when sample 1 has successes in and sample 2 has successes in . [1 mark]
- Cue. .
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 times and lands heads times. Test at the level whether the coin is biased toward heads. (Use .)Show worked answer β
Hypotheses: against (one-tailed), where is the true probability of heads (1 mark).
Sample proportion ; standard error under is (1 mark).
Test statistic: (1 mark).
Since , reject : there is significant evidence at the level that the coin is biased toward heads (1 mark). Markers reward the hypotheses, the standard error under , the test statistic and the conclusion.
AH style: two proportions3 marksIn sample 1, of succeed; in sample 2, of succeed. Explain how to form the pooled proportion and the test statistic for .Show worked answer β
Under the two proportions are equal, so pool them: (1 mark).
The standard error of the difference uses the pooled proportion: (1 mark).
The test statistic is , compared with the standard normal; here , (1 mark). Markers reward the pooled proportion, the standard error using it, and the correct test statistic.
Related dot points
- Set up null and alternative hypotheses, choose a significance level, compute and use a test statistic and p-value, decide between one- and two-tailed tests, identify the critical region, and distinguish Type I and Type II errors.
A focused answer to the SQA Advanced Higher Statistics hypothesis testing framework: forming null and alternative hypotheses, the significance level, the test statistic, the p-value and critical region, one- and two-tailed tests, and Type I and Type II errors.
- Carry out the one-sample, two-sample (independent) and paired t-tests for population means, stating the hypotheses, computing the test statistic, using degrees of freedom, and interpreting the result, while checking the normality assumption.
A focused answer to the SQA Advanced Higher Statistics t-test content: the one-sample t-test, the two-sample (independent) t-test and the paired t-test, with the test statistics, the degrees of freedom, the normality assumption and how to interpret the outcome.
- Calculate point estimates of a population mean and variance, construct and interpret confidence intervals for a population mean using the normal and Student's t-distributions, and construct a confidence interval for a population proportion.
A focused answer to the SQA Advanced Higher Statistics estimation content: point estimates of the population mean and variance, confidence intervals for a mean using the normal distribution and Student's t-distribution, the role of degrees of freedom, and confidence intervals for a population proportion.
- Carry out the chi-squared goodness-of-fit test and the chi-squared test for association in a contingency table, computing expected frequencies, the chi-squared statistic and degrees of freedom, and interpreting the result against the assumptions.
A focused answer to the SQA Advanced Higher Statistics chi-squared content: the goodness-of-fit test and the test for association in a contingency table, computing expected frequencies, the chi-squared statistic and degrees of freedom, the minimum expected frequency rule, and interpreting the outcome.
Sources & how we know this
- SQA Advanced Higher Statistics Course Specification (C803 77) β SQA (2023)
- SQA Advanced Higher Statistics Data Booklet β SQA (2019)