Geometric Hypothesis Testing (Edexcel A Level Further Maths: Further Statistics 1): Revision Note

Exam code: 9FM0

Mark Curtis

Written by: Mark Curtis

Reviewed by: Dan Finlay

Updated on

Geometric hypothesis testing

How do I test for the parameter p of a Geometric distribution?

  • If X~Geo(p), test for the probability of successp, using the following hypotheses

    • H0: p=...

    • H1: p... or p<...or p>...

    • with significance level α

      • For example, α=0.05 for 5%

  • You will be given an observed value, x, in the question

    • This is the number of trials it takes to see the first success

      • For example, "They thought the coin was fair (p=12), but last week it took 5 flips to get the first tail (x=5)"

    • It can help to compare x with the expected number of trials to see the first success, E(X)=1p

      • For example, "they expected a fair coin (p=12) to take 1p=2 attempts to see the first tail"

  • Assuming H0: p=...

    • Find the probability that X is the observed value x, or more extreme than that

    • For H1: p<... the extreme values are Xx

      • Note the "change in inequality direction"

      • A lower probability of success means a higher number of attempts to first reach that success

    • For H1: p>... the extreme values are Xx

      • A higher probability of success means a lower number of attempts to first reach that success

    • For H0: p... compare x with E(X)=1p

      • If x is less than 1p, then extreme values are Xx

      • If x is more than 1p, then the extreme values are Xx

    • If the total probability of these values is <α (or <α2 for two-tailed tests)

      • Write that "there is sufficient evidence to reject H0"

    • If not, write that "there is insufficient evidence to reject H0

  • Write a conclusion in context

    • For example

      • "the probability of success is less than 12"

      • or "the probability of success has not changed from 12"

How do I find the critical region for a Geometric hypothesis test?

  • If H1: p<... 

    • Assume that H0: p=...

    • Then test different integer values, c, to get P(Xc) as close to αas possible, without exceeding it

      • Use the formula P(Xc)=(1p)c1 to help

      • The integer that's the nearest is called the critical value

      • Checking one integer lower should show that P(Xc1) is >α

    • The critical region is Xc

      • Note that the inequality is the opposite way round to p<...

    • Instead of testing integers, you can also use logarithms to solve the critical region inequalities

      • Beware when dividing both sides by log(p)

      • log(p)<0 so the inequality must be "flipped"

  • If H1: p>...

    • It's the same process, but with P(Xc) as close to α as possible, without exceeding it

      • Use the formula P(Xc)=1(1p)c to help

    • The critical region is Xc

  • If H1: p...

    • The critical region is Xc1 or Xc2

      • P(Xc1) is as close to α2 as possible, without exceeding it

      • P(Xc2) is as close to α2 as possible, without exceeding it

  • Your calculator may have an 'Inverse Geometric Distribution' function that can help with finding critical values

    • But always check those values against the requirements of the question

    • The calculator may not always give the exact answer you are looking for

What is the actual significance level?

  • As the geometric model is discrete, it's not possible to get a critical region whose probability sums to α exactly

    • That's because X can only take integer values

  • Whatever it does sum to is called the actual significance level

    • The actual amount of probability in the tail (or tails)

  • For example, if H1: p<... has the critical region Xc

    • Then P(Xc) will be just less than α

      • It's value is the actual significance level

      • It represents the probability of rejecting H0 incorrectly (when H0 was actually true)

  • Some questions want a critical region that's as close to α as possible, even if that means probabilities that exceed α

    • For example, if P(X12)=0.0511 and P(X13)=0.0299 where α=0.05

      • Then X12 is the critical region that's as close to α as possible

      • The actual significance level is 0.0511

Examiner Tips and Tricks

  • Remember that, for geometric hypothesis testing, the inequalities for p (in H1) are the opposite way round to those used for the critical regions

Worked Example

Palamedes constructs a large spinner with the numbers 1 to 40 marked on it.  He claims that it is fair, and in particular that the probability of the spinner landing on a '1' is exactly 140.  Odysseus is suspicious about this claim.  They decide to conduct a two-tailed hypothesis test to test Palamedes' claim, by having Odysseus spin the spinner and counting how many spins it takes until the spinner lands on a '1' for the first time.

a) Write down the null and alternative hypotheses for the test

.

geometric-hypothesis-testing-1

b) Using a 10% level of significance, find the critical regions for this test, where the probability of rejecting either tail should be as close as possible to 5%.

geometric-hypothesis-testing-1-part-2
geometric-hypothesis-testing-2

c) Find the actual significance level of the test.

geometric-hypothesis-testing-3

The spinner lands on a '1' the very first time that Odysseus spins it.

d) Based on this result state, with reason, whether there is sufficient evidence to reject the null hypothesis.

geometric-hypothesis-testing-4

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Mark Curtis

Author: Mark Curtis

Expertise: Maths Content Creator

Mark graduated twice from the University of Oxford: once in 2009 with a First in Mathematics, then again in 2013 with a PhD (DPhil) in Mathematics. He has had nine successful years as a secondary school teacher, specialising in A-Level Further Maths and running extension classes for Oxbridge Maths applicants. Alongside his teaching, he has written five internal textbooks, introduced new spiralling school curriculums and trained other Maths teachers through outreach programmes.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.