Master Mathematics.

Statistics · Hard · Hypothesis Testing · Problem 3

Tails before the first head

Consider a possibly unbalanced coin with probability of heads in each toss being , where is unknown. Let be the number of tails before the first head occurs. Find the uniformly most powerful test of level for testing against .

Source: ISI MStat