(Note - This is also on MSE but I thought I might have better luck here). I was posed the following question:
Let $X_1,X_2,\dots,X_n \stackrel{iid}{\sim} \mathcal{U}(\theta,\theta+1)$. Consider testing $H_0: \theta=0$ versus $H_1: \theta >0$ via the rule: Reject $H_0$ in favor of $H_1$ if $X_{(1)} >1$ or $X_{(n)} >(1-\alpha)^{1/n}$. The test has size $\alpha$; is it the UMP test of size $\alpha$?
And I'm not sure of the answer. So naturally I wanted to try to construct the UMP test if it exists. The only "sure-fire" ways of constructing a UMP test that I know of are:
- Neyman-Pearson, which only applies for two simple hypotheses
- Karlin-Rubin, which only applies when your distribution has Monotone Likelihood Ratio
In this case, $(X_{(1)},X_{(n)})$ is jointly sufficient for $\theta$, so I don't believe the concept of MLR can be utilized since MLR is necessarily one dimensional.
My next thought was to fix $\theta_1 >0$ and test $H_0:\theta =0$ versus $H_1: \theta = \theta_1$ so we can use Neyman-Pearson. Then, if the resulting tests depended on $\theta_1$, we could conclude that no UMP exists. (Is this reasoning correct?)
We'd form the likelihood ratio: $$ \Lambda = \dfrac{L(\theta=0;\vec x)}{L(\theta = \theta_1; \vec x)}= \dfrac{\mathbf{1}[0 < x_{(1)} \le x_{(n)} < 1]}{\mathbf{1}{[\theta_1 < x_{(1)} \le x_{(n)} < \theta_1+1]}} $$ and reject if $\Lambda$ is sufficiently small. But how would I form a rejection rule from this?
Assuming the denominator is nonzero, $\Lambda$ would either equal 1 or 0, the latter of which would occur when $1 < x_{(n)} < \theta_1+1$ or when $1 < x_{(1)} \le x_{(n)} \le \theta_1+1$. So the rejection region would be $\{X_{(n)} >c_1\} \cup \{X_{(1)} > c_2\}$, where $c$ is chosen so that $P((X_{(n)} > c_1) \cup (X_{(1)} > c_2); H_0)=\alpha$. And from here I'm stuck.
Overall, I have two questions.
- Is my reasoning with Neyman Pearson and the calculations with $\Lambda$ and the Rejection Region all correct?
- If not, then I still need to find the UMP or concoct a test that's more-powerful than the given one. How would I do this, particularly finding the UMP?