Skip to main content
Examonaut

Topic 4 · Lesson 1 of 3

The method and Poisson tests

The structure of every test

  1. Hypotheses. H0H_0 gives the parameter its assumed value; H1H_1 says how it may have changed. "Increased" and "decreased" give one-tailed tests (H1:λ>3H_1: \lambda > 3 or λ<3\lambda < 3); "changed" gives a two-tailed test (H1:λ≠3H_1: \lambda \neq 3).
  2. Distribution under H0H_0. Assume H0H_0 is true and write down the distribution of the test statistic, for example X∼Po(3)X \sim \text{Po}(3).
  3. Probability or critical region. Either find the probability of a result at least as extreme as the one observed (the pp-value), or find the critical region: the values that would lead you to reject H0H_0.
  4. Compare with the significance level α\alpha (for a two-tailed test, compare each tail with α2\frac{\alpha}{2}).
  5. Conclusion in context, not claiming certainty: "There is evidence that the rate of complaints has increased", or "There is insufficient evidence that ...".

Never write "H0H_0 is true" or "this proves". A test only measures whether the data are surprising if H0H_0 holds.

Testing a Poisson mean

A garage has had breakdown call-outs at random at an average rate of 4 per week. In a week of icy weather there are 9 call-outs. Test at the 5% level whether the rate has increased.

  • H0:λ=4H_0: \lambda = 4, H1:λ>4H_1: \lambda > 4.
  • Under H0H_0, X∼Po(4)X \sim \text{Po}(4).
  • Large values support H1H_1, so find P(X⩾9)=1−P(X⩽8)=0.0214\text{P}(X \geqslant 9) = 1 - \text{P}(X \leqslant 8) = 0.0214.
  • 0.0214<0.050.0214 < 0.05, so the result is significant: reject H0H_0.
  • There is evidence that the rate of call-outs has increased.

The probability is of X⩾9X \geqslant 9, not X=9X = 9: the pp-value includes every result at least as extreme as the one observed.

Different intervals

If the rate is given per hour but the data cover 4 hours, scale the mean: under H0:λ=1.5H_0: \lambda = 1.5 per hour, the number in 4 hours is Po(6)\text{Po}(6). Write the hypotheses either in terms of the original rate (λ=1.5\lambda = 1.5 per hour) or the scaled one (λ=6\lambda = 6 in 4 hours), but say which.

The additive property also lets you combine several observations. If five 1 m2^2 quadrats are sampled from a field with Po(0.8)\text{Po}(0.8) weeds of a species per m2^2, the total is Po(4)\text{Po}(4) under H0H_0. Using a total is better than a single sample: more data give a test more likely to detect a real change.

Critical regions

The critical region is the set of values for which you would reject H0H_0. Its probability under H0H_0 must not exceed the significance level. Because the distribution is discrete, you usually cannot hit the significance level exactly; the probability of the critical region is the actual significance level (the size of the test).

Worked example

A lower-tail critical region

Find the critical region for a test of H0:λ=10H_0: \lambda = 10 against H1:λ<10H_1: \lambda < 10 at the 5% level.

Show solution
  • Under H0H_0, X∼Po(10)X \sim \text{Po}(10), and small values support H1H_1.
  • P(X⩽4)=0.0293\text{P}(X \leqslant 4) = 0.0293 and P(X⩽5)=0.0671\text{P}(X \leqslant 5) = 0.0671.
  • So the critical region is X⩽4X \leqslant 4, with actual significance level 0.0293.

An observed value of 6 is not in the critical region, so there would be no evidence of a decrease. But if the next period gave 5, the total of 11 for two periods could be tested against Po(20)\text{Po}(20): P(Y⩽11)=0.0214<0.05\text{P}(Y \leqslant 11) = 0.0214 < 0.05, which is significant. Combining data can reveal a change that one observation cannot.

Two-tailed tests

For H0:λ=6H_0: \lambda = 6 against H1:λ≠6H_1: \lambda \neq 6 at the 5% level, put at most 2.5% in each tail.

  • Lower tail: P(X⩽1)=0.0174\text{P}(X \leqslant 1) = 0.0174, P(X⩽2)=0.0620\text{P}(X \leqslant 2) = 0.0620, so X⩽1X \leqslant 1.
  • Upper tail: P(X⩾11)=0.0426\text{P}(X \geqslant 11) = 0.0426, P(X⩾12)=0.0201\text{P}(X \geqslant 12) = 0.0201, so X⩾12X \geqslant 12.
  • Critical region: X⩽1X \leqslant 1 or X⩾12X \geqslant 12; actual significance level 0.0174+0.0201=0.03750.0174 + 0.0201 = 0.0375.

Some questions ask instead for each tail to be "as close as possible to" 2.5%. Read the wording, and follow it.

Using a Poisson approximation

A test of a binomial proportion with nn large and pp small can use the Poisson approximation. If a firm claims 1% of its fuses are faulty and 9 of a sample of 400 are faulty, under H0:p=0.01H_0: p = 0.01 the number faulty is approximately Po(4)\text{Po}(4), and P(X⩾9)=0.0214\text{P}(X \geqslant 9) = 0.0214: significant at the 5% level.

Practise this topic

Both are part of Premium.