课 Progress
0% Complete

Geometric hypothesis testing

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

  • If X tilde Geo open parentheses p close parentheses, test for the probability of successp, using the following hypotheses

    • straight H subscript 0 colon space p equals...

    • straight H subscript 1 colon space p not equal to... or p less than...or p greater than...

    • with significance level alpha

      • For example, alpha equals 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 equals 1 half), but last week it took 5 flips to get the first tail (x equals 5)”

    • It can help to compare x with the expected number of trials to see the first success, straight E open parentheses X close parentheses equals 1 over p

      • For example, “they expected a fair coin (p equals 1 half) to take 1 over p equals 2 attempts to see the first tail”

  • Assuming straight H subscript 0 colon space p equals...

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

    • For straight H subscript 1 colon space p less than... the extreme values are X greater or equal than x

      • Note the “change in inequality direction”

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

    • For straight H subscript 1 colon space p greater than... the extreme values are X less or equal than x

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

    • For straight H subscript 0 colon space p not equal to... compare x with straight E open parentheses X close parentheses equals 1 over p

      • If x is less than 1 over p, then extreme values are X less or equal than x

      • If x is more than 1 over p, then the extreme values are X greater or equal than x

    • If the total probability of these values is less than alpha (or less than alpha over 2 for two-tailed tests)

      • Write that “there is sufficient evidence to reject straight H subscript 0

    • If not, write that “there is insufficient evidence to reject straight H subscript 0” 

  • Write a conclusion in context

    • For example

      • “the probability of success is less than 1 half

      • or “the probability of success has not changed from 1 half

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

  • If straight H subscript 1 colon space p less than... 

    • Assume that straight H subscript 0 colon space p equals...

    • Then test different integer values, c, to get straight P open parentheses X greater or equal than c close parentheses as close to alphaas possible, without exceeding it

      • Use the formula straight P open parentheses X greater or equal than c close parentheses equals open parentheses 1 minus p close parentheses to the power of c minus 1 end exponent to help

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

      • Checking one integer lower should show that straight P open parentheses X less or equal than c minus 1 close parentheses is greater than alpha

    • The critical region is X greater or equal than c

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

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

      • Beware when dividing both sides by log open parentheses p close parentheses

      • log open parentheses p close parentheses less than 0 so the inequality must be “flipped

  • If straight H subscript 1 colon space p greater than...

    • It’s the same process, but with straight P open parentheses X less or equal than c close parentheses as close to alpha as possible, without exceeding it

      • Use the formula straight P open parentheses X less or equal than c close parentheses equals 1 minus open parentheses 1 minus p close parentheses to the power of c to help

    • The critical region is X less or equal than c

  • If straight H subscript 1 colon space p not equal to...

    • The critical region is X less or equal than c subscript 1 or X greater or equal than c subscript 2

      • straight P open parentheses X less or equal than c subscript 1 close parentheses is as close to alpha over 2 as possible, without exceeding it

      • straight P open parentheses X greater or equal than c subscript 2 close parentheses is as close to alpha over 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 alpha 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 straight H subscript 1 colon space p less than... has the critical region X greater or equal than c

    • Then straight P open parentheses X greater or equal than c close parentheses will be just less than alpha

      • It’s value is the actual significance level

      • It represents the probability of rejecting straight H subscript 0 incorrectly (when straight H subscript 0 was actually true)

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

    • For example, if straight P open parentheses X greater or equal than 12 close parentheses equals 0.0511 and straight P open parentheses X greater or equal than 13 close parentheses equals 0.0299 where alpha equals 0.05

      • Then X greater or equal than 12 is the critical region that’s as close to alpha as possible

      • The actual significance level is 0.0511

Examiner Tips and Tricks

  • Remember that, for geometric hypothesis testing, the inequalities for p (in straight H subscript 1) 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 1 over 40.  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

Responses

您的邮箱地址不会被公开。 必填项已用 * 标注