x 0 1 2 3 $p_{\theta_0}(x)$ 0.01 0.04 0.5 0.45 $p_{\theta_1}(x)$ 0.02 0.08 0.4 0.5
Define a test $\phi$ such that $\phi(x) = 1$ if $x = 0, 1$, and $0$ if $x = 2, 3$.
For testing $H_0: \theta = \theta_0$ against $H_1: \theta = \theta_1$, the test $\phi$ is
We analyze the given test $\phi$ for the hypotheses $H_0: \theta = \theta_0$ versus $H_1: \theta = \theta_1$. The test function is defined as $\phi(x) = 1$ if $x \in \{0, 1\}$ and $\phi(x) = 0$ if $x \in \{2, 3\}$.
| x | $p_{\theta_0}(x)$ | $p_{\theta_1}(x)$ |
|---|---|---|
| 0 | 0.01 | 0.02 |
| 1 | 0.04 | 0.08 |
| 2 | 0.50 | 0.40 |
| 3 | 0.45 | 0.50 |
The size of a test (or significance level $\alpha$) is the maximum probability of rejecting the null hypothesis ($H_0$) when it is true. Here, $\Theta_0 = \{\theta_0\}$.
$ \alpha = \sup_{\theta \in \Theta_0} E_\theta[\phi(X)] = E_{\theta_0}[\phi(X)] $
The expectation is calculated as:
$ E_{\theta_0}[\phi(X)] = \sum_{x=0}^{3} \phi(x) p_{\theta_0}(x) $
$ E_{\theta_0}[\phi(X)] = \phi(0) p_{\theta_0}(0) + \phi(1) p_{\theta_0}(1) + \phi(2) p_{\theta_0}(2) + \phi(3) p_{\theta_0}(3) $
Substituting the values:
$ \alpha = (1)(0.01) + (1)(0.04) + (0)(0.50) + (0)(0.45) = 0.01 + 0.04 = 0.05 $
The calculated size is exactly 0.05. Thus, the test $\phi$ is a test of size 0.05. Option D is correct.
To evaluate options A and B, we compute the likelihood ratio (LR) $\frac{p_{\theta_1}(x)}{p_{\theta_0}(x)}$ for each $x$:
The test $\phi$ rejects $H_0$ (sets $\phi(x)=1$) for $x=0, 1$. These are the values of $x$ with the highest likelihood ratios.
The Neyman-Pearson Lemma states that the most powerful test at a given level $\alpha$ rejects $H_0$ if the likelihood ratio exceeds a threshold $k$, chosen such that the size constraint is met. Our test rejects for $x=0, 1$ (where LR = 2). We found the size is exactly 0.05 for this rejection region $\{0, 1\}$. Since these $x$ values yield the highest LR values, this test is indeed the most powerful test for level $\alpha = 0.05$. Option A is correct.
A likelihood ratio test is a test that rejects the null hypothesis when the likelihood ratio $\frac{p_{\theta_1}(x)}{p_{\theta_0}(x)}$ is greater than some constant $k$. Since the test $\phi$ rejects $H_0$ precisely for the values $x=0, 1$ which correspond to the largest likelihood ratios, it fits the definition of a likelihood ratio test. As it achieves the level of 0.05, it is a likelihood ratio test at level 0.05. Option B is correct.
A test is unbiased if its power (the probability of rejecting $H_0$ when $H_1$ is true) is greater than its size (the probability of rejecting $H_0$ when $H_0$ is true), i.e., $E_{\theta_1}[\phi(X)] > E_{\theta_0}[\phi(X)]$.
We already know the size: $E_{\theta_0}[\phi(X)] = 0.05$.
Now, we calculate the power:
$ \text{Power} = E_{\theta_1}[\phi(X)] = \sum_{x=0}^{3} \phi(x) p_{\theta_1}(x) $
$ \text{Power} = \phi(0) p_{\theta_1}(0) + \phi(1) p_{\theta_1}(1) + \phi(2) p_{\theta_1}(2) + \phi(3) p_{\theta_1}(3) $
$ \text{Power} = (1)(0.02) + (1)(0.08) + (0)(0.40) + (0)(0.50) = 0.02 + 0.08 = 0.10 $
Since Power (0.10) > Size (0.05), the test $\phi$ is unbiased. Option C is correct.
The test $\phi$ is confirmed to be:
Therefore, all options A, B, C, and D correctly describe the test $\phi$.