A2
    CAIE | A Level

    Mathematics (9709)

    S2 - Hypothesis Tests

    The Procedure for Hypothesis Testing

    1. The Procedure for Hypothesis Testing

    Alright, let's break down hypothesis testing. Think of it as being a detective for data. You have a claim (like a game dev saying a patch doesn't increase lag), and you want to see if there's enough evidence to call them out.

    First up, we have our two competing theories, the hypotheses:

    1. The Null Hypothesis (H0H_0): This is the boring, 'status quo' or 'no change' idea. It's the default assumption. For the game patch, H0H_0 would be: The lag has not changed. It's what we assume is true until proven otherwise.

    2. The Alternative Hypothesis (H1H_1): This is the spicy new theory you're investigating. It's what you suspect might be true instead. It could be that the lag has increased (a one-tailed test), or that it has simply changed (increased or decreased, a two-tailed test).

    Next, we set the Significance Level (α\alpha). This is basically your 'doubt threshold'. It's usually small, like 5% (0.05) or 1% (0.01). If you set α=0.05\alpha = 0.05, you're saying: 'I'm only going to reject the null hypothesis if the result I see is so weird it would only happen by chance less than 5% of the time.' It’s the risk you're willing to take of making the wrong call.

    Now, we collect our data (play some games) and calculate the Test Statistic. This is a single number that summarizes our sample evidence. It's the key piece of data we'll use to make our decision.

    So, how do we decide? We use the significance level to find the Critical Region (or Rejection Region). This is the 'danger zone' of extreme values. If our test statistic falls into this region, it's considered strong evidence against H0H_0.
    A bell curve diagram showing the tails shaded in. For a one-tailed test, one tail is shaded. For a two-tailed test, both tails are shaded. The shaded area is labelled 'Critical Region' and its size is labelled 'Significance Level, '.
    If your test statistic lands in the shaded area, you've got drama! You reject H0H_0. If it lands in the main, unshaded part, you don't have enough evidence, so you do not reject H0H_0. Notice we never say 'accept' H0H_0 – we just say we lack the evidence to throw it out. It’s like a jury saying 'not guilty' instead of 'innocent'.
    Worked example

    Worked Example: Hypothesis Test for a Binomial Proportion

    Is This TikTok Ad *Really* Working? 🧐

    A marketing agency claims that a new TikTok ad format will have a click-through rate of 25%. The client thinks this is an overestimate. To test the claim, the ad is shown to 40 randomly selected users, and only 5 of them click on it. Test the agency's claim at the 5% significance level.

    Practice this in the app

    Unlock the full chapter: practice questions, flashcards, mock papers and notes, free.

    Continue revising