Toss the coin four times. If the coin lands either all heads or all tails, reject Ho: p=1/2 (the p denotes the chance for the coin to land on heads.) Complete parts a and b.
a. what is the probability of a type 1 error for this procedure?
b. if p=4/5, what is the probability of a type II error for this procedure?