Let $X_1,\dots,X_n$ be a sample from $U(0,\theta), \theta>0$ . Find UMP size- $\alpha$ for testing $H_{0}:\theta=\theta_0$ against $H_{1}:\theta\ne \theta_0$ . I'm following the steps to find this test from the book Testing of Statistical Hypothesis, by E. L. Lehmann. First to find UMP test for $H_{0}:\theta=\theta_0$ against $H_{1}:\theta>\theta_0$ . Then for $H_{0}:\theta=\theta_0$ against $H_{1}:\theta\leq \theta_0$ . Then combine the results to find the UMP test for $H_{0}:\theta=\theta_0$ against $H_{1}:\theta\ne\theta_0$ . As per my calculation, For the first case, the UMP test of size $\alpha$ is $\phi_{1}(x_{1},\dots,x_{n})=\begin{cases} 1 &\mbox{if } \max(x_{1},\dots,x_{n}) > (1-\alpha)^{\frac{1}{n}}\theta_{0} \\ 0 & \mbox{else} \space \max(x_{1},\dots,x_{n}) \leq (1-\alpha)^{\frac{1}{n}}\theta_{0} \end{cases}$ For the second case, the UMP test of size $\alpha$ is $\phi_{1}(x_{1},\dots,x_{n})=\begin{cases} 1 &\mbox{if } \space \max(x_{1},\dots,x_{n}) if we combine those two, The test of size $\alpha$ , for the two tailed test $\phi_{1}(x_{1},\dots,x_{n})=\begin{cases} 1 &\mbox{if } \max(x_{1},\dots,x_{n}) > (1-\frac{\alpha}{2})^{\frac{1}{n}}\theta_{0} \space or \quad \max(x_{1},\dots,x_{n}) \leq \frac{\alpha}{2}^{\frac{1}{n}}\theta_{0}\\ 0 & \mbox{else } \end{cases}$ . But, the unique UMP test for this particular problem is given by, $\phi_{1}(x_{1},\dots,x_{n})=\begin{cases} 1 &\mbox{if } \max(x_{1},\dots,x_{n}) > \theta_{0} \quad or \quad \max(x_{1},\dots,x_{n}) \…

Full article content could not be extracted automatically. Read the original below.