Testing of Hypothesis A02
Testing of Hypothesis A02
0 if Mil > |2) (right sided)
git) [21> #02 if Ai(4 #2) (both sided)
where a is the area under standard normal curve enclosed
yetween the ordinates z=2, and :—= as shown in the
adjacent
Note. If the two samples are taken from any population
and if the two sample sizes n, and n, are large then the above
orem is also true.Moreover if the population s.do, and 6,
not known then we may think o,=S,,0,=5, where
5,5; are sample standard deviations.
But if the sample sizes are
small (< 30) and the two samples t-curve
are not drawn from normal
tions then the following
theorem shows the shows the
method of testing the
Theorem 2. If o is unknown,
he nya (m +2 -2) X-%
mtn, In S? + nS?
is the test statistic which is a students t variate with
1, +n; -2 degrees of freedom where 5?,S? are variances of the
two samples respectively. Accordingly the C.R is
(i) t, if Hy(ps > 2)
(right sided)
(ii) |1|> raya if (hs #2)
(both sided)
where g is the area under t- ta
furve with n,+n,-2 d.o.f
‘nelosed between the
tes (= 1, and ¢ =~ as shown in the adjacent figure
EM-1y.253-30 ENGINEERING MATHEMATICS, py
Mlustration. meaieeat Uh ty rand (
Let two samples be drawn from tw: 1,9) and (j1;,9)
normal populations. The details of the two samples are
P .d
size mean 8.
6 7.62 0.024
5 7.49 0.032
We are to test the null hypothesis Ho(i) =H2),6 is not
given, with the help of the above sample-obsorvations, We
choose the test statistic
es ning (m +m —2) =
au ny +My mis +n;S}
which is a student-t variate with m+n, -2 degrees of
freedom. Corresponding to the drawn sample the computed
value of
6x 5(6+5-2) 152-7.49
t= |————_- = 7 = 1.60496
6+5 6x (0.024)? +5 (0.032)
having d.o.f 6+5-2=9.
Let the alternative hypothesis be //(j1; > #12), right sided.
From the statistical table we see P(¢ > 2.26) = 0.025 corresponding
todof 9.
So at 0.025 level of significance the OR is (>226 ©
corresponding to d.o.f 9. Here the computed value 1.60496
does not lie in this region. So we accept Hy and conclude ith
two means of the two populations are equal” at 2.5% level o
significance.
Illustrative Examples.
Ex. 1. The means of two large samples of sizes 1000 and 2000
are 67.5 and 68.0 respectively, Test the equality of means of
the two normal populations each with s.d, 2.5 at 0,5% level.
Given area under st, normal curve is 0,25 enclosed between
the ordinates ==0 and ==00987,
Let the two population means be j, and j). The two 4.
0, =0) =25. The two sample means ¥,=675 % = 680.
We take the null hypothesis A(t; =}12) against the
alternative hypothesis //\(\1; #41). CE cepssTINGOFHYPOTHESIS 3:31
We take the test statistic z= . 2 : whichiis
ormally distributed. (25)° , (2.5)
i 1000 2000
corresponding to this sample the computed value of
75-680 -05 ~0.
ae yi 1 i = aay S642.
25,J—— + —— ‘
1000” 2000
Since H, is taken, both sided so from given data the critical
region is |z|>.0987 at 5% level of significance. Here for the
computed value |z|=|-51642|>0987. So Hy is rejected. We
conclude the two population means are not same. °
Ex. 2. A college conducts both day and night classes intended
to be identical. A sample of 100 days student yields
examination results as under:
72724} 0, =148
A sample of 200 night students
yields examination results as
under :
¥=739; 6, =179
Are the two means statistically
equal at 10% level ? Given
P(0<2< 1645) =05.
—0981 0987
Suppose the populations are normal. [Infact this assumption
is not necessary if the sample size is large (>30)]
Take the null hypothesis Ho(ui=H2) against A\(i;#H2)
where 1;,u) are the two population means.
Here, means of the two sample, %,=724, %=739
s.d. of the two samples, S,=148, S) =17.9
size of the two samples, m =100, m =200-
Since the sample size are too large so though the s.d of
Population-are unknown we take the test statistic3-32 ENGINEERING MATHEMA TICS.1y
which is standard normal variate, Computeq
2
724-739 _
2 2
(148) 4
value of z= -0.77.
V 100 * 200
Since 4, is both sided and since P(0
226)=05] |
Two independent random samples of size 8 and 6 having
mean 38.4 and 33.7 are drawn from two norm!
populations. The sum of the squares of deviation from ink
respective sample mean are 20.8 and 15.7. Do you t ved
the population mean of the first is the larger ?
01 =2.68 , fo95=3.06 for 12 d.o.f.a-49
ppsting OF HYPOT
‘Ten soldiers visit a rifle range for two consecutive weoks.
Their scores are :
glider A B CD FE F GH dl Jd
ist Week: 67 24 67 566 63 64 66 68 33 43
gnd Week:70 38 68 68 66 67 68 72 42 38
Examine if there is any significant improvement in their
erformance, Assume tho riflo-rango is normally
distributed with same s.d, Given 19,282 for 9 d.o.f,
‘Two independent samples are drawn. from two normal
ae populations with common s.d. The followings aro observed ;
size mean variance
First Sample: 9 600 121
Second Sample : 8 640 144
Test at 5% level of significance whether the two
populations have same mean. Given f25,5 = 2.13.
18, What is the test statistic which is used ta test the equality
of two means of two normal populations when their
common s.d. is unknown,
19. A sample of size 10 is drawn from each of two normal
populations with the same unknown variance and the following
result are obtained ;
Mean Variance
Sample I ui 26
Sample] : 4 10
Test at 5% significance if the two populations have the
same mean. Given the following data.
Statistic d.o.f. Value at 5% level
t 18 2.101
_ 1.96
z
2%. A die is rolled 60 times and the following results are
observed ;
Face-point: 1 2 8 4 & 6 Total
No. oftimes; 6 10 8 13 1 12s «60
occured
Are the data consistent with the thesis that the die
is unbiased ? (Given x}, «1509 for 6 dogroes of freedom.60
ak
22,
23.
24,
1
4
1,
8.
10.
1k.
RNGINEERING MATHEMATICS. 1y
rl f poa-br ing results
In an exporimont of pea-breeding the follow! ary
obtained, Round ead Yollow —= G16 j wrinkled and yellow,
—101, Round and green = 108 ; wrikled and greon —
82, Total —-656, According to theory we should get the
frequeney ratio as 913; 3 iL of pe above mentioned
varletion. Examine at 6% lovol of significance whether (|
rowult obtained in the experiment agree with the theory,
i 0 7.816,
6% value of x? for 3 dott
n at random from a pee ofa
200 digits from 0 to 9 are taken |
a raaresson number table. The frequency distribution of
the digit is given :
Digit 2150, sedi earr8 S4VNO CP 87 Bie 9
19 18 21 16 26 22 20 21 9
Frequency: 18
Can this be regarded as random ? Given Xbs9 "1692,
(Hint ; Random No. means drawing of every digit would
bo equiprobable, i.e, probability of the digit 0, 1, 2, .., are
Nigga:
10°10"10 °
In 60 throws of a die, face one turned’ up 6 times, face
two or three 18 times, face four or five 24 times, and face
six 12 times. Test at 10% significance level if the die is
honest, it being given that P(x? >625)=0.1 for 3 degrees
of freedom.
In 360 tosses of a pair of dice, 74 sevens and 24 elevens
are observed. Using 0.05 significance level, test the
hypothesis that the dice are fair. Given 13, = 384 for 1d.o.f
ANSWERS
(a) 1/32 (b) 0.268 8. No; |x] =25>196
No. |x/=333 6,0.065 11. z=-10, Ho( = 006) is true
=9,69 ; There is significant difference
., respectively }
:=074;employment scope issame 9. No; z=32!
r=-704, there is significance difference in the mean
yields of crops.
£=-284, ‘There is difference! at 6% level 12. yes #=-)9pstiNG OF HYPOTHESIS 3-61
_-228, 1st population’s mean may not be smaller than
15: ond population's mean
14. No. ie. H(i #h2) is rejected ; ;=167 15. yes; 1=4.99
36, No. ¢=204 17. ¢=-674, not same
_ (=)
18." TstamspV mm
1215, the two means are equal 20. ?=34; The die is
unbiased
Ik the t variate
19.
gi. 7220515 experimental result agrees with the theory
ga, yes; 77=63 23. yes, y2=30 24.x?=407; not fair
pou LonG ANSWERS QUESTIONS
1. The proportion of defective items in a large lot of items is
p.Te test the hypothesis p=02, we take a random sample
‘of 8 items and accept the hypothesis if the number of
defectives in the sample is 6 or less. Find the probability
of Type I error of the test. What is the Type Il error if
p=03? (W.B.U.Tech.2008}
2, Let p dente the probability of getting a head when a
given coin is tossed once. Suppose that the hypothesis
Ho:p=05 is rejected in favour of A,:p=06 if 10 trials
result in 7 or more heads. Calculate the probability of Type
land Type II error.
1
3. Given the density function (%8)=5, Osx
=0, elsewhere
and that you are testing the null hypothesis f:6=1
against H,:0=2 by means of a single observed value 4.
Determine the size (i.e. probability) of Type I and Type
Il error if you chose the interval 05