Skip to content
Feb 24

UK A-Level: Hypothesis Testing

MT
Mindli Team

AI-Generated Content

UK A-Level: Hypothesis Testing

Hypothesis testing is the formal statistical process for making decisions using data, moving beyond intuition to quantified evidence. Whether in scientific research, quality control, or social studies, it provides a structured framework to determine if an observed effect is genuine or merely due to random chance. Mastering this topic is crucial for the Statistics components of your A-Level, as it forms the backbone of inferential statistics and data-driven conclusions.

Foundations: Stating Hypotheses and Setting Significance

Every hypothesis test begins with a clear statement of two competing claims. The null hypothesis, denoted , is a statement of "no effect," "no change," or the status quo you aim to test against. For example, if testing whether a coin is biased, would be , where is the probability of landing on heads. The alternative hypothesis, denoted , is what you suspect might be true instead. It could be one-sided (e.g., , suggesting the coin is biased towards heads) or two-sided (e.g., , suggesting the coin is biased, but direction unknown).

Before collecting data, you must set a significance level, denoted by . This is the threshold probability you are willing to accept for rejecting when it is actually true (a Type I error). In A-Level, this is typically 5% (), though 1% and 10% are also used. Choosing a 5% level means you accept a 5% risk of concluding there is an effect when there isn't one.

The choice between a one-tailed test and a two-tailed test depends on your . A one-tailed test (e.g., ) looks for evidence of an effect in only one direction. A two-tailed test (e.g., ) looks for evidence in either direction. This choice directly impacts the critical region, which is the set of all test statistic values that would lead you to reject .

The Mechanics: Critical Regions and P-Values

There are two equivalent approaches to making a decision in a hypothesis test: the critical value method and the p-value approach.

The critical value method involves pre-determining the critical region based on your significance level and the distribution of your test statistic (e.g., Binomial or Normal). If your observed test statistic falls within this extreme region, you reject . For a two-tailed test at the 5% level, the critical region is split, with 2.5% in each tail. The boundaries of this region are the critical values.

The p-value approach is often more informative. The p-value is the probability of obtaining a test statistic at least as extreme as the one you observed, assuming is true. You then compare this p-value directly to your significance level . If , you reject . A small p-value indicates that your observed data is unlikely under the null hypothesis, providing evidence against it.

For example, if testing against and you get a p-value of 0.03 with , you would reject . The p-value of 0.03 means there's only a 3% chance of seeing your result (or something more extreme) if the coin were actually fair.

Applying the Framework: Binomial Hypothesis Tests

Binomial hypothesis tests are used when you have a single variable with two outcomes (success/failure) from a fixed number of independent trials, and you are testing the population proportion (probability of success), .

The test statistic, , is simply the observed number of successes, which follows a distribution under . Your job is to see if this observed count is too extreme.

Worked Example: A company claims 80% of its light bulbs last over 1000 hours. A consumer group tests 20 bulbs and finds 14 last that long. Test the company's claim at the 5% significance level.

  1. Define: Let be the true proportion lasting over 1000h.
  2. Hypotheses: , (one-tailed, as we're checking if the claim is exaggerated).
  3. Assume under , where is the number lasting over 1000h.
  4. Observed: .
  5. p-value = under . Using tables or calculator: .
  6. Since , the result is not significant.
  7. Conclusion: There is insufficient evidence at the 5% level to reject . The sample does not disprove the company's claim.

Applying the Framework: Normal Distribution Hypothesis Tests

Normal distribution hypothesis tests are used when testing a population mean, , and you either know the population variance or are using a large sample (so the sample mean's distribution is approximately normal by the Central Limit Theorem).

Here, your test statistic is a z-score: which follows a standard normal distribution, , if is true. You compare this calculated value to critical values from the tables.

Worked Example: A machine fills bags to a nominal mean of 500g. The known standard deviation is 4g. A random sample of 10 bags has a mean mass of 498g. Test at the 5% level if the machine is underfilling.

  1. Define: Let be the true population mean mass.
  2. Hypotheses: , (one-tailed).
  3. Under , sample mean distribution is . The test statistic is:

  1. The critical value for a one-tailed 5% test is .
  2. Since , the test statistic is not in the critical region.
  3. Alternatively, p-value = .
  4. Conclusion: Insufficient evidence to reject at the 5% level. The machine is not shown to be underfilling.

Common Pitfalls

  1. Confusing and : A common mistake is to set as the claim you want to "prove." In fact, you test against . Your initial assumption is always that is true; you only reject it if the evidence is strong enough. The claim you are investigating is often , but you cannot prove it—you can only find evidence in its support.
  1. Misinterpreting "Accept ": When your test is not significant, the correct phrasing is "There is insufficient evidence to reject " or "We do not reject ." You never "accept " as definitively true. A non-significant result might simply mean your sample size was too small to detect an effect that actually exists.
  1. Incorrect Tail Selection: Using a one-tailed test when a two-tailed is appropriate inflates your chance of a false positive. If the question or context does not specify a direction of interest (e.g., "test if the mean has changed"), you must use a two-tailed test. Reserve one-tailed tests for when you are only interested in a deviation in one specific direction (e.g., "test if the mean has increased").
  1. Mixing up Binomial and Significance Level : In Binomial tests, is the population proportion you are testing (e.g., ). The significance level (e.g., 0.05) is the probability threshold for rejection. They are completely different concepts. Ensure your final comparison is between a p-value and , not between a sample proportion and .

Summary

  • Hypothesis testing is a formal, four-step process: state hypotheses ( and ), select a significance level (), calculate a test statistic and corresponding p-value, and make a contextual conclusion.
  • The p-value measures the strength of evidence against . If , reject in favour of .
  • For Binomial tests, the test statistic is the count of successes, and probabilities are found using the distribution under .
  • For Normal tests concerning a mean, the test statistic is a z-score, calculated using the sample mean, hypothesised mean, and standard error, then compared to the standard normal distribution.
  • Your conclusion must be in the context of the original problem and must correctly reflect the statistical decision—never "prove" or definitively "accept" a hypothesis.

Write better notes with AI

Mindli helps you capture, organize, and master any subject with AI-powered summaries and flashcards.