power of the test & likelihood ratio testzhu/ams570/lecture18_570.pdftest at the significance...
TRANSCRIPT
![Page 1: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/1.jpg)
1
Power of the Test & Likelihood Ratio Test
<Todayโs Topic>
Power Calculation (Inference on one population mean)
Likelihood Ratio Test (one population mean, normal
population)
You can watch this and other related โfunnyโ videos
about statistics (power of the test etc.) at YouTube:
https://www.youtube.com/watch?v=kMYxd6QeAss
Truth
0H aH
Decision 0H Type II error
aH Type I error
ฮฒ = P(Type II error) = P(Fail to reject 0H | aH )
Power = 1- ฮฒ = P(Reject 0H | aH )
![Page 2: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/2.jpg)
2
Relationship between ฮฑ and ฮฒ (and of course, 1-ฮฒ) The following diagrams illustrate the relationship between the Type I error and the Type II error (and thus power of the test). You can see that for the given sample, ฮฑ and ฮฒ have a competitive relationship. When you decrease one, the other will increase.
Power Calculation (Inference on one population mean)
1.
)(:
:
00
00
aaH
H
1st scenario, Normal population, 2 is known.
Test statistic : )1,0(~0
00 N
n
XZ
H
At the significance level , we reject 0H if ZZ 0
![Page 3: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/3.jpg)
3
Power of the test = 1-
= P(reject 0H | aH ) = P( )|0 aZZ
= )|( 0
aZn
XP
,
If a , )1,(~ 000
nN
n
XZ a
Therefore,
1- = )|( 0a
aa Znn
XP
= )|( 0a
a
nZZP
, )1,0(~ NZ
2nd scenario, Normal population, 2 is unknown.
Test statistic : 10
0 ~0
n
H
tnS
XT
At the significance level , we reject 0H if ,10 ntT
Power = 1- = P(reject 0H | aH ) = P( )|,10 antT
![Page 4: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/4.jpg)
4
= )|( ,10
antnS
XP
= )|( ,10
anaa t
nSnS
XP
= )|( 0,1 a
an
nStTP
, Here 1~ ntT
Recall that the Shapiro-Wilk test: can be used to determine
whether the population is normal.
3rd scenario, Any population (*usually we use this test when the
population is found not normal), large sample (n30 )
Test statistic : )1,0(~0
00 N
nS
XZ
H
At the significance level , we reject 0H if ZZ 0
Power = 1- = P(reject 0H | aH ) = P( )|0 aZZ
![Page 5: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/5.jpg)
5
= )|( 0
aZnS
XP
= )|( 0a
aa ZnSnS
XP
= )|( 0a
a
nSZZP
, )1,0(~ NZ
2.
)(:
:
00
00
aaH
H
1st scenario, Normal population, 2 is known.
Test statistic : )1,0(~0
00 N
n
XZ
H
At the significance level , we reject 0H if ZZ 0
Power = P(reject 0H | aH ) = P( )|0 aZZ
![Page 6: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/6.jpg)
6
= )|( 0aZ
n
XP
=
)|( 0a
aa Znn
XP
= )|( 0a
a Zn
ZP
, )1,0(~ NZ
The derivation of the remaining two scenarios is very similar
to that of the first pair of hypotheses too and is thus omitted.
3.
0
00
:
:
aaH
H
1st scenario, Normal population, 2 is known.
Test statistic : )1,0(~0
00 N
n
XZ
H
At the significance level , we reject 0H if 20 ZZ
Power = P(reject 0H | aH ) = P( )|( 20 aZZ
![Page 7: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/7.jpg)
7
= )|()|( 2020 aa ZZPZZP
=
)|()|( 20
20
aaa
aaa Z
nn
XPZ
nn
XP
=
)|()|( 02
02 a
aa
a
nZZP
nZZP
(*Without loss of generality, for the plot below, we assume
0 a )
The derivation of the remaining two scenarios is very similar
to that of the first pair of hypotheses too and is thus omitted.
![Page 8: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/8.jpg)
8
Ex1) Jerry is planning to purchase a sports goods store. He
calculated that in order to make profit, the average daily sales must
be 525$ . He randomly sampled 36 days and found 565$X
and 50$S
If the true average daily sales is $550, what is the power of Jerryโs
test at the significance level of 0.05?
Solution:
๐ป0: ๐ = ๐0 = 525
๐ป๐: ๐ = ๐๐ = 550 > ๐0
Power = P(Reject aHH |0 )
9123.02
9131.09115.0
)355.1()3650
525550645.1(
)|(
)|(
)|(
0
0
0
ZPZP
nSZ
nS
XP
ZnS
XP
ZZP
aaa
a
a
Ex2) John Pauzke, president of Cerealโs Unlimited Inc, wants to
be very certain that the mean weight of packages satisfies the
package label weight of 16 ounces. The packages are filled by a
machine that is set to fill each package to a specified weight.
However, the machine has random variability measured by 2 .
John would like to have strong evidence that the mean package
weight is about 16 oz. George Williams, quality control manager,
advises him to examine a random sample of 25 packages of cereal.
From his past experience, George knew that the weight of the
![Page 9: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/9.jpg)
9
packages follows a normal distribution with standard deviation 0.4
oz. At the significance level 05.0 ,
(a) What is the decision rule (rejection region) in terms of the
sample mean X ?
(b) What is the power of the test when 13.16 oz?
Sol) Let X denote the weight of a randomly selected package of
cereal, then )4.0,16(~ NX
16:
16:0
aH
H
16:
16:0
aH
H
(a) Test Statistic : )1,0(~0
00 N
n
XZ
H
if 160
ZcHcZP )|( 00
We reject 0H at 05.0 if
)(1316.16
25
4.0645.1160
00
oz
nZXZ
n
XZ
(b)
0
00
13.16:
16:
aaH
H
(n=25)
Power = P(Reject aHH |0 )
49.0)02.0()254.0
1613.16645.1(
)|(
)|(
)|(
0
0
0
ZPZP
nZ
n
XP
Zn
XP
ZZP
aaa
a
a
![Page 10: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/10.jpg)
10
Sample size determination in the hypothesis
test scenario
1.
)(:
:
00
00
aaH
H
1st scenario, Normal population, 2 is known.
1 = )|( 0a
a Zn
ZP
, )1,0(~ NZ
Z
nZ
nZ aa
00
a
ZZn
0
)(
2
0
22
)(
)(
a
ZZn
2.
)(:
:
00
00
aaH
H
![Page 11: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/11.jpg)
11
1st scenario, Normal population, 2 is known.
2
0
22
)(
)(
a
ZZn
(*the same result as in Scenario 1 โ in
summary, the formula is identical for the one-sided tests.)
3.
0
00
:
:
aaH
H
1st scenario, Normal population, 2 is known.
1 =
)|()|( 02
02 a
aa
a
nZZP
nZZP
(Assume 0 a . Then, 0)|( 02
a
a
nZZP
.
So, we can neglect it.)
![Page 12: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/12.jpg)
12
ZZn
nZZ
nZZP
a
a
aa
2
0
0
2
0
2 )|(1
2
0
22
2
)(
)(
a
ZZn (* in summary, this hand-calculated formula
for the two sided test differs from that for the one-sided tests in
two aspects:
(1) ฮฑ is replaced by ฮฑ/2;
(2) it is an approximate formula, not an exact formula.)
![Page 13: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/13.jpg)
13
Likelihood Ratio Test (one population mean, normal population, two-sided)
1. Please derive the likelihood ratio test for H0: ฮผ = ฮผ0 versus Ha: ฮผ โ ฮผ0, when the population is normal and population variance ฯ2 is known. Solution: For a 2-sided test of H0: ฮผ = ฮผ0 versus Ha: ฮผ โ ฮผ0, when the population is normal and population variance ฯ2 is known, we have:
0: and :
The likelihoods are:
n
i i
n
in
ix
x
LL
1
2
02
2
22
2
0
1 2
0
2
1exp
2
1
2exp
2
1
There is no free parameter in L , thus LL ห .
n
i i
n
in
ix
x
LL
1
2
2
2
22
2
1 2 2
1exp
2
1
2exp
2
1
There is only one free parameter ฮผ in L . Now we shall find
the value of ฮผ that maximizes the log likelihood
n
i ixn
L1
2
2
2
2
12ln
2ln
.
By solving
n
i ixd
Ld12
01ln
, we have xฬ
It is easy to verify that xฬ indeed maximizes the
loglikelihood, and thus the likelihood function. Therefore the likelihood ratio is:
![Page 14: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/14.jpg)
14
2
0
2
0
1
22
02
1
2
2
2
2
1
2
02
2
20
0
2
1exp
/2
1exp
2
1exp
2
1exp
2
1
2
1exp
2
1
ห
maxห
ห
zn
x
xxx
xx
x
L
L
L
L
L
L
n
i ii
n
i i
n
n
i i
n
Therefore, the likelihood ratio test that will reject H0 when
* is equivalent to the z-test that will reject H0 when
cZ 0 , where c can be determined by the significance level ฮฑ
as / 2c z .
You see that from the beauty contest example that to set which theory as the null hypothesis may not always follow the same rule. That is why for the normality test, we put the hypothesis that โthe population from which the sample was drawn is a normal populationโ as the null hypothesis. Similarly, in the beauty contest problem, it is easier to interpret when we set the null hypothesis as โStony Brook is the most beautiful Universityโ, versus the alternative that we are not.
![Page 15: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/15.jpg)
15
2. Please derive the likelihood ratio test for H0: ฮผ = ฮผ0 versus Ha: ฮผ โ ฮผ0, when the population is normal and population variance ฯ2 is unknown. Solution: For a 2-sided test of H0: ฮผ = ฮผ0 versus Ha: ฮผ โ ฮผ0, when the population is normal and population variance ฯ2 is unknown, we have:
2 2
0, : ,0 and
2 2, : ,0
The likelihood under the null hypothesis is:
n
i i
n
in
ix
x
LL
1
2
02
2
22
2
0
1 2
2
0
2
1exp
2
1
2exp
2
1
,
There is one free parameter, ฯ2, in L . Now we shall find the
value of ฯ2 that maximizes the log likelihood
22
02 1
1ln ln 2
2 2
n
ii
nL x
. By solving
2
02 2 4 1
ln 10
2 2
n
ii
d L nx
d
, we have
22
01
1ห
n
iix
n
It is easy to verify that this solution indeed maximizes the loglikelihood, and thus the likelihood function. The likelihood under the alternative hypothesis is:
n
i i
n
in
ix
x
LL
1
2
2
2
22
2
1 2
2
2
1exp
2
1
2exp
2
1
,
There are two free parameter ฮผ and ฯ2 in L . Now we shall
find the value of ฮผ and ฯ2 that maximizes the log likelihood
n
i ixn
L1
2
2
2
2
12ln
2ln
.
By solving the equation system:
2 1
ln 10
n
ii
Lx
and
2
2 2 4 1
ln 10
2 2
n
ii
L nx
![Page 16: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/16.jpg)
16
we have xฬ and 22
1
1ห
n
iix x
n
It is easy to verify that this solution indeed maximizes the loglikelihood, and thus the likelihood function. Therefore the likelihood ratio is:
2
2
2
22 2
00 0 1
2 2
2,
2
1
2 2 22 2
0 0 01 1
2 2
1 1
exp2ห 2max , ,ห
ห ห หmax , ,
exp22
1
n
n
ii
n
n
ii
n nn n
i ii i
n n
i ii i
n n
xL LL
L LLn n
x x
x x x n x n x
x x x x
2 2
2
1
2 2
01
1
n
n
ii
n
x x
t
n
Therefore, the likelihood ratio test that will reject H0 when
* is equivalent to the t-test that will reject H0 when 0t c ,
where c can be determined by the significance level ฮฑ as
1, / 2nc t .
![Page 17: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/17.jpg)
17
Likelihood Ratio Test (one population mean, normal population, one-sided)
1. Let ๐(๐ฅ๐|๐) =1
โ2๐๐2๐โ(๐ฅ๐โ๐)
2
2๐2 , ๐๐๐ ๐ = 1,โฏ , ๐, where ๐2 is
known. Derive the likelihood ratio test for the hypothesis
๐ป0: ๐ = ๐0 ๐ฃ๐ . ๐ป๐: ๐ > ๐0.
Solution:
๐ = {๐: ๐ = ๐0} ๐ = {๐: ๐ โฅ ๐0}
Note: Now that we are not just dealing with the two-sided
hypothesis, it is important to know that the more general
definition of ๐ is the set of all unknown parameter values
under ๐ป0, while ๐ is the set of all unknown parameter values
under the union of ๐ป0 and ๐ป๐.
Therefore we have:
{
๐ฟ๐ = ๐(๐ฅ1, ๐ฅ2, โฏ , ๐ฅ๐|๐ = ๐0) =โ๐(๐ฅ๐|๐ = ๐0)
๐
๐=1
=โ1
โ2๐๐2๐โ(๐ฅ๐โ๐0)
2
2๐2
๐
๐=1
= (2๐๐2)โ๐2๐
โ12๐2
โ (๐ฅ๐โ๐0)2๐
๐=1
๐ฟฮฉ = ๐(๐ฅ1, ๐ฅ2, โฏ , ๐ฅ๐|๐ โฅ ๐0) =โ๐(๐ฅ๐|๐ โฅ ๐0)
๐
๐=1
=โ1
โ2๐๐2๐โ(๐ฅ๐โ๐)
2
2๐2
๐
๐=1
= (2๐๐2)โ๐2๐
โ12๐2
โ (๐ฅ๐โ๐)2๐
๐=1
Since there is no free parameter in ๐ฟ๐,
sup(๐ฟ๐) = (2๐๐2)โ
๐
2๐โ
1
2๐2โ (๐ฅ๐โ๐0)
2๐๐=1 .
โต
{
๐๐๐๐๐ฟฮฉ
๐๐=๐
๐2(๏ฟฝฬ ๏ฟฝ โ ๐)
๐2๐๐๐๐ฟฮฉ๐๐2
= โ๐
๐2< 0
,
โด sup(๐ฟฮฉ) = {(2๐๐2)โ
๐2๐
โ12๐2
โ (๐ฅ๐โ๏ฟฝฬ ๏ฟฝ)2๐
๐=1 , ๐๐ ๏ฟฝฬ ๏ฟฝ > ๐0
(2๐๐2)โ๐2๐
โ12๐2
โ (๐ฅ๐โ๐0)2๐
๐=1 , ๐๐ ๏ฟฝฬ ๏ฟฝ โค ๐0
.
![Page 18: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/18.jpg)
18
โด ๐ =sup(๐ฟ๐)
sup(๐ฟฮฉ)= {๐
โ๐2๐2
(๏ฟฝฬ ๏ฟฝโ๐0)2
, ๐๐ ๏ฟฝฬ ๏ฟฝ > ๐01, ๐๐ ๏ฟฝฬ ๏ฟฝ โค ๐0
.
โด ๐(๐ โค ๐โ|๐ป0) = ๐ผ โ ๐ (๐0 =๏ฟฝฬ ๏ฟฝ โ ๐0๐ โ๐โ
โฅ โโ2๐๐๐โ|๐ป0) = ๐ผ.
โด Reject ๐ป0 in favor of ๐ป๐ if ๐0 =๏ฟฝฬ ๏ฟฝโ๐0
๐ โ๐โโฅ ๐๐ผ
2. Let ๐1, ๐2, โฆ๐๐ ~๐(๐, ๐2), where ๐2 is known
Find the LRT for ๐ป0: ๐ โค ๐0 ๐ฃ๐ ๐ป๐: ๐ > ๐0
Solution:
๐ = {๐: ๐ โค ๐0} ๐ = {๐: โ โ < ๐ < โ}
Note: Now that we are not just dealing with the two-sided
hypothesis, it is important to know that the more general
definition of ๐ is the set of all unknown parameter values
under ๐ป0, while ๐ is the set of all unknown parameter values
under the union of ๐ป0 and ๐ป๐.
(1) The ratio of the likelihood is shown as the following,
๐ = ๐ฟ(๏ฟฝฬ๏ฟฝ)
๐ฟ(ฮฉฬ)
๐ฟ(๏ฟฝฬ๏ฟฝ) is the maximum likelihood under ๐ป0: ๐ โค ๐0
๐ฟ(๏ฟฝฬ๏ฟฝ) =
{
(
1
2๐๐2)๐/2
exp (โโ(๐ฅ๐ โ ๏ฟฝฬ ๏ฟฝ)
2
2๐2) , ๏ฟฝฬ ๏ฟฝ < ๐0
(1
2๐๐2)๐/2
exp(โโ(๐ฅ๐ โ ๐0)
2
2๐2) , ๏ฟฝฬ ๏ฟฝ โฅ ๐0
๐ฟ(ฮฉฬ) is the maximum likelihood under ๐ป0 ๐ข๐๐๐๐ ๐ป๐
๐ฟ(ฮฉฬ) = (1
2๐๐2)๐/2
exp (โโ(๐ฅ๐ โ ๏ฟฝฬ ๏ฟฝ)
2
2๐2)
The ratio of the maximized likelihood is,
๐ = {
1, ๏ฟฝฬ ๏ฟฝ < ๐0
๐๐ฅ๐ (โ(โ(๐ฅ๐ โ ๐0)
2 โ โ(๐ฅ๐ โ ๏ฟฝฬ ๏ฟฝ)2)
2๐2) , ๏ฟฝฬ ๏ฟฝ โฅ ๐0
โ
๐ = {1, ๏ฟฝฬ ๏ฟฝ < ๐0
๐โ๐(๏ฟฝฬ ๏ฟฝโ๐0)
2
2๐2 , ๏ฟฝฬ ๏ฟฝ โฅ ๐0
![Page 19: Power of the Test & Likelihood Ratio Testzhu/ams570/Lecture18_570.pdftest at the significance level of 0.05? Solution: ๐ป0: = 0=525 ๐ป๐: = ๐=550> 0 Power = P(Reject H0 |Ha)](https://reader033.vdocuments.site/reader033/viewer/2022042903/5f60eaa58ff1544e9e38dc97/html5/thumbnails/19.jpg)
19
By LRT, we reject null hypothesis if ๐ โค ๐โ. Generally, ๐โ is
chosen to be less than 1. The rejection region is,
๐ = {๐ โถ ๐โ๐(๏ฟฝฬ ๏ฟฝโ๐0)
2
2๐2 โค ๐โ } = {๐: ๏ฟฝฬ ๏ฟฝ โฅ ๐0 +โโ2๐2
๐ln ๐โ}
โด ๐(๐ โค ๐โ|๐ป0) = ๐ผ โ ๐ (๐0 =๏ฟฝฬ ๏ฟฝ โ ๐0๐ โ๐โ
โฅ โโ2๐๐๐โ|๐ป0) = ๐ผ.
โด Reject ๐ป0 in favor of ๐ป๐ if ๐0 =๏ฟฝฬ ๏ฟฝโ๐0
๐ โ๐โโฅ ๐๐ผ
Now we have shown that the one-sided hypothesis tests for the
following pairs of hypotheses are indeed, the same.
0 0 0 0
0 0
: :
: :a a
H H
H H