Type II error of a coin-fairness test
You flip a coin times to test against . The decision rule is: reject (declare the coin biased toward heads) if the number of heads is or more. Suppose the coin is actually biased with true .
What is the probability of a type II error (failing to reject, so missing the real bias)?