I'm studying for my final exams and the subject of proof will basically test hypotheses, I will try to summarize here my doubts.
For found the UMP test the ways are
1) Use Neyman–Pearson lemma where the test is of the type $$H_0:\theta=\theta_0\space vs \space H_1:\theta=\theta_1$$ and the pdf is $f(x|\theta)$ with critical region $R$ is $x\in R$ if $\frac{f(x|\theta_1)}{f(x|\theta_0)}>k$ and $x\in R^c$ if $\frac{f(x|\theta_1)}{f(x|\theta_0)}<k$ for any $k\geq 0$ and $\alpha=P_{\theta_0}(X\in R)$
2)If $T$ is a sufficient statistic and the family of pdf's of $T$ have monotone likelihood-ratio then you can apply Karlin-Rubin theorem for test the hypotheses $$H_0:\theta\leq \theta_0\space vs\space > H_1:\theta>\theta_0$$ where the test is reject $H_0\Leftrightarrow > T>t_0$ and $\alpha=P_{\theta_0}(T>t_0)$
I know that Neyman-Pearson lemma can only be applied to simple hypothesis, but there is a "trick" to apply Neyman-Pearson lemma, where you can change the simple hyphotesis $$H_0:\theta=\theta_0\space vs\space H_1:\theta=\theta_1$$ to $$H_0':\theta=\theta_0\space vs \space H_1':\theta=\theta_1, \space\theta_1>\theta_0$$ $$H_0':\theta=\theta_0\space vs \space H_1':\theta=\theta_1, \space\theta_1<\theta_0$$ $$H_0':\theta=\theta_0\space vs \space H_1':\theta=\theta_1, \space\theta_1\neq\theta_0$$
Let's take an example for me to try to clarify what I mean by trick. Suppose I want a UMP test $$H_0:\theta=5\space vs\space H_1:\theta>5$$ I can not apply directly the Neyman-Pearson lemma in this case, then I did $$H_0:\theta=5\space vs\space H_1:\theta=\theta_1\space,\space \theta_1>5$$
these changes implies something in the critical region? In the size of test?
I can do this kind of manipulation in the null hypothesis?
Is there any other way to find a UMP test?
Could someone explain me especially how to get a UMP test for a density that does not belong to the exponential family?