Inference
Inference
=1-8x(0.1) x0.9-(0.1)*
=1-000000072- 000000001
-0,99999927.
The power ofthe test corresponding to p =0.I
=1-P (type ll error p= 0.)
= 0.00000073.
Example 6.2 Tocxamine the claim ofa reputed publisher that m, the average
number of misprints per page of a book, is 1, ifa particular page of that book
contains morethan 2 misprints, then the nullhypothesis that m= 1is rejected.
What is the probability of type Ierror ?Find the power of this test when the
alternative hypothesis is m=2. Given that e = 0.368.
LetXbe the number of misprintsper page of thebook. Here Xis Poisson (m).
We want to test the null hypothesis H,: m=l
The test rule is : reject H, if observed X> 2; do not reject H, otherwise.
Then
=|-0.135424 x 5
=|-0.67712
= 0.32288.
476 PROBABILITY AND STATISTICAL INFERENCE: Theory and Practi
Example 6.3 A coin is to be tested for unbiasedness. The hypothesis that itis
unbiased is rcjccted if 9 or more tosses of the coin out of 10 tosses result in
heads. Can we take 1% as level of significance? Can you suggest an appropriate
level of significance for this test rule?
Let X bc the number of heads resulted in 10 tosses of a coin. Let p be the
probability of obtaining a hcad for cach toss.
Then Xis bin(10,p). If the coinis unbiased, p=;.
1
We want to test HÍ :p=;
The test rule says that 'reject Ho if observed X>9.'
P (type lerror) =P (rejecting HÍ | Ho is true)
= P(X>9lp=)
= P(X =9) + P(X=10), when p =
11
1024
=0.01074> 0.01.
Note that the size of the test or P (type I error) < a, the level of the test.
Therefore, we cannot take 1% as the level of significance here. But we can
carry out the test at 5% level, since P(typeIerror) = 0.01074<0.05.
Note: Actually we define our test rule in such away that the level =a. Here the
test rule is such that the level cannot be 1%. It is possible totake a =0.05 here.
Test statistic: Astatistic, a function of sample observations, used to test the null
hypothesis is known as a test statistic. Aconclusion to reject or not to reject HÍ
is bascd on the value of the test statistic, observed in a samplc selected.
There are two approaches for making adecision regarding rejection or non
rejection of H, viz.,
p-value approach
critical value approach.
Both the approaches lead to the same conclusion. (vide Examples 6.4, 6.5,
6.6). Let usfirst define p-value and critical value.
p-value: p-value is the probability that a test statistic will take the value as
Cxtreme as or more extreme than the one actually observed, when H, is true. lt
is also known as observed level of significance.
TEST OF HYPOTHESIS 477
aga
Iheoren we
Since and Thus and Here () test.the observed ond
interval
Solution.
Here
obtain
the
=1,
Example
ß
under
power
(ii) the Similarly, Solution.
(i) you
that distributiodenfined Hence INFERENCE-
Example STATISTICAL I
on .. value in
values the B(x:1sxs1-5) afunction = sizes
W 0:5
are if
termsof T=
basis18-2. Power =P{xe := = Ho of Here Sx, of 18-1. X1,
of =1- P(xe type B W W
(11)What
testing
x. fx , e)
X2, f(x)
type of Given of
Function
the Ifx 1, of I =P{xe = = (x = = we
a W and
I
single 21 TAx,
5
WI9=1}
WI fx , -La,
the and 05 P{0.5 P{xe
:xs05) x:0-5 want SxS1:5 w0uld 1 th e -
,Xp th
sufficient
e is
W
0) test type nul l
elsewlhere0,
the =x:84,=
=type f(x, is Sxs1 WI Sx}= marginal (x:go,
=Size
(x:x1) observation the 1-ß = 9) =2) 0,= = WIH}} to hypothesis be freq1uency
0SxsO ,
Il 0) critical Jo - = for =| 1- ll e) HÍ} test asthe
of errors. = =z1-P(xE
dx errors }lo-z | (x:x the statistic((x)) (t
TypeI 1 1 1-5
ß= e= = Ho: sizes
exp 1- sxs
0-75 are dx =P 1) P{x critical distribution
function (x)).
and
from region 0-75 1 = lAx =1, of HÍ
error W= x),
(- 1:5. = (xs 0-5 = 205 0-5) the := for k.> h
(x)
the for
0-25
= WI0=15 respectively j0-dx25 = 05
e)
Jo
0:541 against regions type : 9 8a,
{x:x<1) = population, 0testing -1 | fx, 0=1)
| 1 then((x), >
Sx<a, 0-75 =
0
against 1 of k.
[xe P 2) dx = HË:0=2. ?and ga,
Ho =0, 2) 0)J= =
Al so Tthe (t(x))
=k>0
WIand :
a
= P{0-5
H,:0=
type t(x),
=2 dx obtain MPCR
HJ HÍ
0:5 II h(«)}, .
:0=2, and < errors, 2, rather for
= against xse|0= the by k>
P[x B 1. pover means
if the
21 = dx you than
H the 0-25 = test 0
|=2] :0= alternative 0-5 1} function cho0se of the may
a 18-11
1. single joint
of th e be