Let $X_1,\dots,X_n$ be a sample from $U(0,θ), θ>0$. Find UMP size-$α$ for testing $H0:θ=θ0$ against $H1:θ≠θ0$.
I worked on it by dividing the regions into two:
- H0:θ=θ0 against H1:θ<θ0
- H0:θ=θ0 against H1:θ>θ0
By using the MLR property of the statistic $\max(x_1,…,x_n)$, I got max(x1,…,xn)<θ0 α^(1/n) as the rejection region for 1st case and max(x1,…,xn)>θ0 (1-α)^(1/n) for the second case. From this, how will I reach to a UMP?
This answer is where I'm trying to reach. I am doubting my answer for the second case. How can I reach to that answer?