Toh
Toh
Toh
1
Alternative hypothesis: Any hypothesis which is complimentary to
the Null hypothesis is called an alternative hypothesis. It is usually
denoted by H1.
Wrong Correct
H0 True (Type I error)
Critical values:
t-test
Test for Single mean:
H0: = 0
3
H1: 0 (or) > 0 (or) < 0
[Any one of these 3 conditions depends on the given problem]
Level of significance:
Appropriate level of significance is % (given/chosen)
Test Statistic:
To test the above hypotheses the test statistic is given by
x −μ
t= ~ t n−1 at α% level of significance
s n
Inference:
1) If it is a two tailed test (), Reject H0 if tcal t/2,n-1. Otherwise
accept H0.
2) If it is a right tailed test (>), Reject H0 if tcal t,n-1. Otherwise
accept H0.
3) If it is a left tailed test (<), Reject H0 if tcal -t,n-1. Otherwise
accept H0.
4
and their heights (in inches) are given below. Test whether the
sample comes from a normal population whose mean height is 66
inches or not at 5% level of significance?
63,63,66,67,68,69,70,70,71,71.
Sol:-
H0: = 66
H1: 66
Level of significance:
Appropriate level of significance is 5% (given)
Test Statistic:
To test the above hypotheses the test statistic is given by
x −μ
t= ~ t n−1 at α% level of significance
s n
x=
x i
= 67.8
n
s=
(x i − x) 2
= 3.0111
n −1
67.8 − 66
t= = 1.89 ~ t 9 at 5% level of significance
3.0111 10
Inference:
The tabulated value of t at 5% level of significance for 9
degrees of freedom in a two tailed test is 2.262.
[t/2,n-1=t0.05/2,10-1=t0.025,9=2.262]
Here, tcal < t/2,n-1 . So, we accept H0. Hence we conclude that
the sample comes from the population whose mean value is 66inches
2) A sample of 10 boys had the following I.Qs. 70, 120, 110, 101, 88,
83, 95, 58, 107, 110. Do these data support the assumption of a
population mean I.Q of 100? Test at significant at α=0.05.
5
Sol:-
H0: =100
H1: 100
Level of significance:
Appropriate level of significance is 0.05 (given)
Test Statistic:
To test the above hypotheses the test statistic is given by
x −μ
t= ~ t n−1 at α% level of significance
s n
x=
x i
= 97.2
n
s=
(x i − x) 2
= 13.541
n −1
Inference:
The tabulated value of t at 5% level of significance for 9
degrees of freedom in a two tailed test is 2.262
[t/2,n-1=t0.05/2,10-1=t0.025,9=2.262]
Here, tcal < t/2,n-1 . So, we accept H0. Hence we conclude that
population mean. I.Q is 100.
x −μ
t= ~ t n−1 at α% level of significance
s n
x=
x i
= 49.1111
n
s=
(x i − x) 2
= 2.62
n −1
Inference:
The tabulated value of t at 1% level of significance for 8
degrees of freedom in a two tailed test is 3.355
[t/2,n-1=t0.01/2,10-1=t0.005,9=3.355]
Here, tcal < t/2,n-1 . So, we accept H0. Hence we conclude that
There is no significant difference between sample mean and the
population mean.
7
H0: = 14.0
H1: 14.0
Level of significance:
Appropriate level of significance is 5% (given)
Test Statistic:
To test the above hypotheses the test statistic is given by
x −μ
t= ~ t n−1 at α% level of significance
s n
x=
x i
= 14.4
n
s=
(x i − x) 2
= 0.1581
n −1
Inference:
The tabulated value of t at 5% level of significance for 4
degrees of freedom in a two tailed test is 2.776
[t/2,n-1=t0.05/2,5-1=t0.025,4=2.776]
Here, tcal > t/2,n-1 . So, we reject H0. Hence we conclude that
14.0
8
H1: < 180
Level of significance:
Appropriate level of significance is 1% (given)
Test Statistic:
To test the above hypotheses the test statistic is given by
x −μ
t= ~ t n−1 at α% level of significance
s n
Inference:
The tabulated value of t at 1% level of significance for 4
degrees of freedom in a left tailed test is -3.747
[-t,n-1=-t0.01,5-1=-t0.01,4=-3.747]
Here, tcal < -ttab . So, we reject H0. Hence we conclude that
<180 pounds.
9
H1: 58,000 psi
Level of significance:
Appropriate level of significance is 5% (given)
Test Statistic:
To test the above hypotheses the test statistic is given by
x −μ
t= ~ t n−1 at α% level of significance
s n
Inference:
The tabulated value of t at 5% level of significance for 5
degrees of freedom in a two tailed test is 2.571
[t/2,n-1=t0.05/2,6-1=t0.025,5=2.571]
10
s s
[ x − t α/2,n −1. , x + t α/2,n −1. ]
n n
x=
x i
= 12.8375
n
s=
(x i − x) 2
= 1.2235
n −1
[t/2,n-1=t0.0 1/2,8-1=t0.005,7=3.499]
9) The mean weight loss of n=16 grinding balls after certain length of
time in a mill slurry is 34.2 gms with a standard deviation of 0.68
gms. Construct a 95% confidence interval for the true mean loss of
such grinding balls.
Sol:-
The 100(1-)% confident limits for the population mean are
11
s s
[ x − t α/2,n −1. , x + t α/2,n −1. ]
n n
Given x = 34.2, s = 0.68, n = 16
[t/2,n-1=t0.05/2,16-1=t0.025,15=2.947]
12
Appropriate level of significance is % (given/chosen)
Test Statistic:
To test the above hypotheses the test statistic is given by
(x - y) − (μ x − μ y )
t= ~ t n1 + n 2 −1 at α% level of significance
1 1
S +
n1 n 2
Inference:
1) In a two tailed test (), Reject H0 if t cal t α/2, n1 + n 2 − 2 .
Otherwise accept H0.
2) In a right tailed test (>), Reject H0 if .
t cal t α, n1 + n 2 − 2
Otherwise accept H0.
3) In a left tailed test (<), Reject H0 if t cal − t α, n 1 + n 2 − 2
Otherwise accept H0.
Confident Limits: The 100(1-)% confident limits for the
population mean are given by:
1). In a two tailed test ():
1 1 1 1
[( x - y) − t α/2,n −1S + , (x - y) − t α/2,n −1S + ]
n1 n2 n1 n2
2). In a right tailed test (>):
1 1 1 1
[( x - y) − t α,n −1S + , (x - y) − t α,n −1S + ]
n 1 n2 n 1 n2
13
Use 0.01 level of significance to test whether the difference
between the means of these two samples is significant?
Sol:-
H0: x = y
H1: x ≠ y
Level of significance:
Appropriate level of significance is 1% (given)
Test Statistic:
To test the above hypotheses the test statistic is given by
(x - y) − (μ x − μ y )
t= ~ t n1 + n 2 −1 at α% level of significance
1 1
S +
n1 n 2
x=
x i
= 8230 y=
y i
= 7940
n1 n2
S=
(x i − x) 2 + (y i − y) 2
= 114.31
n1 + n2 − 2
Under H0, the test statistic is given by
(x - y) − (μ x − μ y )
t= ~ t n1 + n 2 −1 at α% level of significance
1 1
S +
n1 n 2
x=
x i
= 68, y=
y i
= 67.8
n1 n2
S=
(x i − x) 2 + (y i − y) 2
=
60 + 153.6
= 3.906
n1 + n2 − 2 14
3) The following are the no. of sales which a sample of 9 sales people
of industrial chemicals in California and a sample of 6 sales people
of industrial chemicals in Oregon made over a certain fixed period
of time ?
California 59 68 44 71 63 46 69 54 48
Oregon 50 36 62 52 70 41
Test the null hypothesis x - y = 0 against the alternative
hypothesis x - y ≠ 0 at 0.01 level of significance.
15
Sol:-
H0: x - y = 0
H1: x - y ≠ 0
Level of significance:
Appropriate level of significance is 1% (given)
Test Statistic:
To test the above hypotheses the test statistic is given by
(x - y) − (μ x − μ y )
t= ~ t n1 + n 2 −1 at α% level of significance
1 1
S +
n1 n 2
x=
x i
= 58, y=
y i
= 51.83
n1 n2
S=
(x i − x) 2 + (y i − y) 2
= 11.3572
n 1 + n2 − 2
Under H0, the test statistic is given by
4) Samples of two types of electric bulbs were tested for length of life
and the following data is obtained. Is the difference in the means
sufficient to warrant that type I is superior to type II regarding
length of the life.
Type I Type II
Sample No. 8 7
Mean 1234 hours 1036 hours
Sample S.D 36 hours 40 hours
Sol:-
16
H0: x = y
H1: x > y
Level of significance:
Appropriate level of significance is 5% (chosen)
Test Statistic:
To test the above hypotheses the test statistic is given by
(x - y) − (μ x − μ y )
t= ~ t n1 + n 2 −1 at α% level of significance
1 1
S +
n1 n 2
( n1 − 1) s x + ( n2 − 1) s y
2 2
7 36 2 + 6 40 2
S= = = 37.8986
n1 + n2 − 2 13
17
To test the above hypotheses the test statistic is given by
(x - y) − (μ x − μ y )
t= ~ t n1 + n 2 −1 at α% level of significance
1 1
S +
n1 n 2
S=
(x i − x) 2 + (y i − y) 2
=
90 + 108
= 3.1464
n1 + n 2 − 2 20
d − μd
t= ~ t n −1 at α% level of significance
sd n
18
Inference:
1) If it is a two tailed test (), Reject H0 if tcal t/2,n-1. Otherwise
accept H0.
2) If it is a right tailed test (>), Reject H0 if tcal t,n-1. Otherwise
accept H0.
3) If it is a left tailed test (<), Reject H0 if tcal -t,n-1. Otherwise
accept H0.
sd s
[ d − t α,n −1. , d + t α,n −1. d ]
n n
3) If it is a left tailed test (<):
sd s
[ d − (− t α,n −1 ). , d + (− t α,n −1 ). d ]
n n
19
Level of significance:
Appropriate level of significance is 5% (given)
Test Statistic:
To test the above hypotheses the test statistic is given by
d − μd
t= ~ t n −1 at α% level of significance
sd n
di 9 13 2 5 -2 6 6 5 2 6
d=
d i
= 5.2
n
sd =
(d i − d) 2
= 4.08
n −1
5.2 - 0
t= = 4.030 ~ t 9 at 5% level of significance
4.08 10
Inference:
The tabulated value of t at 5% level of significance for 9
degrees of freedom in a right tailed test is 1.833
[t,n-1=t0.05,10-1=t0.05,9=1.833]
Here, tcal < t,n-1 . So, we accept reject H0. Hence we conclude that
The safety program is not useful
Sol:-
H0: d = 0
H1: d ≠ 0
20
Level of significance:
Appropriate level of significance is 1% (given)
Test Statistic:
To test the above hypotheses the test statistic is given by
d − μd
t= ~ t n −1 at α% level of significance
sd n
d=
d i
= −1.6666
n
sd =
(d i − d) 2
= 25.216
n −1
- 1.6666 - 0
t= = −0.1618 ~ t 5 at 1% level of significance
25.216 6
Inference:
The tabulated value of t at 1% level of significance for 5
degrees of freedom in a two tailed test is 4.032
[t/2,n-1=t0.005,5=4.032]
Here, tcal < ttab. So, we accept H0.
21
d − μd
t= ~ t n −1 at α% level of significance
sd n
di 5 2 8 -1 3 0 -2 1 5 0 4 6
d=
d i
= 2.58
n
sd =
(d i − d) 2
= 3.09
n −1
2.58 - 0
t= = 2.89 ~ t11 at 5% level of significance
3.09 12
Inference:
The tabulated value of t at 5% level of significance for 11
degrees of freedom in a left tailed test is -1.796
[-t,n-1=-t0.05,10-1=-t0.05,9=-1.796]
Here, tcal > t,n-1 . So, we accept H0. Hence we conclude that
the stimulus has no effect on blood pressure.
2
=
(x i - x) 2
~ 2 n -1 at α% level of significance
2
22
(n - 1)s 2
=
2
~ 2 n -1 at α% level of significance
2
Inference:
1) If it is a two tailed test (), Reject H0 if χ2cal χ2α/2,n-1.
Otherwise accept H0.
2) If it is a right tailed test (>), Reject H0 if χ2cal χ2α,n-1.
Otherwise accept H0.
3) If it is a left tailed test (<), Reject H0 if χ2cal ≤ χ21-α,n-1.
Otherwise accept H0.
(n − 1)s 2 (n − 1)s 2
2 , 2
χ
α/2,n −1 χ 1-α/2,n −1
(n − 1)s 2 (n − 1)s 2
2 , 2
χ
α,n −1 χ 1-α,n −1
23
(n - 1)s 2
=
2
~ 2 n -1 at α% level of significance
2
2. The lapping process which is used to grind certain silicon wafers to the
proper thickness is acceptable only if σ, the population standard deviation
is at most 0.5mil. Use 0.05 level of significance to test the null hypothesis
σ=0.5 mil against the alternative hypothesis σ>0.5 mil, if the thickness of
15 wafers have a standard deviation of 0.64 mil.
Sol:-
H0: σ=0.5mil
H1: σ>0.5mil
Level of significance:
Appropriate level of significance is 5% (given)
Test Statistic:
To test the above hypotheses the test statistic is given by
24
(n - 1)s 2
=
2
~ 2 n -1 at α% level of significance
2
25
(n - 1)s 2
=
2
~ 2 n -1 at α% level of significance
2
26
2
=
(x i - x) 2
~ 2 n -1 at α% level of significance
2
5). While performing a task, the pulse rate of 25 workers increased on the
average by 18.4 beats per minute with a standard deviation of 4.9
beats/min. Find 95% confidence intervals for the corresponding
population standard deviation . Test the null hypothesis σ2=30.0 against
the alternative hypothesis σ2<30.0
Sol:- Part-A
H0: σ2=30.0
H1: σ2<30.0
Level of significance:
Appropriate level of significance is 5% (given)
Test Statistic:
To test the above hypotheses the test statistic is given by
27
(n - 1)s 2
= 2
~ 2 n -1 at α% level of significance
2
Part-B
The 100(1-α)% confident limits for the population variance in the left
tailed test are given by
(n − 1)s 2 (n − 1)s 2 24 4.9 2 24 4.9 2
2 , 2 = 2 , 2
χ
α,n −1 χ 1-α, n −1
χ 0.05,24 χ 0.95,24
576.24 576.24
36.415 , 13.484
S2x
F = 2 ~ Fn1-1,n2-1 at α% level of significance
Sy
28
Inference:
1) If it is a two tailed test (), Reject H0 if Fcal Fα,n1-1,n2-1.
Otherwise accept H0.
2) For both right tailed and left tailed tests (>, <), Reject H0 if
Fcal ≤ F,1-α,n1-1,n2-1. Otherwise accept H0.
Note:-
Fcal≥1 i.e the calculated value of F must be always greater
than or equal to !. If not the test statistic becomes 1/F.
1). Random samples from two normal populations are given below
Sample 1 16 26 27 23 24 22
Sample 2 33 42 35 32 28 31
29
S2x
F = 2 ~ Fn1-1,n2-1 at α% level of significance
Sy
x = 23, S 2
=
(x i − x) 2
= 15.2
n1 − 1
x
y = 33.5, S 2
=
(y i − y) 2
= 22.7
n2 −1
y
15.2
F= = 0.6696 1 ~ F5,5 at 5% level of significance
22.7
22.7
F= = 1.4934
15.2
Inference:
The table value of F at 5% L.O.S for (5,5) d.f is 5.05.
Fα,n2-1,n1-1=F0.05,5,5=5.05
Fcal < Ftab, We accept H0.
30
Test Statistic:
To test the above hypotheses the test statistic is given by
S2x
F = 2 ~ Fn1-1,n2-1 at α% level of significance
Sy
x = 11.75, S 2
=
(x i − x) 2
= 4.786
n1 − 1
x
y = 10.43, S 2
=
(y i − y) 2
= 3.952
n2 −1
y
4.786
F= = 1.21 > 1 ~F7,6 at 1% level of significance
3.952
Inference:
The table value of F at 1% L.O.S for (7,6) d.f is 8.26.
Fα,n1-1,n2-1=F0.05,7,6=8.26
Fcal < Ftab, We accept H0.
31
S2x
F = 2 ~ Fn1-1,n2-1 at α% level of significance
Sy
0.0352
F= 2
= 0.3186 1 ~ F11,11 at 5% level of significance
0.062
0.062 2
F= = 3.138
0.0352
Inference:
The table value of F at 5% L.O.S for (11,11) d.f is 2.82.
Fα,n1-1,n2-1=F0.05,11,11=2.82
Fcal > Ftab, We reject H0.
4).If the independent random samples of size n1=7 and n2=13 are taken
from a normal population, what is the probability that the variance of
the first sample will be at least three times as large as that of
second sample.
Sol:-
S2x
F = 2 ~ Fn1-1,n2-1 at α% level of significance
Sy
3 S2y
F= =3
S2y
From statistical tables F0.05,6,12=3.
5). If the independent random samples of size n1=9 and n2=16 are
taken from a normal population, what is the probability that the
variance of the first sample will be at least four times as large as
that of second sample.
Sol:-
S2x
F = 2 ~ Fn1-1,n2-1 at α% level of significance
Sy
4 S2y
F= =4
S2y
32
From statistical tables F0.01,8,15=4.
6). Find the value of F0.95 for υ1=10 and υ2=20 degrees of freedom.
Sol:-
1
F
The relation is 1−α, ν1, ν2 =
F , ν2, ν1
1 1
F0.95,10,20 = = = 0.361
F0.05, 20,10 2.77
x −μ
z= ~ N(0,1) at α% level of significance
n
Inference:
1) If it is a two tailed test (), Reject H0 if Zcal Zcritical value.
Otherwise accept H0.
2) If it is a right tailed test (>), Reject H0 if Zcal Zcritical value.
Otherwise accept H0.
3) If it is a left tailed test (<), Reject H0 if Zcal Zcritical value.
Otherwise accept H0.
[ x − Z critical value . , x + Z critical value . ]
n n
1) A trucking firm is suspicious of the claim that the average life time
of certain tyres is at least 28,000 miles. To check this claim the firm
puts 40 of these tyres on its trucks and gets a mean life time of
27,468 miles with a standard deviation of 1,348 miles. What can
we conclude if the probability of type I error is to be
at most 0.01?
Sol:-
H0: ≥ 28,000 miles
H1: < 28,000 miles
Level of significance:
Appropriate level of significance is 1% (given)
34
Test Statistic:
To test the above hypotheses the test statistic is given by
x −μ
z= ~ N(0,1) at α% level of significance
n
Under H0, the test statistic is given by
27468-28000
z= = −2.496
1348 40
Inference:
The critical value of Z at 1% level of significance in a two
tailed test is -2.33
Here, Zcal < Zcritical value. So, we reject H0.
x −μ
z= ~ N(0,1) at α% level of significance
n
35
3) A sample of 400 individuals is found to have a mean height of
67.47 inches. Is it reasonable to regard the sample drawn from the
large population with mean height 67.39 inches and standard
deviation of 1.3 inches. Test at 1% level of significance.
Sol:-
H0: = 67.39
H1: 67.39
Level of significance:
Appropriate level of significance is 5% (given)
Test Statistic:
To test the above hypotheses the test statistic is given by
x −μ
z= ~ N(0,1) at α% level of significance
n
36
x −μ
z= ~ N(0,1) at α% level of significance
n
x −μ
z= ~ N(0,1) at α% level of significance
n
37
The mean weekly sales of soap bars in departmental stores was 146.3 bars per store. After
an advertising campaign, the mean weekly sales in 22 stores for a typical week increased
to 153.7 and showed a standard deviation of 17.2. Was the advertisement campaign
successful? Test at 1% level of significance
38
x −μ x −μ
P Z =?
σ/ n σ/ n
75 - 76 78 - 76
P Z =?
16/ 100 16 100
P− 0.625 Z 1.25 = 0.6268
x −μ x −μ
P Z =?
σ/ n σ/ n
513.3 - 510 513.3 - 520
P Z =?
13.5 40 13.5 40
P− 0.6626 Z 1.3452 = 0.6533
39
Appropriate level of significance is % (given/chosen)
Test Statistic:
To test the above hypotheses the test statistic is given by
(x - y) − (μ x − μ y )
Z= ~ N(0,1) at α% level of significance
2
σx
2
σ
+ y
n1 n2
Inference:
1) If it is a two tailed test (), Reject H0 if Zcal Zcritical value.
Otherwise accept H0.
2) If it is a right tailed test (>), Reject H0 if Zcal Zcritical value.
Otherwise accept H0.
3) If it is a left tailed test (<), Reject H0 if Zcal Zcritical value.
Otherwise accept H0.
x2 y x2 y
2 2
1) A company claims that its light bulbs are superior to those of its
main competitor. If a study showed that n1=40 of its bulbs has a
mean life time of 647 hours with a standard deviation of 27 hours,
While a sample of n2=40bulbs made by its main competitor had a
mean lifetime of 638hours with a standard deviation of 31 hours,
does this substantiate the claim at 0.05 level of significance.?
H0: x = y
H1: x > y
40
Level of significance:
Appropriate level of significance is 5% (given)
Test Statistic:
To test the above hypotheses the test statistic is given by
(x - y) − (μ x − μ y )
Z= ~ N(0,1) at α% level of significance
2
σx σ2
+ y
n1 n2
Under H0, the test statistic becomes,
(647 - 638) − (0)
Z= = 1.3846
2 2
27 31
+
40 40
Inference:
The critical value of Z at 5% level of significance in a two
tailed test is 1.645
Here, Zcal < Zcritical value. So, we accept H0. Hence we conclude
that there no significant differ between the mean life of two bulbs.
(x - y) − (μ x − μ y )
Z= ~ N(0,1) at α% level of significance
2
σx
2
σ
+ y
n1 n2
Under H0, the test statistic becomes,
(72.4 - 73.9) − (0)
Z= = −0.7702
14.82 17.9 2
+
100 200
Inference:
The critical value of Z at 10% level of significance in a two
tailed test is 1.645
Here, Zcal < Zcritical value. So, we accept H0. Hence we conclude
that there no significant differ between the means.
3) To test the claim that the resistance of electric wire can be reduced
by more than 0.050 ohm by alloying. 32 values obtained for a
standard wire yielded x 1 = 0.136 ohm, S1 = 0.004 ohm and 32 values
obtained for alloyed wire yielded x 2 = 0.083 ohm, S 2 = 0.005 ohm .
Does this data support the claim at 0.05 level of significance ?
H0: x - y ≤ 0.050 ohm
H1: x - y > 0.050 ohm
Level of significance:
Appropriate level of significance is 5% (given)
Test Statistic:
To test the above hypotheses the test statistic is given by
42
(x - y) − (μ x − μ y )
Z= ~ N(0,1) at α% level of significance
2
σx
2
σ
+ y
n1 n2
Under H0, the test statistic becomes,
(0.136 - 0.083) − (0.050)
Z= = 2.65
0.004 2 0.0052
+
32 32
Inference:
The critical value of Z at 10% level of significance in a two
tailed test is 1.645
Here, Zcal > Zcritical value. So, we reject H0. Hence we conclude
that x - y > 0.050 ohm
.
4) The means of two large sample of sizes 1000 and 2000 are 67.5
and 68 respectively. Test the equality of means of the two
populations each with S.D 2.5 at 5% level of significance.
H0: x = y
H1: x y
Level of significance:
Appropriate level of significance is 5% (given)
Test Statistic:
To test the above hypotheses the test statistic is given by
43
(x - y) − (μ x − μ y )
Z= ~ N(0,1) at α% level of significance
2
σx
2
σ
+ y
n1 n2
Under H0, the test statistic becomes,
(67.5 - 68) − (0)
Z= = −5.164
2.52 2.52
+
1000 2000
Inference:
The critical value of Z at 5% level of significance in a two
tailed test is 1.96
Here, Zcal > Zcritical value. So, we reject H0. Hence we conclude
that the two means are not equal.
5) The mean yield of two sets and their variability are given below.
Test whether the difference in the mean yields of two sets is
significant at 5% level of significance.
Set I Set II
Mean yield 1258 kgs 1243 Kgs
S.D/plot 34 Kgs 28 Kgs
No. of Plots 40 60
H0: x = y
H1: x y
Level of significance:
Appropriate level of significance is 1% (given)
44
Test Statistic:
To test the above hypotheses the test statistic is given by
(x - y) − (μ x − μ y )
Z= ~ N(0,1) at α% level of significance
2
σx
2
σ
+ y
n1 n2
Under H0, the test statistic becomes,
(1258 - 1243) − (0)
Z= = 2.3154
34 2 282
+
40 60
Inference:
The critical value of Z at 5% level of significance in a two
tailed test is 1.96
Here, Zcal > Zcritical value. So, we reject H0. Hence we conclude
that the mean yield of the two sets are not equal.
45
(x - y) − (μ x − μ y )
Z= ~ N(0,1) at α% level of significance
2
σx
2
σ
+ y
n1 n2
Under H0, the test statistic becomes,
(67.85 - 68.55) − (0)
Z= = −9.905
2.56 2 2.52 2
+
6400 1600
Inference:
The critical value of Z at 5% level of significance in a left
tailed test is -1.645
Here, Zcal < Zcritical value. So, reject H0. Hence we conclude
that the sailors are on the average taller than the soldiers.
2-test
χ =
2 (O − E )2 ~ χ (r2 −1)(c−1) at α% level of significance
E
46
O is the observed value in the (i, j) th cell
where i th row total j th column total
E=
samplesize
Inference:
If 2 cal 2(r-1)(c-1) , we reject H0. Otherwise we accept H0.
47
Sol:- H0: Factors in the contingency table are independent.
H1: Factors in the contingency table are dependent.
48
Sol:- H0: Factors in the contingency table are independent.
H1: Factors in the contingency table are dependent
49
Appropriate level of significance is 5%(chosen)
INTELLIGENCE TOTAL
ECONOMIC Excellent Good Mediocre Dull
CONDITION
1 Fit a Binomial distribution to the given data and test the goodness of fit.
X 0 1 2 3 4 5 6
F 13 25 52 58 32 16 4
Sol:-
X F fx Px=ncxpxqn-x N.Px
0 13 0 0.02897 5.79 6
1 25 25 0.13984 27.97 28
2 52 104 0.28121 56.24 56
3 58 174 0.30161 60.32 60
4 32 128 0.18196 36.39 36
5 16 80 0.05855 11.71 12
6 4 24 0.00785 1.57 2
200 535
50
Mean = np = Σfx /Σf = 535/200=2.675
P= 2.675/6= 0.4458 , q=1-p=0.5542
4. Fit a Binomial distribution to the given data and test the goodness of fit.
X 0 1 2 3 4 5 6
F 7 64 140 210 132 75 12
Sol:-
X f fx Px=ncxpxqn-x N.Px
0 7 0 0.014270 9.13 9
1 64 64 0.088230 56.47 56
2 140 280 0.227294 145.47 145
3 210 630 0.312289 199.87 200
4 132 528 0.241350 154.46 154
5 75 375 0.099480 63.67 64
6 12 72 0.017085 10.93 11
640 1949
Mean = np = Σfx /Σf = 1949/640=3.0453
P= 3.0453/6= 0.5075 , q=1-p=0.4925
The Calculated value of χ2=7.607
The table value of χ20.05,6=12.592
χ2cal < χ2tab , H0 is accepted. Data fits B.D
Fit a P.D to the following data and test the goodness of fit.
X 0 1 2 3 4 5 6 7 8
F 103 143 98 42 8 4 2 0 0
Sol:-
X f Fx Px=e-λλx /x! N.Px Fe
0 103 0 0.26647 106.59 107
1 143 143 0.35240 140.96 141
2 98 196 0.23303 93.21 93
3 42 126 0.10273 41.09 41
4 8 32 0.03396 13.59 14
5 4 20 0.00898 3.59 4
51
6 2 12 0.00198 0.79 1
7 0 0 0.00037 0.15 0
8 0 0 0.00006 0.02 0
400 529
Mean = λ = Σfx /Σf = 529/400=1.3225
The Calculated value of χ2=4.786
The table value of χ20.05,4=9.488
χ cal < χ2tab , H0 is accepted. Data fits the P.D
2
dy
2. Using R-K method of order 4, find y(0.2) from 10 = x 2 + y 2 ,y(0) =1,
dx
3. Using Euler’s method solve for y at x = 0.1 from dy/dx = x + y + xy, y(0) = 1 with h
= 0.025.
4. In a sample of 20 the mean number of defectives is 2.Out of 1000 such samples, how
52
many would be expected to contain at least 3 defectives?(Assume Binomial
distribution).
5. In a normal distribution 31% of the items are under 45 and 8% are over 64.
Find the mean and standard deviation of the distribution.
6. A random sample of 10 boys had the following IQs 70,120,110, 101, 88, 83, 95,
98,107,100.
Do these data support the assumption of a population mean IQ of 100?
53