Menu
Sign up Sign in

AI HL · 13.4

Hypothesis Testing

13.4.16

Testing a Poisson mean

13.4.16

Testing a Poisson mean

Target: I can write hypotheses about the mean rate λ of a Poisson distribution, scaling λ to the length of the period observed. (+3 more)

By the end of this section

Key points

Setting up the test

  • A Poisson test counts events in a fixed period and tests whether the average rate has changed. H0: λ = λ0, and under H0, X ~ Po(λ0).
  • Scale λ to the period you observed. 4.5 per month becomes 13.5 for 3 months. Say what λ means in the hypotheses.
  • H1 has one tail: λ < λ0 for 'decreased', λ > λ0 for 'increased'.
  • Poisson needs events that occur independently, singly and at a constant average rate. A proportion of n trials is binomial, not Poisson.

The p-value method

  • Lower tail: p-value = P(X ≤ x). Upper tail: p-value = P(X ≥ x) = 1 − P(X ≤ x − 1).
  • Reject H0 if the p-value is less than the significance level. Write the conclusion in context.

The critical region method

  • Lower region: X ≤ c, the largest c with P(X ≤ c) ≤ α. Upper region: X ≥ c, the smallest c with P(X ≥ c) ≤ α.
  • Always test the adjacent value as well. The probabilities jump, so the region's probability is at most α, not exactly α.
  • Reject H0 if the observed value is in the critical region. This gives the same decision as the p-value.
  • The binomial test is carried out in the same way. Only the distribution under H0 changes.

On the calculator

Poisson cumulative probability

  • Choose the Poisson cumulative distribution. Enter the mean λ for the period and the value k to get P(X ≤ k).
  • For P(X ≥ x), find P(X ≤ x − 1) and take it away from 1.

Screenshot and video to come

Table of cumulative probabilities for a critical region

  • Make a column of k values and a column with the cumulative probability for each k, filled down.
  • Read down to where the values cross the significance level, then test the adjacent values.

Screenshot and video to come

Worked examples

Problems like the ones in class. Pick one, try it, then open the working.
A lower-tail Poisson test, scaling the rate

A building has averaged 4.5 false fire alarms per month. After new detectors are fitted, there are 7 false alarms in the next 3 months. The manager thinks the average rate of false alarms has decreased. Test her belief at the 5% significance level.

Working
  1. Scale the rate

    4.5 per month × 3 months = 13.5 per 3 months

    The test counts events in a fixed period. Scale λ to the length of the period you observed.

  2. Hypotheses

    Let X be the number of false alarms in 3 months. H0: λ = 13.5, H1: λ < 13.5, where λ is the mean number of false alarms per 3 months.

    The manager thinks the rate has decreased: lower tail. Under H0, X ~ Po(13.5).

  3. p-value

    P(X ≤ 7) = 0.0415

    From the calculator, Poisson cumulative probability with mean 13.5 and upper limit 7.

  4. Compare

    0.0415 < 0.05, so reject H0.

    Compare p with 0.05.

  5. In context

    There is sufficient evidence, at the 5% significance level, that the mean rate of false alarms has decreased.

    Say what it means for the building.

Video walkthrough coming
An upper-tail Poisson test

A shop usually has 6 customers per hour at lunchtime. After a nearby office opens, the owner thinks the average rate has increased. In one randomly chosen lunch hour, 10 customers arrive. Test her belief at the 5% significance level.

Working
  1. Hypotheses

    Let X be the number of customers in one hour. H0: λ = 6, H1: λ > 6, where λ is the mean number of customers per hour.

    The period observed is one hour, the same as the rate, so no scaling is needed. Under H0, X ~ Po(6).

  2. p-value

    P(X ≥ 10) = 1 − P(X ≤ 9) = 0.0839

    From the calculator, Poisson cumulative probability with mean 6 and upper limit 9. Take it from 1.

  3. Compare

    0.0839 > 0.05, so do not reject H0.

    10 customers is above the average of 6, but not unusual enough.

  4. In context

    There is insufficient evidence, at the 5% significance level, that the mean rate of customers has increased.

    Insufficient evidence does not show the rate is unchanged.

Video walkthrough coming
A lower critical region

A beach has averaged 9.4 rescues per week. After new warning signs are put up, the lifeguards think the average rate has decreased. They will count the rescues in the next week. Find the critical region at the 5% significance level.

Working
  1. Hypotheses

    Let X be the number of rescues in one week. H0: λ = 9.4, H1: λ < 9.4

    Under H0, X ~ Po(9.4). The critical region is in the lower tail.

  2. Cumulative table

    From the calculator, a table of P(X ≤ k): P(X ≤ 3) = 0.0160, P(X ≤ 4) = 0.0429, P(X ≤ 5) = 0.0935

    Find where the cumulative probability crosses 0.05.

  3. Test adjacent values

    P(X ≤ 5) = 0.0935 > 0.05; P(X ≤ 4) = 0.0429 < 0.05

    The largest c with P(X ≤ c) at most 0.05.

  4. Critical region

    Critical region: X ≤ 4

    4 or fewer rescues gives sufficient evidence that the rate has decreased.

Video walkthrough coming
An upper critical region

A town has averaged 3.6 power cuts per winter month. An engineer thinks the average rate has increased after a storm. He will count the power cuts in the next month. Find the critical region at the 1% significance level.

Working
  1. Hypotheses

    Let X be the number of power cuts in one month. H0: λ = 3.6, H1: λ > 3.6

    Under H0, X ~ Po(3.6). The critical region is in the upper tail.

  2. Upper tail

    P(X ≥ c) = 1 − P(X ≤ c − 1). P(X ≤ 8) = 0.988, P(X ≤ 9) = 0.996

    From the calculator, cumulative table. Look for where 1 − P(X ≤ c − 1) drops below 0.01.

  3. Test adjacent values

    P(X ≥ 9) = 0.0117 > 0.01; P(X ≥ 10) = 0.00402 < 0.01

    The smallest c with P(X ≥ c) at most 0.01.

  4. Critical region

    Critical region: X ≥ 10

    10 or more power cuts gives sufficient evidence that the rate has increased.

Video walkthrough coming
An upper critical region for a binomial test

A supplier says that 15% of its light bulbs are faulty. A customer thinks the proportion is higher. He tests a random sample of 60 bulbs. Write down hypotheses and find the critical region at the 5% significance level.

Working
  1. Hypotheses

    Let X be the number of faulty bulbs out of 60. H0: p = 0.15, H1: p > 0.15

    Under H0, X ~ B(60, 0.15). The mean is 9. A proportion uses the binomial, an average rate uses the Poisson.

  2. Table

    From the calculator: P(X ≤ 13) = 0.942, P(X ≤ 14) = 0.971

    Cumulative binomial probabilities near the 5% mark.

  3. Test adjacent values

    P(X ≥ 14) = 0.0578 > 0.05; P(X ≥ 15) = 0.0291 < 0.05

    The smallest c with P(X ≥ c) at most 0.05.

  4. Critical region

    Critical region: X ≥ 15

    The method is the same as for the Poisson distribution: only the distribution changes.

Video walkthrough coming