Introduction to hypothesis testing — Edexcel A-Level Statistics
Introduction to hypothesis testing explained
Introduction to hypothesis testing covers 7 specification points, including Use and demonstrate understanding of the terms… and Null hypothesis, alternative hypothesis,….
Read the full explanation
Open a point below for its explanation and revision guidance.
Use and demonstrate understanding of the terms parameter, statistic, unbiased and standard error.
A parameter is a fixed numerical characteristic of a population, such as the population mean μ or proportion p. A statistic is a numerical characteristic calculated from a sample, such as the sample mean x̄ or sample proportion p̂, used to estimate the parameter. An estimator is unbiased if its sampling distribution has mean equal to the true parameter value; for example, the sample mean is an unbiased estimator of μ because E(x̄) = μ. Standard error is the standard deviation of a statistic's sampling distribution; for the sample mean it is σ/√n, and for a sample proportion it is √(p(1−p)/n). Understanding these terms lets you distinguish population values from sample estimates and quantify the precision of an estimate.
Know and use the language of statistical hypothesis testing: null hypothesis, alternative hypothesis, significance level, test statistic, 1- tail test, 2-tail test, critical value, critical region, and acceptance region and p-value.
Hypothesis testing starts with a null hypothesis H₀, a statement of no effect or no difference, and an alternative hypothesis H₁, which contradicts H₀ and reflects the research claim. The significance level α is the probability of rejecting H₀ when it is true, often set at 0.05 or 0.01. A test statistic is calculated from sample data and compared with a critical value. A 1-tail test uses one critical region in one direction, while a 2-tail test splits α into two equal tails. The critical region is the set of test statistic values leading to rejection of H₀; the acceptance region is its complement. The p-value is the probability, assuming H₀ is true, of obtaining a test statistic at least as extreme as that observed. You use these terms to set up, conduct and interpret a test correctly.
Know that a sample is being used to make an inference about the population and appreciate the need for a random sample and of the necessary conditions.
In hypothesis testing you rarely measure every member of a population, so you take a sample and use its statistics to infer something about a population parameter such as a mean or proportion. The logic only works if the sample is representative: a random sample gives every member of the population a known, non-zero chance of selection, which limits selection bias and supports the probability model behind the test. You must also check the necessary conditions for the chosen test, for example that observations are independent, that the sample size is large enough for a normal approximation, or that the population standard deviation is known. If a condition fails, the stated significance level and p-value may be misleading.
Choose the appropriate hypothesis test to carry out in particular circumstances.
Selecting a test means matching the research question and the data to the assumptions of each procedure. First decide what is being tested: a population mean, a population proportion, a difference between means, or a relationship. Then check the data type and design: one sample or two, independent groups or paired observations, known or unknown population standard deviation, and whether a normal approximation is justified. For example, a single mean with unknown population standard deviation and a small sample points to a t-test, while a proportion with a large sample points to a normal (z) test. State the null and alternative hypotheses, confirm conditions, then carry out the chosen test.
Conduct a statistical hypothesis test for the proportion in the binomial distribution and interpret the results in context using exact probabilities or, where appropriate, a normal approximation.
This criterion requires carrying out a hypothesis test for a population proportion using the binomial distribution. Define the parameter p as the true proportion of successes, then state H₀ and H₁ in terms of p. Choose a significance level and decide if the test is one-tailed or two-tailed. Under H₀, the number of successes X in n trials follows B(n, p₀). Calculate the exact binomial probability of the observed or a more extreme result. If n is large and p₀ is close to 0.5, use a normal approximation with continuity correction. Compare the p-value with the significance level, or the observed value with the critical region, and write a conclusion in context. For example, test whether the proportion of defective items exceeds 0.10.
Conduct a statistical hypothesis test for the mean of a normal distribution with known or assumed variance, from a large sample, and interpret the results in context.
To test a claim about a normal population mean μ when the variance is known or assumed, and the sample is large, set up H₀ and H₁, choose a significance level α, and calculate the test statistic z = (x̄ − μ₀) / (σ / √n). Here x̄ is the sample mean, μ₀ the hypothesised mean, σ the known or assumed population standard deviation, and n the sample size. Compare z with the critical value from the standard normal distribution for the chosen tail, or find the p-value. For a one-tailed test at 5%, the critical value is about 1.645; for a two-tailed test at 5%, about ±1.96. Reject H₀ if the test statistic lies in the critical region or if the p-value is less than α. Then interpret the decision in the context of the original claim, stating what the evidence suggests about the population mean, and acknowledge any assumptions such as normality or known variance.
Know the importance of appropriate sampling when using hypothesis tests and be able to critique the conclusions drawn from rejecting or failing to reject a null hypothesis by considering the test performed.
A hypothesis test is only as trustworthy as the sample behind it. If the sample is biased, too small, or not representative of the population named in the hypotheses, then a small p-value may reflect sampling distortion rather than a genuine effect. Appropriate sampling means the data were collected by a method that gives every relevant member of the population a fair chance of selection, with a sample size large enough for the test's distributional assumptions to hold. When you critique a conclusion, ask what was tested: which population, which parameter, one-tailed or two-tailed, what significance level, and whether the test's conditions were met. Rejecting H₀ suggests the observed result is unlikely under H₀, not that the effect is large or important. Failing to reject H₀ does not prove H₀ true; it may simply mean the sample was too small or too variable to detect a real effect.
Your focus
- Distinguish between a parameter and a statistic in context.
- Explain what it means for an estimator to be unbiased.
- Calculate and interpret the standard error of a sample mean or proportion.
Show all 21 objectives
- Define and use the key terms of hypothesis testing correctly.
- Distinguish between 1-tail and 2-tail tests and identify critical and acceptance regions.
- Interpret a p-value in the context of a given significance level.
- Explain why a sample is used to make an inference about a population.
- Justify the need for a random sample in reducing selection bias.
- Identify and evaluate the necessary conditions for a hypothesis test in a given context.
- Identify the parameter and design features from a described investigation.
- Select a hypothesis test whose assumptions match the data and conditions.
- State suitable null and alternative hypotheses for the chosen test.
- Set up a hypothesis test for a population proportion using the binomial distribution.
- Calculate exact binomial probabilities or use a normal approximation with continuity correction.
- Interpret the outcome of the test in the context of the problem.
- Set up and conduct a z-test for a normal population mean with known or assumed variance from a large sample.
- Calculate the test statistic and compare it with the appropriate critical value or p-value.
- Interpret the outcome of the test in the context of the original claim, stating the assumptions made.
- Explain why an appropriate sampling method is necessary for a valid hypothesis test.
- Interpret the outcome of rejecting or failing to reject a null hypothesis in context.
- Critique a stated conclusion by referring to the sampling method, sample size and test performed.
Introduction to hypothesis testing exam tips
Marking Points
- Defines a parameter as a fixed numerical characteristic of a population, e.g. μ or p.
- Defines a statistic as a numerical characteristic calculated from a sample, e.g. x̄ or p̂.
- Explains that an estimator is unbiased if its expected value equals the true parameter value.
- States that standard error is the standard deviation of the sampling distribution of a statistic.
- Gives the standard error of the sample mean as σ/√n (or s/√n when σ is unknown).
- Gives the standard error of a sample proportion as √(p(1−p)/n) (or √(p̂(1−p̂)/n) when p is unknown).
- Defines null hypothesis as a statement of no effect or no difference, denoted H₀.
- Defines alternative hypothesis as the statement accepted when H₀ is rejected, denoted H₁.
- States that significance level is the probability of rejecting H₀ when it is true.
- Explains that a test statistic is calculated from sample data and compared with a critical value.
- Distinguishes 1-tail and 2-tail tests by the number and direction of critical regions.
- Defines critical value as the boundary of the critical region.
- Defines critical region as the set of values of the test statistic for which H₀ is rejected.
- Defines acceptance region as the set of values for which H₀ is not rejected.
- Defines p-value as the probability, under H₀, of a test statistic at least as extreme as observed.
- A sample is used because measuring the whole population is usually impractical, costly or destructive.
- Inference means using a sample statistic to draw a conclusion about the corresponding population parameter.
- A random sample gives every population member a known, non-zero chance of selection and reduces selection bias.
- Necessary conditions for a test must be checked, such as independence of observations and adequate sample size for any normal approximation.
- If the required conditions are not met, the test result and its significance level may not be valid.
- Identify the parameter being tested, such as a single mean, a single proportion, a difference of means or a difference of proportions.
- Distinguish one-sample from two-sample designs and independent from paired data.
- Use whether the population standard deviation is known and whether a normal approximation is valid to choose between z and t procedures.
- Check that the conditions for the chosen test are satisfied before carrying it out.
- State the null and alternative hypotheses consistently with the chosen test and the direction of the investigation.
- Defines the population proportion p clearly in the context of the problem.
- States both the null hypothesis H₀: p = p₀ and the alternative hypothesis H₁ (one- or two-tailed) correctly.
- Identifies the binomial distribution B(n, p₀) under the null hypothesis and uses the correct number of trials n.
- Calculates the exact binomial probability of the observed value or a more extreme value, or finds the critical region.
- Uses a normal approximation with continuity correction when n is large and p₀ is close to 0.5, and states the approximation conditions.
- Compares the p-value with the significance level or the test statistic with the critical value and makes a correct decision.
- Interprets the decision in the context of the original problem, referring to the population proportion.
- States appropriate null and alternative hypotheses for the population mean μ, matching the claim and the direction of the test.
- Selects a significance level and identifies the correct critical value or critical region from the standard normal distribution for the chosen tail.
- Calculates the test statistic correctly using z = (x̄ − μ₀) / (σ / √n), with σ known or assumed and n large.
- Compares the test statistic with the critical value or compares the p-value with the significance level, and makes a correct reject or do-not-reject decision.
- Interprets the decision in the context of the original claim, stating what the evidence suggests about the population mean and acknowledging assumptions such as normality or known variance.
- Appropriate sampling ensures the sample represents the population about which the hypotheses are stated, so conclusions generalise correctly.
- A biased or self-selected sample can produce a significant result that reflects the sampling method rather than a real population effect.
- Sample size affects power: a very small sample may fail to reject H₀ even when a real effect exists.
- Rejecting H₀ means the data are unlikely given H₀ at the chosen significance level; it does not measure the size or practical importance of an effect.
- Failing to reject H₀ is not proof that H₀ is true; it may indicate insufficient evidence, low power or a poorly chosen test.
- Critiquing a conclusion requires checking the population, parameter, tail, significance level and whether test assumptions were satisfied.
Exam tips
- 💡In multiple-choice questions, check whether the option refers to a population value or a sample value before selecting it.
- 💡When a formula is given, verify the denominator: standard error of the mean uses √n, not n.
- 💡For unbiasedness, look for the condition E(estimator) = parameter; if the expected value differs, the estimator is biased.
- 💡Read the wording of the question to decide whether a 1-tail or 2-tail test is required; look for phrases such as 'greater than', 'less than' or 'different from'.
- 💡When comparing a p-value with a significance level, reject H₀ if p ≤ α; otherwise do not reject H₀.
- 💡In multiple-choice questions, check each definition against the exact wording of the term, especially for p-value and significance level.
- 💡Read the scenario and identify the population parameter of interest before judging whether the sampling method is suitable.
- 💡Check each stated condition against the context rather than assuming it holds; say explicitly which condition is met or violated.
- 💡When a condition fails, explain the consequence for the inference instead of only naming the condition.
- 💡Underline the parameter, the number of samples and whether the data are paired before selecting a test.
- 💡Write the null and alternative hypotheses before calculating anything so the test direction is clear.
- 💡Justify the choice by naming the conditions you checked, not just the test name.
- 💡Always write down H₀ and H₁ in terms of p before calculating anything.
- 💡Show the binomial probability calculation clearly, including the distribution used and the values substituted.
- 💡When using a normal approximation, state the conditions (np₀ > 5 and n(1−p₀) > 5) and apply the continuity correction.
- 💡Write your final conclusion in the context of the question, mentioning the population proportion and the evidence.
- 💡Write H₀ and H₁ first, defining μ in the context of the problem, and state the significance level before calculating.
- 💡Show the substitution into the z formula clearly, including the standard error σ / √n, and give the test statistic to an appropriate accuracy.
- 💡Finish with a contextual conclusion that refers to the original claim and mentions any assumptions, rather than simply saying reject or do not reject H₀.
- 💡Identify the population and parameter first, then state whether the sampling method plausibly represents that population.
- 💡When asked to critique, comment on sample size, sampling method, significance level and whether assumptions of the test were met.
- 💡Distinguish clearly between 'reject H₀' and 'accept H₀'; use 'fail to reject' and explain what that does and does not show.
Common Mistakes
- Confusing parameter and statistic: a parameter describes the population and is usually unknown, while a statistic describes a sample and is calculated from data.
- Thinking any sample statistic is unbiased: unbiasedness requires the sampling distribution's mean to equal the parameter, which is not automatic.
- Mixing up standard deviation and standard error: standard deviation measures spread of individual observations, while standard error measures spread of a statistic's sampling distribution.
- Using n instead of √n in the standard error formula: the correct denominator for the sample mean is √n, not n.
- Writing H₀ as the research claim: H₀ is the default no-effect statement, while H₁ expresses the claim being tested.
- Confusing 1-tail and 2-tail tests: a 1-tail test places the whole significance level in one tail, whereas a 2-tail test splits it equally between two tails.
- Misinterpreting p-value as the probability that H₀ is true: it is the probability of the observed or more extreme data assuming H₀ is true.
- Mixing up critical region and acceptance region: the critical region leads to rejection of H₀, while the acceptance region leads to non-rejection.
- Thinking any large sample is automatically representative: a large but biased sample still gives misleading inference, so the method of selection matters as much as size.
- Believing a random sample guarantees the sample statistic equals the population parameter: randomness controls bias and supports probability statements, but sampling variability remains.
- Ignoring the conditions of the test and quoting a p-value regardless: if independence or the sample-size condition fails, the p-value may be unreliable.
- Choosing a two-sample test for paired data: when each observation in one group is matched to one in the other, analyse the differences with a paired test.
- Using a z-test for a mean when the population standard deviation is unknown and the sample is small: a t-test is appropriate in that situation.
- Applying a normal approximation to a proportion when the sample is too small: check that the expected numbers of successes and failures are large enough first.
- Using the sample proportion in the null hypothesis instead of the claimed population proportion p₀. Correction: H₀ always uses the hypothesised value p₀, not the observed sample proportion.
- Forgetting the continuity correction when using a normal approximation. Correction: when approximating a binomial with a normal distribution, adjust the boundary by 0.5 (e.g. P(X ≥ k) becomes P(Y ≥ k − 0.5)).
- Interpreting a non-significant result as proof that H₀ is true. Correction: a non-significant result only means there is insufficient evidence to reject H₀; it does not prove H₀.
- Calculating a two-tailed p-value for a one-tailed test or vice versa. Correction: match the p-value calculation to the direction of H₁.
- Using the sample standard deviation s in place of the known or assumed population standard deviation σ in the z formula. Correction: when variance is known or assumed, use σ; if you must estimate σ from a large sample, state that you are assuming s is a good estimate of σ.
- Choosing a one-tailed critical value for a two-tailed test, or vice versa. Correction: match the critical value to the direction of H₁ and the significance level.
- Writing the conclusion as a statement about the sample mean rather than the population mean. Correction: interpret the decision as evidence about the population mean μ in context.
- Forgetting to state the assumptions, such as normality of the population or that the sample is large enough for the normal approximation to be reasonable. Correction: include these assumptions when interpreting the result.
- Treating 'fail to reject H₀' as proof that H₀ is true. Correction: it means the evidence was insufficient to reject H₀, which is not the same as confirming it.
- Assuming a statistically significant result must be practically important. Correction: significance depends on sample size and variability; a tiny effect can be significant in a large sample.
- Ignoring how the sample was obtained and judging only the p-value. Correction: a biased sample undermines the test, so the sampling method must be evaluated alongside the numerical result.
- Believing a larger p-value means the null hypothesis is more likely to be true. Correction: the p-value is the probability of the observed result, or something more extreme, given H₀, not the probability that H₀ is true.