A type II error occurs when one fails to reject the null hypothesis when the alternative is indeed true. The probability of a type II error is denoted by . Conisder the following test:

vs.

Then, by the definition above, the probability of a type II error, is

is not in the rejection region when .

Notice, this is a simple hypothesis test. We can only compute a type II probability for specific values of .