FS1-4 Hypothesis testing — coverage pack

2 specification leaves · notes, questions, answers and worked methods

FS1-4.1 · Extend ideas of hypothesis tests to test for the mean of a Poisson distribution.

  • For a Poisson-mean test, state H0H_0 and H1H_1 in terms of the population parameter λ\lambda or μ\mu, not the observed count.
  • Under H0H_0, combine independent observation periods into one Poisson total and use the direction of H1H_1 to choose the tail.
  • A critical region is the most extreme attainable tail whose probability under H0H_0 does not exceed the significance level; its probability is the actual size.
  • A common error is to say that H0H_0 is proved when it is not rejected; the conclusion should state that there is insufficient evidence for H1H_1.

Tier 1 · Easy

  1. 1. A manager claims that the mean number of alerts per shift is 4.24.2. State hypotheses to test whether the mean has increased, defining your parameter.[2 marks]

    Answer

    • Let λ\lambda be the population mean number of alerts per shift
    • H0:λ=4.2H_0:\lambda=4.2; H1:λ>4.2H_1:\lambda>4.2

    Method: The claim supplies the null value. The word 'increased' makes the alternative upper-tailed, so use H1:λ>4.2H_1:\lambda>4.2.

Tier 2 · Standard

  1. 1. Under H0H_0, defects occur at a mean rate of 2.52.5 per hour. Eight independent hours give a total of 2828 defects. Test at a 5%5\% significance level whether the mean rate has increased. State the critical region and its actual size.[7 marks]

    Answer

    • H0:λ=2.5H_0:\lambda=2.5; H1:λ>2.5H_1:\lambda>2.5
    • Critical region X29X\geq29
    • Size =0.03433=0.03433
    • Do not reject H0H_0; there is insufficient evidence that the mean rate has increased

    Method: Under H0H_0, the eight-hour total XPo(20)X\sim\operatorname{Po}(20). Calculator tails give P(X29)=0.03433350.05P(X\geq29)=0.0343335\ldots\leq0.05, while P(X28)=0.0524807>0.05P(X\geq28)=0.0524807\ldots>0.05. Thus the critical region is X29X\geq29 and its size is 0.034330.03433. Since 2828 is not in the critical region, do not reject H0H_0.

Tier 3 · Hard

  1. 1. A Poisson model has mean 1.81.8 events per batch. Twelve independent batches produce 1414 events in total. Test at a 5%5\% significance level whether the mean per batch has decreased. Give the critical region, its size and the pp-value.[8 marks]

    Answer

    • H0:λ=1.8H_0:\lambda=1.8; H1:λ<1.8H_1:\lambda<1.8
    • Critical region X13X\leq13
    • Size =0.03329=0.03329
    • pp-value =0.05626=0.05626
    • Do not reject H0H_0; there is insufficient evidence of a decrease

    Method: Under H0H_0, the total XPo(12×1.8)=Po(21.6)X\sim\operatorname{Po}(12\times1.8)=\operatorname{Po}(21.6). The lower-tail probabilities are P(X13)=0.0332864P(X\leq13)=0.0332864\ldots and P(X14)=0.0562576P(X\leq14)=0.0562576\ldots, so the 5%5\% critical region is X13X\leq13 with size 0.033290.03329. The observed lower-tail pp-value is P(X14)=0.05626>0.05P(X\leq14)=0.05626>0.05, so do not reject H0H_0.

FS1-4.2 · Extend hypothesis testing to test for the parameter p of a geometric distribution.

  • For a geometric-parameter test, hypotheses are stated in terms of the success probability pp.
  • A larger pp tends to produce an earlier first success, so small trial numbers support H1:p>p0H_1:p>p_0 and large trial numbers support H1:p<p0H_1:p<p_0.
  • The sum of rr independent geometric variables with the same pp counts the trial of the rrth success and has a negative binomial distribution.
  • A common error is to reverse the tail: long waiting times are evidence for a smaller, not larger, success probability.

Tier 1 · Easy

  1. 1. A geometric model uses p=0.35p=0.35. State hypotheses for testing whether the probability of success has fallen, and state which tail of the waiting time is critical.[3 marks]

    Answer

    • H0:p=0.35H_0:p=0.35; H1:p<0.35H_1:p<0.35
    • Large waiting times form the critical tail

    Method: A fall gives the lower-tailed parameter alternative p<0.35p<0.35. Smaller success probabilities make the first success take longer, so evidence lies in the upper tail of the geometric variable.

Tier 2 · Standard

  1. 1. Six independent geometric observations count trials to first success. Test H0:p=0.3H_0:p=0.3 against H1:p>0.3H_1:p>0.3 at the 5%5\% level of significance using their sum SS. Find the critical region and its size, then state the conclusion when S=9S=9.[7 marks]

    Answer

    • Critical region S10S\leq10
    • Size =0.04735=0.04735
    • Reject H0H_0; there is evidence that p>0.3p>0.3

    Method: Under H0H_0, SS is negative binomial with r=6r=6 and p=0.3p=0.3. Since larger pp gives smaller sums, use the lower tail. Calculator probabilities give P(S10)=0.0473490P(S\leq10)=0.0473490\ldots and P(S11)=0.0782248P(S\leq11)=0.0782248\ldots, so the critical region is S10S\leq10 with size 0.047350.04735. Since 9109\leq10, reject H0H_0.

Tier 3 · Hard

  1. 1. Five independent geometric observations have common parameter pp. Use their sum SS to test H0:p=0.4H_0:p=0.4 against H1:p<0.4H_1:p<0.4 at the 5%5\% level. Determine the critical region and its size. Find the pp-value and conclusion when S=19S=19.[8 marks]

    Answer

    • Critical region S22S\geq22
    • Size =0.03696=0.03696
    • pp-value =0.09417=0.09417
    • Do not reject H0H_0; there is insufficient evidence that p<0.4p<0.4

    Method: Under H0H_0, SS is negative binomial with r=5r=5 and p=0.4p=0.4. The upper-tail probabilities are P(S22)=0.0369556P(S\geq22)=0.0369556\ldots and P(S21)=0.0509520P(S\geq21)=0.0509520\ldots, so the critical region is S22S\geq22 with size 0.036960.03696. For S=19S=19, the pp-value is P(S19)=0.0941686>0.05P(S\geq19)=0.0941686\ldots>0.05, so do not reject H0H_0.