# Let $X$ be a single observation from the density $f(x) = (2θx + 1 − θ)I[0,1](x)$ with $−1≤ θ ≤ 1$. Find the most powerful test of size $α$ and its power

• Find a most powerful test of size $?$ of $H_0 : ? = 0$ versus $H_1 : ? = 1$.
• Find a uniformly most powerful test of size $?$ of $H_0 : ? = 0$ versus $H_1 : ? > 0$
• To test $H_0: ? ? 0$ versus $H_1: ? > 0$, the following procedure was used: Reject $H_0$ if $X$ exceeds $1/2$. Find the power and size of this test.
• I feel the bounty is a little to low for this.

• I second that.

• Bounty has been increased

• Is this for only one observation (n=1) or for a general random sample of n observations?

• @Rage, this is a good question, yes the original question states let X be a single observation from the density. I will update the question to make this clear.

• Without that hypothesis the problem was too difficult!

Answers can be viewed only if
1. The questioner was satisfied and accepted the answer, or
2. The answer was disputed, but the judge evaluated it as 100% correct.