1

For one observation $Y$ from a normal distribution with variance $1$ and mean $0$ or $2$, consider $H_{0}:\mu=0$ and $H_{1}:\mu=2$. Suppose first that we observe only $Y$. Construct a size $\alpha$ likelihood ratio test. Give explicitly the rejection region in terms of $Y$, and find the power of this test.

--I found the LRT test statistic of $$\lambda(Y)=\frac{e^{-y^{2}/2}}{e^{-y^{2}/2}+e^{-(y-2)^{2}/2}},$$ and a rejection region of $\{Y:\lambda(Y)\geq c\}$, where $\sup_{H_{0}}P(\lambda(Y)\leq c)=\alpha$.

--I am finding the calculation a bit messy for finding the power. I would have to find $\beta(\mu)=P(Y\in R)$, where $R$ is the rejection region.

Any way I can clean this up?

Kirk Fogg
  • 383

1 Answers1

2

$$ L(\mu) \propto e^{-(y-\mu)^2/2}. $$ The value of $\mu\in\{0,2\}$ that maximizes this is $$ \widehat\mu = \begin{cases} 0 & \text{if }y<1, \\ 2 & \text{if }y>1. \end{cases} $$ Thus the maximized value is $$ L(\widehat\mu) = \begin{cases} e^{-y^2/2} & \text{if }y<1, \\ e^{-(y-2)^2/2} & \text{if }y>1. \end{cases} $$ That's the denominator in your fraction; the numerator is $e^{-y^2/2}$. Hence the value of the fraction is $$ \begin{cases} 1 & \text{if }y<1, \\[10pt] \frac{e^{-y^2/2}}{e^{-(y-2)^2/2}} & \text{if }y>1. \end{cases} $$ The second case simplifies: $$ e^{-y^2/2 + (y-2)^2/2} = e^{(-4y+4)/2}. $$ So your test statistic is $$ \begin{cases} 1 & \text{if }y<1, \\[10pt] e^{(-4y+4)/2} & \text{if }y>1. \end{cases} $$ or any monotone function of that quantity.