Question #81194

Use the Neyman-Pearson Lemma to obtain the best critical region for testing H0: mu=0
against H1: mu<>0
in the case of a normal population N(mu , sigma^2), where sigma^2 is known.
Hence find the power of the test.

Expert's answer

Answer on Question #81194 – Math – Statistics and Probability

Question

Use the Neyman-Pearson Lemma to obtain the best critical region for testing

H0: mu=0 against H1: mu<>0 in the case of a normal population N(mu, sigma^2), where sigma^2 is known. Hence find the power of the test.

Solution

Consider the relation of likelihood


L1(x‾)L0(x‾)=∏i=1n1(2πσ2)exp⁡(−(xi−μ)22σ2)∏i=1n1(2πσ2)exp⁡(−xi22σ2)=∏i=1nexp⁡(−(xi−μ)22σ2+xi22σ2)=exp⁡(2nμx‾−nμ22σ2)\frac {L _ {1} (\overline {{x}})}{L _ {0} (\overline {{x}})} = \frac {\prod_ {i = 1} ^ {n} \frac {1}{\left(\sqrt {2 \pi} \sigma^ {2}\right)} \exp \left(- \frac {(x _ {i} - \mu) ^ {2}}{2 \sigma^ {2}}\right)}{\prod_ {i = 1} ^ {n} \frac {1}{\left(\sqrt {2 \pi} \sigma^ {2}\right)} \exp \left(- \frac {x _ {i} ^ {2}}{2 \sigma^ {2}}\right)} = \prod_ {i = 1} ^ {n} \exp \left(- \frac {(x _ {i} - \mu) ^ {2}}{2 \sigma^ {2}} + \frac {x _ {i} ^ {2}}{2 \sigma^ {2}}\right) = \exp \left(\frac {2 n \mu \overline {{x}} - n \mu^ {2}}{2 \sigma^ {2}}\right)


Then the critical region by Neyman-Pearson lemma will be of the form


2nμxˉ−nμ22σ2>C0\frac {2 n \mu \bar {x} - n \mu^ {2}}{2 \sigma^ {2}} > C _ {0}


If μ>0\mu > 0 it yields x‾>C1\overline{x} > C_1, if μ<0\mu < 0 it yields x‾<C2\overline{x} < C_2.

Totally the critical region has form x‾∈(−∞;C2)∪(C1;+∞)\overline{x} \in (-\infty; C_2) \cup (C_1; +\infty). We take C2=−C1C_2 = -C_1 because in this case the length of the interval when H0H_0 is accepted is maximum. So the critical area has a form ∣x‾∣>C|\overline{x}| > C. We find C from the equation


P0(∣x‾∣>C)=α.P _ {0} (| \overline {{x}} | > C) = \alpha .


Under the hypothesis H0H_0 the distribution of x‾\overline{x} is N(0,σ2n)N\left(0, \frac{\sigma^2}{n}\right). Then


P0(∣x‾∣>C)=P0(∣x‾nσ∣>Cnσ)=P0(∣z∣>Cnσ)=2F(−Cnσ).P _ {0} (| \overline {{x}} | > C) = P _ {0} \left(\left| \frac {\overline {{x}} \sqrt {n}}{\sigma} \right| > \frac {C \sqrt {n}}{\sigma}\right) = P _ {0} \left(| z | > \frac {C \sqrt {n}}{\sigma}\right) = 2 F \left(- \frac {C \sqrt {n}}{\sigma}\right).


We have an equation


2F(−Cnσ)=α,2 F \left(- \frac {C \sqrt {n}}{\sigma}\right) = \alpha ,


from which


C=−σF−1(α/2)nC = - \frac {\sigma F ^ {- 1} (\alpha / 2)}{\sqrt {n}}


If ∣x‾∣>C|\overline{x}| > C the hypothesis H0H_0 is declined, otherwise it is accepted.

The power of the test is


P1(∣x‾∣>C)=1−P1(−C<x‾<C)=1−P1(−C−μσn<x‾−μσn<C−μσn)==1−(F(C−μσn)−F(−C−μσn))\begin{array}{l} P _ {1} (| \overline {{x}} | > C) = 1 - P _ {1} (- C < \overline {{x}} < C) = 1 - P _ {1} \left(\frac {- C - \mu}{\sigma \sqrt {n}} < \frac {\overline {{x}} - \mu}{\sigma \sqrt {n}} < \frac {C - \mu}{\sigma \sqrt {n}}\right) = \\ = 1 - \left(F \left(\frac {C - \mu}{\sigma \sqrt {n}}\right) - F \left(\frac {- C - \mu}{\sigma \sqrt {n}}\right)\right) \\ \end{array}


This value is a minimum for μ=0\mu = 0, hence the power of the test is 1−α1 - \alpha.

Answer provided by https://www.AssignmentExpert.com

LATEST TUTORIALS
APPROVED BY CLIENTS