Hypothesis Tests for the Parameter of a Geometric Distribution | Edexcel A Level Further Maths notes

Free preview: Hypothesis Tests for the Parameter of a Geometric Distribution

Testing p from a Waiting Time

Edexcel only (Further Statistics 1), taught with the geometric distribution: check your own specification for whether it is AS or A level content.

Let's start with a die that is claimed to be fair. You roll it until you get a six, and it takes 20 rolls. Annoying, but is it evidence of anything? Could the die be biased against sixes, or was it just bad luck? A hypothesis test gives a fair way to decide.

  • The parameter is p, the probability of a six on each roll.
  • The test statistic X is the number of rolls up to and including the first six. Under H0, X~Geo(p0), where p0 is the claimed value.
  • The five steps are the same as for a Poisson or binomial test: hypotheses, distribution, p-value, compare, conclude in context.

Here's the twist: the tails are the other way round

  • If p is smaller than claimed, successes are rarer, so you wait longer: large X is evidence for p<p0.
  • If p is bigger, you succeed sooner: small X is evidence for p>p0.

Diagram: Blue is p = 16. Pink is a made-up smaller p, 115, just for comparison.

What the picture shows

  • Blue is p=16. Pink is a made-up smaller p, 115, just for comparison.
  • A smaller p spreads the bars to the right, so long waits become more likely.
  • If p=16, a wait of 20 or more has probability (56)19=0.031. So a long wait is evidence that p is smaller.
H1Evidence comes fromp-value
p<p0large X (long wait)P(X⩾x)=(1−p0)x−1
p>p0small X (quick success)P(X⩽x)=1−(1−p0)x

💡 In plain words

  • P(X⩾x) means the first x−1 trials all fail: power x−1.
  • P(X⩽x) is 1 minus "the first x all fail": power x.

👀 Watch me do it: the die took 20 rolls to give a six. Test at 5% whether sixes are less likely than 1/6

What I writeWhy I do it
H0:p=16, H1:p<16p is the probability of a six on one roll.
Under H0, X~Geo(16)X = rolls up to and including the first six.
P(X⩾20)=(56)19=0.0313Smaller p means long waits, so the extreme side is 20 or more: 19 failures first.
0.0313<0.05Significant: reject H0.
There is evidence at the 5% level that the probability of a six is less than 16.In context.

✏️ YOUR TURN 1

Try this first:

A spinner is claimed to land on red with probability 0.15. It takes 20 spins to get the first red. Test at the 5% level whether the probability of red is less than 0.15.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in Hypothesis Tests for Discrete Parameters and Type I/II Errors

  1. Hypothesis Tests for the Mean of a Poisson Distribution
  2. Hypothesis Tests for the Parameter of a Geometric Distribution
  3. Type I and Type II Errors, Size and the Power Function of a Test

What's inside for this topic

3 teacher notes, 87 practice questions, 49 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Previous note: Hypothesis Tests for the Mean of a Poisson Distribution Next note: Type I and Type II Errors, Size and the Power Function of a Test

All Edexcel A Level Further Maths topics · A Level Further Maths