Skip to main content
Fixed typos
Source Link
Scortchi
  • 31.6k
  • 9
  • 102
  • 281

The likelihood-ratio (LR) test is not terribly useful in this situation. Your test can be simplified from your specified critical region by looking at possible regions in which the maximum value can fall. From the ordering in your critical region, it is clear that the p-value function for your test is:

$$p(\boldsymbol{x}) = \begin{cases} \text{undefined} & & & \text{for } \theta_0 < x_{(n)}, \\ 1 & & & \text{for } \theta_1 < x_{(n)} \leqslant \theta_0, \\ (\theta_1 / \theta_0)^n & & & \text{for } 0 \leqslant x_{(n)} \leqslant \theta_1. \\ \end{cases}$$

(In the case where $\theta_0 < x_{(n)}$ both hypotheses are falsified by the data, and your LR statistic is undefined, leading to an undefined p-value.)

We can see that, for any significance level $\alpha < (\theta_1 / \theta_0)^n$ the likelihood-ratio test accepts the null hypothesis under all possible observed outcomes (and is trivially UMP). For any significance level $\alpha > (\theta_1 / \theta_0)^n$, the test rejects the null if and only if $x_{(n)} \leqslant \theta_1$ (and it is again trivially UMP).

The problem with the LR test in this situation is that the LR is either zero or one, and does not have any gradations inside the range $0 \leqslant x_{(n)} \leqslant \theta_1$. This leads to a test with a binary p-value.


A better test to apply here (which does not satisfy the considitionsconditions of the Neyman-Pearson lemma, but is also UMP) is to impose an additional evidentiary ordering within the range $0 \leqslant x_{(n)} \leqslant \theta_1$ so that smaller values of $x_{(n)}$ are considered to be greater evidence for the alternative hypothesis. If we add this additional ordering we obtain the smoother p-value function:

$$p(\boldsymbol{x}) = \begin{cases} \text{undefined} & & & \text{for } \theta_0 < x_{(n)}, \\ 1 & & & \text{for } \theta_1 < x_{(n)} \leqslant \theta_0, \\ (x_{(n)} / \theta_0)^n & & & \text{for } 0 \leqslant x_{(n)} \leqslant \theta_1. \\ \end{cases}$$

This latter test has the benefit of avoiding a binary p=value, while maintaining the UMP condition (again trivially). Intuitively, it involves the specification of a lower observed maximum value being more conducive to a lower uppoerupper bound in the sampling distribution.

The likelihood-ratio (LR) test is not terribly useful in this situation. Your test can be simplified from your specified critical region by looking at possible regions in which the maximum value can fall. From the ordering in your critical region, it is clear that the p-value function for your test is:

$$p(\boldsymbol{x}) = \begin{cases} \text{undefined} & & & \text{for } \theta_0 < x_{(n)}, \\ 1 & & & \text{for } \theta_1 < x_{(n)} \leqslant \theta_0, \\ (\theta_1 / \theta_0)^n & & & \text{for } 0 \leqslant x_{(n)} \leqslant \theta_1. \\ \end{cases}$$

(In the case where $\theta_0 < x_{(n)}$ both hypotheses are falsified by the data, and your LR statistic is undefined, leading to an undefined p-value.)

We can see that, for any significance level $\alpha < (\theta_1 / \theta_0)^n$ the likelihood-ratio test accepts the null hypothesis under all possible observed outcomes (and is trivially UMP). For any significance level $\alpha > (\theta_1 / \theta_0)^n$, the test rejects the null if and only if $x_{(n)} \leqslant \theta_1$ (and it is again trivially UMP).

The problem with the LR test in this situation is that the LR is either zero or one, and does not have any gradations inside the range $0 \leqslant x_{(n)} \leqslant \theta_1$. This leads to a test with a binary p-value.


A better test to apply here (which does not satisfy the considitions of the Neyman-Pearson lemma, but is also UMP) is to impose an additional evidentiary ordering within the range $0 \leqslant x_{(n)} \leqslant \theta_1$ so that smaller values of $x_{(n)}$ are considered to be greater evidence for the alternative hypothesis. If we add this additional ordering we obtain the smoother p-value function:

$$p(\boldsymbol{x}) = \begin{cases} \text{undefined} & & & \text{for } \theta_0 < x_{(n)}, \\ 1 & & & \text{for } \theta_1 < x_{(n)} \leqslant \theta_0, \\ (x_{(n)} / \theta_0)^n & & & \text{for } 0 \leqslant x_{(n)} \leqslant \theta_1. \\ \end{cases}$$

This latter test has the benefit of avoiding a binary p=value, while maintaining the UMP condition (again trivially). Intuitively, it involves the specification of a lower observed maximum value being more conducive to a lower uppoer bound in the sampling distribution.

The likelihood-ratio (LR) test is not terribly useful in this situation. Your test can be simplified from your specified critical region by looking at possible regions in which the maximum value can fall. From the ordering in your critical region, it is clear that the p-value function for your test is:

$$p(\boldsymbol{x}) = \begin{cases} \text{undefined} & & & \text{for } \theta_0 < x_{(n)}, \\ 1 & & & \text{for } \theta_1 < x_{(n)} \leqslant \theta_0, \\ (\theta_1 / \theta_0)^n & & & \text{for } 0 \leqslant x_{(n)} \leqslant \theta_1. \\ \end{cases}$$

(In the case where $\theta_0 < x_{(n)}$ both hypotheses are falsified by the data, and your LR statistic is undefined, leading to an undefined p-value.)

We can see that, for any significance level $\alpha < (\theta_1 / \theta_0)^n$ the likelihood-ratio test accepts the null hypothesis under all possible observed outcomes (and is trivially UMP). For any significance level $\alpha > (\theta_1 / \theta_0)^n$, the test rejects the null if and only if $x_{(n)} \leqslant \theta_1$ (and it is again trivially UMP).

The problem with the LR test in this situation is that the LR is either zero or one, and does not have any gradations inside the range $0 \leqslant x_{(n)} \leqslant \theta_1$. This leads to a test with a binary p-value.


A better test to apply here (which does not satisfy the conditions of the Neyman-Pearson lemma, but is also UMP) is to impose an additional evidentiary ordering within the range $0 \leqslant x_{(n)} \leqslant \theta_1$ so that smaller values of $x_{(n)}$ are considered to be greater evidence for the alternative hypothesis. If we add this additional ordering we obtain the smoother p-value function:

$$p(\boldsymbol{x}) = \begin{cases} \text{undefined} & & & \text{for } \theta_0 < x_{(n)}, \\ 1 & & & \text{for } \theta_1 < x_{(n)} \leqslant \theta_0, \\ (x_{(n)} / \theta_0)^n & & & \text{for } 0 \leqslant x_{(n)} \leqslant \theta_1. \\ \end{cases}$$

This latter test has the benefit of avoiding a binary p=value, while maintaining the UMP condition (again trivially). Intuitively, it involves the specification of a lower observed maximum value being more conducive to a lower upper bound in the sampling distribution.

added 1510 characters in body
Source Link
Ben
  • 132.9k
  • 7
  • 255
  • 588

Your UMPThe likelihood-ratio (LR) test is not terribly useful in this situation. Your test can be simplified from your specified critical region by looking at possible regions in which the maximum value can fall. From the ordering in your critical region, it is clear that the p-value function for your test is:

  • If $\theta_0 < x_{(n)}$ then both hypotheses are falsified. Nevertheless, the p-value is zero and the test does not reject the null hypothesis in favour of the alternative (though clearly both are false).

  • If $\theta_1 < x_{(n)} \leqslant \theta_0$ then the alternative hypothesis is falsified but the null is not. The p-value is zero and the null hypothesis is not rejected in this case.

  • If $0 \leqslant x_{(n)} \leqslant \theta_1$ then neither hypothesis is falsified. The p-value in this case is:

$$p(\boldsymbol{x}) = \begin{cases} \text{undefined} & & & \text{for } \theta_0 < x_{(n)}, \\ 1 & & & \text{for } \theta_1 < x_{(n)} \leqslant \theta_0, \\ (\theta_1 / \theta_0)^n & & & \text{for } 0 \leqslant x_{(n)} \leqslant \theta_1. \\ \end{cases}$$

$$p(\boldsymbol{x}) = \mathbb{P}( X_{(n)} \leqslant x_{(n)} | H_0) = \Big(\frac{x_{(n)}}{\theta_0} \Big)^n.$$(In the case where $\theta_0 < x_{(n)}$ both hypotheses are falsified by the data, and your LR statistic is undefined, leading to an undefined p-value.)

We can see that, for any significance level $\alpha < (\theta_1 / \theta_0)^n$ the likelihood-ratio test accepts the null hypothesis under all possible observed outcomes (and is trivially UMP). For any significance level $\alpha > (\theta_1 / \theta_0)^n$, the test rejects the null if and only if $x_{(n)} \leqslant \theta_1$ (and it is again trivially UMP).

The problem with the LR test in this situation is that the LR is either zero or one, and does not have any gradations inside the range $0 \leqslant x_{(n)} \leqslant \theta_1$. This leads to a test with a binary p-value.


A better test to apply here (which does not satisfy the considitions of the Neyman-Pearson lemma, but is also UMP) is to impose an additional evidentiary ordering within the range $0 \leqslant x_{(n)} \leqslant \theta_1$ so that smaller values of $x_{(n)}$ are considered to be greater evidence for the alternative hypothesis. If we add this additional ordering we obtain the smoother p-value function:

$$p(\boldsymbol{x}) = \begin{cases} \text{undefined} & & & \text{for } \theta_0 < x_{(n)}, \\ 1 & & & \text{for } \theta_1 < x_{(n)} \leqslant \theta_0, \\ (x_{(n)} / \theta_0)^n & & & \text{for } 0 \leqslant x_{(n)} \leqslant \theta_1. \\ \end{cases}$$

This latter test has the benefit of avoiding a binary p=value, while maintaining the UMP condition (again trivially). Intuitively, it involves the specification of a lower observed maximum value being more conducive to a lower uppoer bound in the sampling distribution.

Your UMP test can be simplified from your specified critical region by looking at possible regions in which the maximum value can fall:

  • If $\theta_0 < x_{(n)}$ then both hypotheses are falsified. Nevertheless, the p-value is zero and the test does not reject the null hypothesis in favour of the alternative (though clearly both are false).

  • If $\theta_1 < x_{(n)} \leqslant \theta_0$ then the alternative hypothesis is falsified but the null is not. The p-value is zero and the null hypothesis is not rejected in this case.

  • If $0 \leqslant x_{(n)} \leqslant \theta_1$ then neither hypothesis is falsified. The p-value in this case is:

$$p(\boldsymbol{x}) = \mathbb{P}( X_{(n)} \leqslant x_{(n)} | H_0) = \Big(\frac{x_{(n)}}{\theta_0} \Big)^n.$$

The likelihood-ratio (LR) test is not terribly useful in this situation. Your test can be simplified from your specified critical region by looking at possible regions in which the maximum value can fall. From the ordering in your critical region, it is clear that the p-value function for your test is:

$$p(\boldsymbol{x}) = \begin{cases} \text{undefined} & & & \text{for } \theta_0 < x_{(n)}, \\ 1 & & & \text{for } \theta_1 < x_{(n)} \leqslant \theta_0, \\ (\theta_1 / \theta_0)^n & & & \text{for } 0 \leqslant x_{(n)} \leqslant \theta_1. \\ \end{cases}$$

(In the case where $\theta_0 < x_{(n)}$ both hypotheses are falsified by the data, and your LR statistic is undefined, leading to an undefined p-value.)

We can see that, for any significance level $\alpha < (\theta_1 / \theta_0)^n$ the likelihood-ratio test accepts the null hypothesis under all possible observed outcomes (and is trivially UMP). For any significance level $\alpha > (\theta_1 / \theta_0)^n$, the test rejects the null if and only if $x_{(n)} \leqslant \theta_1$ (and it is again trivially UMP).

The problem with the LR test in this situation is that the LR is either zero or one, and does not have any gradations inside the range $0 \leqslant x_{(n)} \leqslant \theta_1$. This leads to a test with a binary p-value.


A better test to apply here (which does not satisfy the considitions of the Neyman-Pearson lemma, but is also UMP) is to impose an additional evidentiary ordering within the range $0 \leqslant x_{(n)} \leqslant \theta_1$ so that smaller values of $x_{(n)}$ are considered to be greater evidence for the alternative hypothesis. If we add this additional ordering we obtain the smoother p-value function:

$$p(\boldsymbol{x}) = \begin{cases} \text{undefined} & & & \text{for } \theta_0 < x_{(n)}, \\ 1 & & & \text{for } \theta_1 < x_{(n)} \leqslant \theta_0, \\ (x_{(n)} / \theta_0)^n & & & \text{for } 0 \leqslant x_{(n)} \leqslant \theta_1. \\ \end{cases}$$

This latter test has the benefit of avoiding a binary p=value, while maintaining the UMP condition (again trivially). Intuitively, it involves the specification of a lower observed maximum value being more conducive to a lower uppoer bound in the sampling distribution.

Source Link
Ben
  • 132.9k
  • 7
  • 255
  • 588

Your UMP test can be simplified from your specified critical region by looking at possible regions in which the maximum value can fall:

  • If $\theta_0 < x_{(n)}$ then both hypotheses are falsified. Nevertheless, the p-value is zero and the test does not reject the null hypothesis in favour of the alternative (though clearly both are false).

  • If $\theta_1 < x_{(n)} \leqslant \theta_0$ then the alternative hypothesis is falsified but the null is not. The p-value is zero and the null hypothesis is not rejected in this case.

  • If $0 \leqslant x_{(n)} \leqslant \theta_1$ then neither hypothesis is falsified. The p-value in this case is:

$$p(\boldsymbol{x}) = \mathbb{P}( X_{(n)} \leqslant x_{(n)} | H_0) = \Big(\frac{x_{(n)}}{\theta_0} \Big)^n.$$