Cosm Unit - IV
Cosm Unit - IV
Types of Estimation:
Basically there are two kinds of estimates to determine the statistic of the
population parameters
(b) Interval Estimation:An interval estimation is given by two values between which
the parameter may be considered to lie.
1. A random sample of size 100 has a S.D. of 5. What can you say about the
maximum error with 95% confidence.
Sol.
5
We know that EMax z 2 1.96 0.98
n 100
2. Assuming that = 20.0, how large a random sample be taken to assert with
probability 0.95 that the sample mean will not differ from the true mean by more than
3.0
Sol.
Given maximum error E = 3.0, and = 2.0, z 2 = 1.96 for 95% confidence
z 2
2
We know that EMax z 2 n
n E
2
1.96 X 20
n 170.74 171
3
Sol.
Given n = 80, x = 472.36, = 62.35, Emax = 10
EMax . n 10 80 89.4427
EMax z 2 z 2 1.4345
n 62.35 62.35
z 2 1.43
4. If we can assert with 95% that the maximum error is 0.05 and P=0.2, find the size
of the sample.
Sol.
Given P=0.2, E = 0.05
PQ 0.2 0.8
We know that maximum error, EMax z 2 0.05 1.96
n n
0.2 0.8 1.96
2
n 246
0.05
2
Sol.
Given E = 0.06, Confidence limit = 95%
i.e. z 2 1.96
1 1
here P is not given, So we take P Q
2 2
2
z 2
2
1.96 1 1
Hence n PQ n . 266.78 267
E 0.06 2 2
6. The mean and S.D. of a population are 11,795 and 14054 respectively. What can
one assert with 95% confidence about the maximum error if x = 11,795 and n = 50. And
also construct 95% confidence interval for the true mean
Sol.
Given 11795, 14054, x 11795 , n 50, z 2 1.96
EMax z 2
1.96.
14054 3899
n 50
Confidence interval = x EMax . , x EMax . ,
n n
Null Hypothesis: The hypothesis which is a definite statement about the population
parameter usually a hypothesis of no difference is called Null Hypothesis. It is denoted
by H0. Eg: H0 : 0
Errors in Sampling:In practice we decide to accept or to reject the lot after examining a
sample from it. As such we have two types of errors.
(i) Type I error: Reject H0 when it is true.
If the Null Hypothesis H0 is true but it rejected by test procedure,
then the error made is called Type I error. It is denoted by α.
P(Reject H0 when it is true) = P(Type I error) = α
(ii) Type II error: Accept H0 when it is false.
If the Null Hypothesis H0 is false but we accept H1 by test
procedure, then the error made is called Type II error. It is denoted
by β.
P(Accept H0 when it is false) = P(Type II error) = β
Test Statistic: Under a given hypothesis let the sampling distribution of a statistic t is
approximately a normal distribution with mean E(t) then
t E t
z
S .E. of t
Critical Values (Zα) of Z
Level of Significance
1% 5% 10%
Two – Tailed test Z 2.58 Z 1.96 Z 1.645
Right – Tailed test Z 2.33 Z 1.645 Z 1.28
Left – Tailed test Z 2.33 Z 1.645 Z 1.28
Step 5:Conclusion: Find the critical value Zα at the level of significance α from normal
table.
If |Zcal| < Zαaccept H0
If |ZCal| > Zαreject H0 and accept H1
2. An ambulance service claims that it takes on the average less than 10 minutes to
reach its destination in emergency calls. A sample of 36 calls has a mean of 11 minutes
and the variance of 16 minutes. Test the claim at 0.05 level of significance
Sol.
Given x = 11, = 10, 2= 16 16 4 and n = 36
Step 1:Null Hypothesis : H0 : 10
3. A sample of 400 items is taken from a population whose S.D. is 10. The mean of the
sample is 40. Test whether the sample has come from a population with mean 38. Also
calculate 95% confidence interval for the population.
Sol.
Given x = 40, = 38, = 10 and n = 400
Step 1:Null Hypothesis : H0 : 38
95% confidence interval is x 1.96 , x 1.96
n n
10 10
x 1.96 , x 1.96
400 400
39.02, 40.98
4(H.W). In 64 randomly selected hours of production, the mean and the standard
deviation of the number of acceptance pieces produced by an automatic stamping
machine are x = 1.038, = 1.46. At the 0.05level of significance does this enable us to
reject the null hypothesis = 1.000 against the alternative hypothesis >1.000
Ans.Zcal = 2.082, Zα=1.645, Reject the null hypothesis
x1 x2
z
1 1
n1 n2
Step 5:Conclusion: Find the critical value Zα at the level of significance α from normal
table.
If |Zcal| < Zαaccept H0
If |ZCal| > Zαreject H0 and accept H1
1. The means of two large samples of sizes 1000 and 2000 members are 67.5 inches
and 68.0 inches respectively. Can the sample be regarded as drawn from the same
population of S.D. 2.5 inches
Sol.
Given n1 = 1000, n2 = 2000 , x1 = 67.5, x2 = 68, = 2.5
Step 1:Null Hypothesis :H0 : 1 2
Step 2:Alternative Hypothesis :
H1 : 1 2 (two – tailed test)
Step 3:Level of Significance: α=5%
2. The mean height of 50 male students who participated in sports is 68.2 inches with a
S.D. of 2.5. The mean height of 50 male students who have not participated in sports is
67.2 inches with a S.D. of 2.8. Test the hypothesis that the height of students who
participated in sports is more than the students who have not participated in sports.
Sol.
Given n1 = 50, n2 = 50 , x1 = 68.2, x2 = 67.2, 1 = 2.5, 2 = 2.8
Step 1:Null Hypothesis :H0 : 1 2
Step 2:Alternative Hypothesis :
H1 : 1 2 (two – tailed test)
Step 3:Level of Significance: α=5%
Step 4:Test Statistic:
x1 x2 68.2 67.2
z
1 1
2.52 2.82
n1 n2 50 50
z 1.88
Step 5:Conclusion: |Zα| = 1.96 and ZCal=1.88
|ZCal| < Zαwe accept H0
Hence we conclude that there is no significance difference in the heights
3(H.W). At a certain large university a sociologist speculates that male students spend
considerably more money on junk food than do female students. To test her hypothesis,
the sociologist randomly select from the registrar’s records the names of 200 students.
Of there, 125 are men and 75 are women. The sample mean of the average amount
spent on junk food per week by the men is Rs. 400 and S.D. is Rs. 100. For the women
the sample mean is Rs. 450 and the sample S.D. is Rs. 150. Test the difference
between the mean at 0.05 level
Ans. Zcal = 1.1547, Zα=1.96, Accept the null hypothesis
Step 5:Conclusion: Find the critical value Zα at the level of significance α from normal
table.
If |Zcal| < Zαaccept H0
If |ZCal| > Zαreject H0 and accept H1
2. In a sample of 1000 people in Karnataka 540 are rice eaters and the rest are wheat
eaters. Can we assume that both rice and wheat are equally popular in this state at 1%
level of significance
Sol.
540 1
Given n = 1000, p 0.54, P 0.5
1000 2
Step 1:Null Hypothesis :H0 : P 0.5 i.e. Both rice and wheat are equally popular in the
state
Step 2:Alternative Hypothesis :
H1 : P 0.5 (Two – tailed test)
Step 3:Level of Significance: α = 1%
Step 5:Conclusion: Find the critical value Zα at the level of significance α from normal
table.
If |Zcal| < Zαaccept H0
If |ZCal| > Zαreject H0 and accept H1
1. Random sample of 400 men and 600 women were asked whether they would like to
have a flyover near their residence. 200 men and 325 women were in favour of the
proposal. Test the hypothesis that proportions of men and women in favour of the
proposal are same, at 5% level.
Sol.
200 325
Given n1 = 400, n2 = 600, p1 0.5, p2 0.541
400 600
Step 1:Null Hypothesis :Assume that there is no significant difference between the
option of men and women as far as proposal of flyover is concerned.
H0 : p1 p2
Step 2:Alternative Hypothesis :
H1 : p1 p2 (Two – tailed test)
Step 3:Level of Significance: α = 5%
p1 p2
Step 4:Test Statistic: z
1 1
pq
n1 n2
n p n p 400 0.5 600 0.541 525
Where p 1 1 2 2 0.525
n1 n2 400 600 1000
and q 1 p 1 0.525 0.475
p1 p2 0.5 0.541
z 1.28
1 1 1 1
pq 0.525 0.475
1
n n2 400 600
Step 5:Conclusion: |Zα| = 1.96 and ZCal= -1.28
|ZCal| < Zαaccept H0
i.e. there is no significant difference between the option of men and
women as far as proposal of flyover is concerned.
2. In a random sample of 1000 persons from town A, 400 are found to be consumers of
wheat. In a sample of 800 from town B, 400 are found to be consumers of wheat. Do
these data reveal a significant difference between town A and town B, so far as the
proportion of wheat consumers is concerned?
Sol.
400 400
Given n1 = 1000, n2 = 800, p1 0.4, p2 0.5
1000 800
Step 1:Null Hypothesis :H0 : p1 p2 i.e. there is no difference
Step 2:Alternative Hypothesis :
H1 : p1 p2 (Two – tailed test)
Step 3:Level of Significance: α = 5%
p1 p2
Step 4:Test Statistic: z
1 1
pq
n1 n2
n p n p 400 0.4 400 0.5 360
Where p 1 1 2 2 0.2
n1 n2 1000 800 1800
and q 1 p 1 0.2 0.8
p1 p2 0.4 0.5
z 5.2705
1 1 1 1
pq 0.2 0.8
n1 n2 800 1000
Step 5:Conclusion: |Zα| = 1.96 and ZCal= -5.2705
|ZCal| > Zαreject H0 and accept H1
i.e. there is a significant difference between town A and town B as
the proportion of wheat consumers is concerned.
3.(H.W). 100articles from a factory are examined and 10 are found to be defective. 500
similar articles from a second factory are found to be 15 defective. Test the significance
between the difference of two proportions at 5% level.
Ans. Zcal = 3.18, Zα=1.96, Reject the null hypothesis
TEST OF HYPOTHESIS
(Small Samples)
The following are some important tests for small samples
Step 5:Conclusion: Find the critical value tα at the level of significance α with n-1 d.f.
from t-distribution table.
If |tcal| < tα accept H0
If |tCal| > tα reject H0 and accept H1
s s
Note: The confidence limits are x t , x t
n n
1. The average breaking strength of the steel rods is specified to be 18.5 thousand
pounds. To test this sample of 14 rods were tested. The mean and S.D. obtained were
17.85 and 1.955 respectively. Is the result of experiment significant?
Sol.
Given x = 17.85, n = 14, µ = 18.5, S.D. (s) = 1.955
2(H.W.). A mechanist is making engine parts with axle diameters of 0.700 inch. A
random sample of 10 parts shows a mean diameter of 0.742 inch with a S.D. of 0.040
inch. Compute the statistic you would use to test whether the work is meeting the
specification at 0.05 level of significance.
Ans. tcal = 3.15, tα = 2.26, Reject H0
3. A random sample of 10 boys had the following I.Q’s : 70, 120, 110, 101, 88, 83, 95,
98, 107 and 100
(a) Do these data support the assumption of a population mean I.Q. of 100?
(b) Find a reasonable range in which most of the mean I.Q. Values of samples of
10 boys lie.
Sol.
(a) Here S.D. and mean of sample is not given directly.
We have to determine these S.D. and mean as follows.
Mean x
x 972 97.2
n 10
x x- x (x- x )2
70 -27.2 739.84
120 22.8 519.84
110 12.8 163.84
101 3.8 14.44
88 -9.2 84.64
83 -14.2 201.64
95 -2.2 4.84
98 0.8 0.64
107 9.8 96.04
100 2.8 7.84
972 1833.60
We know that S 2
1
n 1 i
xi x
1833.60
9
203.73
Let x and y be the means of the two small samples of sizes n 1 and n2 drawn
from two normal populations having means µ 1 and µ2. s12 and s22 are the variances of
two samples. To test whether the two population means are equal.
1. Samples of two types of electric light bulbs were tested for length of life and following
data were obtained
Type I Type II
Sample size n1 = 8 n2 = 7
Sample mean x = 1234 hours y = 1036 hrs
Sample S.D. s1 = 36 hrs s2 = 40 hrs
Is the difference in the means sufficient to warrant that type I is superior to type II
regarding length of life.
Sol.
Step 1:Null Hypothesis : H0 : 1 2
Step 2:Alternative Hypothesis : H1 : 1 2 (two – tailed test)
Step 3:Level of Significance: α = 5%
n1s12 n2 s22 8 36 7 40
2 2
2(H.W.). The means of two random samples of sizes 9 and 7 are 196.42 and 198.82
respectively. The sum of the squares of the deviations from the mean are 26.94 and
18.73 respectively. Can the sample be considered to have been drawn from the same
normal population.
Ans. tcal = -2.63, tα = 2.63, Reject H0
3. Two horses A and B were tested according to the time (in seconds) to run a particular
track with the following results.
Horse A 28 30 32 33 33 29 34
Horse B 29 30 30 24 27 29
Test whether the two horses have the same running capacity.
Sol.
Given n1 = 7, n2 = 6
We first compute the sample means and S.D.
1
x = mean of first sample = 28 30 32 33 33 29 34 31.286
7
1
y = mean of second sample = 29 30 30 24 27 29 28.16
6
x
xx xx 2
y y y y y
2
28 -3.286 10.8 29 0.84 0.7056
30 -1.286 1.6538 30 1.84 3.3856
32 0.714 0.51 30 1.84 3.3856
33 1.714 2.94 24 -4.16 17.3056
33 1.714 2.94 27 -1.16 1.3456
29 -2.286 5.226 29 0.84 0.7056
34 2.714 7.366
219 31.4358 169 26.8336
31.4358 26.8336
1
xi x xi x
2 2
Now S 2 5.23
n1 n2 2 11
Let two independent random samples of sizes n 1 and n2 be drawn from two
normal populations.
To test the hypothesis that the two population variances 12 and 22 are equal.
Step 1:Null Hypothesis : Define or set up a Null Hypothesis H0
H0 : 12 22
Step 2:Alternative Hypothesis : Set up an Alternative Hypothesis H1
H1 : 12 22 (two – tailed test)
Step 3:Level of Significance: Select the appropriate level of significance α
S 11
2
and S 2 2
2
n1 1 n1 1 n2 1 n2 1
1 2
Where s12 and s22 are the variances of the tow samples.
S12 S22
Calculate the test statistic F 2 or F 2 according as S12 S22 or S 22 S12
S2 S1
Step 5:Conclusion: Find the critical value Fα at the level of significance α with
1 n1 1and 2 n2 1 d.f. from F-distribution table.
If |Fcal| < tα accept H0
If |FCal| > tα reject H0 and accept H1
1. In one sample of 8 observations from a normal population, the sum of the squares of
deviations of the sample values from the sample mean is 84.4 and in another sample of
10 observations it was 102.6. Test at 5% level whether the populations have the same
variance.
Sol.
x x
84.4, yi y
2 2
Given n1 = 8, n2 = 10, i 102.6
x x y y
2 2
84.4 102.6
S12 12.057 and S22 11.4
n1 1 7 n2 1 9
Test Statistic:
n
Oi Ei
2
2
i 1 E
i
Conclusion: If the calculated value of 2 > tabulated value of 2 at α level, the Null
Hypothesis H0 is rejected. Otherwise H0 is accepted
1. The number of automobile accidents per week in a certain community are as follows:
12, 8, 20, 2, 14,10,15, 6, 9, 4. Are these frequencies in agreement with the belief that
accident conditions were the same during this 10 week period.
Sol.
100
Expected frequency of accidents each week = 10
10
Step 1:Null Hypothesis : H0 : The accident conditions were the same during the 10
week period.
Step 2:Alternative Hypothesis : H1 : The accident conditions were the not same
during the 10 week period.
Step 3:Level of Significance: α = 5%
Step 4:Test Statistic:
Observed Expected Oi Ei Oi Ei
2
2
26.6
i 1 E
i
2
23.667
i 1 E
i
3.(H.W). A die is thrown 264 times with the following results. Show that the die is biased
No. appeared on the die 1 2 3 4 5 6
Frequency 40 32 28 58 54 52
Ans. 11.07 , 17.6362 Reject H0
2 2