We let $\Theta=\{0,1\}$, and $X$ be a discrete R.V with the following probability distribution:
x | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
---|---|---|---|---|---|---|---|---|
$f(x;0)$ | 0.02 | 0.02 | 0.02 | 0.02 | 0.02 | 0.02 | 0.02 | 0.86 |
$f(x;1)$ | 0.14 | 0.12 | 0.10 | 0.08 | 0.06 | 0.04 | 0.02 | 0.44 |
Ratio | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0.511 |
We want to use the theorem of Neyman-Pearson to find the most powerful test of size $\alpha=0.05$ for the hypothesis $H_0: \theta=0$ and $H_1: \theta=1$, and also I want to calculate the Type II error probability of this test(power?).
I have looked at some similar questions(Neyman pearson on discrete distribution and Most powerful test for deciding probability mass function), however I'm still struggling to understand what to do in this case, especially since I need an exact value, so the test has to be randomized. Any help is much appreciated!