All Exams Test series for 1 year @ ₹349 only
Question

Suppose the probability mass function of a random variable X under the parameter $\theta = \theta_0$ and $\theta = \theta_1 (\ne \theta_0)$ are given by
x0123
$p_{\theta_0}(x)$0.010.040.50.45
$p_{\theta_1}(x)$0.020.080.40.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

Random Variable Hypothesis Test Analysis

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\}$.

Probability Distributions Table

x$p_{\theta_0}(x)$$p_{\theta_1}(x)$
00.010.02
10.040.08
20.500.40
30.450.50

Test Size Calculation (Option D)

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.

Likelihood Ratio Calculation

To evaluate options A and B, we compute the likelihood ratio (LR) $\frac{p_{\theta_1}(x)}{p_{\theta_0}(x)}$ for each $x$:

  • For $x=0$: $LR = \frac{0.02}{0.01} = 2$
  • For $x=1$: $LR = \frac{0.08}{0.04} = 2$
  • For $x=2$: $LR = \frac{0.40}{0.50} = 0.8$
  • For $x=3$: $LR = \frac{0.50}{0.45} = \frac{10}{9} \approx 1.11$

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.

Most Powerful Test Analysis (Option A)

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.

Likelihood Ratio Test Analysis (Option B)

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.

Unbiased Test Analysis (Option C)

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.

Summary

The test $\phi$ is confirmed to be:

  • A test of size 0.05 (Option D).
  • The most powerful test at level 0.05 (Option A).
  • A likelihood ratio test at level 0.05 (Option B).
  • An unbiased test (Option C).

Therefore, all options A, B, C, and D correctly describe the test $\phi$.

Was this answer helpful?

Important Questions from Elementary Bayesian Inference

  1. Suppose the distribution of $X$ given $\theta$ is normal with mean $\theta$ and variance $15$. Further, let the prior (improper) distribution of $\theta$ be proportional to $1, \ -\infty<\theta<\infty$. If the observed value of $X$ is $13$, then which of the following statements is true?
  2. Let $X_1, X_2, . . ., X_n$ be a random sample from $N(\theta, 1)$, $\theta \in R$. If $\hat{\theta}$ is the Bayes estimator of $\theta$ with respect to some prior $\pi(\theta)$ and loss function $L(\theta, d)$. Then, which of the following statements are true?
  3. Let $X|\theta \sim \text{Uniform}[0, \theta]$ and $\theta$ has an Exponential distribution with mean $\lambda$, where $\lambda > 3$ is known. If the realized value of $X$ is $2025$, then the posterior mode equals
  4. $X_1, X_2, \cdots, X_n$ are independent and identically distributed $N(\theta, 1)$ random variables, where $\theta$ takes only integer values i.e.
    $\theta \in \{\cdots, -2, -1, 0, 1, 2, \cdots\}$.
    Which of the following is the maximum likelihood estimator of $\theta$?
  5. $\theta$ is the probability of obtaining a head in the toss of a coin. The coin is tossed three times and we record
    $Y = 1$ if all the three tosses result in heads
    $Y = 2$ if all the three tosses result in tails
    $Y = 3$ otherwise
    If the prior density of $\theta$ is Beta $(\alpha, \beta)$, and $\hat{\theta}_i$ is the posterior mean of $\theta$ given $Y = i$, for $i = 1, 2$, then
Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App