Topic 8 · Lesson 2 of 3
Power functions and comparing tests
The power function
The power function gives the power for every possible value of the parameter. For a test with critical region and :
For geometric tests the power function is especially neat. With critical region , ; with critical region , .
At the value in , the power function equals the size. For values in it gives the power; as the parameter moves away from it rises towards 1.
Power curves
A graph of the power function is a power curve. Here is the curve for the test of against with critical region .
Read it like any graph: at the height is the size, 0.042; the power reaches 0.5 at about ; above the test almost always detects the change.
You can also work backwards from a power function. For the geometric test above, the power is at least 0.8 when , that is : the test is only reliable at detecting a fall in from 0.4 to below about 0.04.
Comparing tests
To compare two tests of the same hypotheses:
- first compare their sizes: a fair comparison needs similar sizes;
- then compare their power for the values of the parameter that matter: the test with the higher power is better at detecting a change.
If one test has the same size as another and greater power for every value in , it is better everywhere. Other things may count too: a more powerful test may need more data, more time or more cost.
More data, more power
Counting over a longer period, or using a larger sample, usually gives a more powerful test. For the call-out example, counting over 2 days gives under ; and , so the critical region is with size 0.0318. If the true rate is 4 per day, and the power is , against 0.215 for the one-day test, even though the two-day test has the smaller size.
The significance level and power
Raising the significance level makes the critical region larger. That increases the size (more Type I errors) but also increases the power (fewer Type II errors). There is no free lunch: for a fixed amount of data, the only way to reduce both errors is to collect more data.
Practise this topic
Both are part of Premium.