I recommend to read section on the top of the page 30 in chapter 12 (Hypothesis testing). I hope that will help.