Skip to main content
Examonaut

Topic 8

Quality of tests

A hypothesis test is a decision made with incomplete information, so it can be wrong in two ways. It can raise a false alarm, rejecting a null hypothesis that is true; or it can miss a real change, failing to reject a null hypothesis that is false. A good test keeps the first risk small and the second as small as it can. This topic measures both risks and uses them to compare tests.

What you need to know

  • Understand Type I and Type II errors, and describe them in context.
  • Find the size of a test (the probability of a Type I error) and the probability of a Type II error for a given value of the parameter.
  • Find the power of a test, and the power function, for tests based on the Poisson, binomial and geometric distributions.
  • Use power (including power curves) to compare tests, and understand how the significance level and the amount of data affect it.

Key points

  • Type I error: rejecting H0H_0 when it is true. Type II error: not rejecting H0H_0 when it is false.
  • Size =P(Type I error)=P(critical region∣H0)= \text{P}(\text{Type I error}) = \text{P}(\text{critical region} \mid H_0), the actual significance level.
  • P(Type II error)\text{P}(\text{Type II error}) needs a given true value of the parameter: P(not in the critical region∣true value)\text{P}(\text{not in the critical region} \mid \text{true value}).
  • Power =1−P(Type II error)= 1 - \text{P}(\text{Type II error}); the power function gives it for every value of the parameter.
  • Compare tests of similar size by their power; more data usually gives more power.
  • A larger significance level means more Type I errors but fewer Type II errors.

Practise this topic

Both are part of Premium.

Next lesson1. Errors, size and power