Sampling Notes - Part-02
Sampling Notes - Part-02
Problems
The table value for (7,9) degrees of freedom (d.f) at
1. Test the equality of standard deviations for the
data given below at 5% level of significance: 5% level of significance is 𝐹0.05 = 3.29
𝑛1 = 10; 𝑛2 = 14; 𝑆1 = 1.5; 𝑆2 = 1.2 As 𝐹𝑐𝑎𝑙 < 𝐹0.05 , 𝐻0 is accepted.
Soln: 𝐻0 : 𝜎𝑥2 = 𝜎𝑦2 = 𝜎 2 Therefore, the difference is not significant at 5%
level of significance.
𝑛1 𝑆12
𝑛 −1 2.5
𝐹= 1 2 = = 1.61 = 𝐹𝑐𝑎𝑙
𝑛2 𝑆2 1.55
𝑛2 − 1
Page 15
Sampling Theory
3. Two random samples drawn from 2 normal 4. The daily wages in rupees of skilled workers in
populations are given below. Test whether the 2 two cities are as follows.
populations have the same variance. Size of sample S.D of wages
City
of workers in the samples
Sample A 28 30 32 33 31 29 34 City A 16 25
Sample B 29 30 30 24 27 28 - City B 13 32
Examine whether the samples have been drawn from Test at 5% level the equality of variances of the
normal population having the same variance. wage distribution in the two cities.
𝑛1 𝑛2 𝑆22
∴ 𝑛1 𝑆12 = 𝑖=1 𝑥𝑖 − 𝑥 2
𝑛 −1
𝐹 = 2 2 = 1.66
⇒ 𝑛1 𝑆12 = −3 2
+ −1 2
+ 1 2
+ 2 2
+ 0 2
+ −2 2
+ 3 2 𝑛1 𝑆1
𝑛1 − 1
∴ 𝑛1 𝑆12 = 28
Table value for 𝑛2 − 1, 𝑛1 − 1 = 12,15 degrees
of freedom is 𝐹0.05 = 2.48 .
Similarly,
As 𝐹𝑐𝑎𝑙 < 𝐹0.05 , 𝐻0 is accepted.
𝑛2
𝑦 𝑖 −𝑦 2
𝑆22 = 𝑖=1
𝑛2
⇒ 𝑛2 𝑆22 = 1 2
+ 2 2
+ 2 2
+ −4 2
+ −1 2
+ 0 2 1. For two samples of sizes 8 and 12 the observed
variances are 0.064 and 0.024. Test the
∴ 𝑛2 𝑆22 = 26 hypothesis that the samples came from normal
populations with variances equal.
𝑛 1𝑆21
𝑛 1 −1 4.67
If we take 𝐹 = 𝑛 2𝑆2
then, 𝐹 = 5.2 2. In a sample of 8 observations the sum of the
2
𝑛 2 −1 squared deviations of items from the mean was
94.5. In another sample of 10 observations the
Numerator value is less than the denominator and
value was found to be 101.7. Test whether the
hence we have to take
difference is significant.
𝑛 2𝑆22
𝑛 2 −1 3. Two random samples drawn from two normal
𝐹= 𝑛 1𝑆21
𝑛 1 −1
populations are
26 A 63 65 68 69 71 72 - - - -
5
∴𝐹= 28 = 1.11 = 𝐹𝑐𝑎𝑙 B 63 62 65 66 69 69 70 71 72 73
6 Test whether the two populations have the same
Table value of for 𝐹 for 𝑛2 − 1, 𝑛1 − 1 = 5,6 variance.
degrees of freedom is 𝐹0.05 = 4.39 .
As 𝐹𝑐𝑎𝑙 < 𝐹0.05 , 𝐻0 is accepted.
Page 16
Sampling Theory
Page 17
Sampling Theory
Note (1): 𝒙 𝑷 𝒙
𝒆𝒊
𝒐𝒊
2
𝜒 -test is one tailed (Right tailed). 180.𝑷 𝒙
0 0.6722 121 130
i.e. if 𝜒 2 𝑐𝑎𝑙 ≤ 𝜒 2 𝑡𝑎𝑏𝑙𝑒 then 𝐻0 is accepted 1 0.2666 48 32
2 0.0555 10 15
otherwise 𝐻0 is rejected.
3 0.0055 1 2
11 18
Note (2): 4 0 0 1
The chi-square test of goodness of fit is applicable 5 0 0 0
subject to the following conditions. Tot 1 180 180
Page 18
Sampling Theory
Page 19
Sampling Theory
𝑛 2 𝑛 2
2
𝑜𝑖 − 𝑒𝑖 2 2
𝑜𝑖 − 𝑒𝑖
𝜒 = = 222.142 = 𝜒 𝑐𝑎𝑙 𝜒 = = 4.72 = 𝜒 2 𝑐𝑎𝑙
𝑒𝑖 𝑒𝑖
𝑖=1 𝑖=1
𝑛 = 10
𝑐=1 𝑛=4
𝑛 𝑛
(1 for 𝑖=1 𝑜𝑖 =𝑁= 𝑖=1 𝑒𝑖 ). 𝑐=1
𝑛 𝑛
Thus,
(1 for 𝑖=1 𝑜𝑖 =𝑁= 𝑖=1 𝑒𝑖 ).
𝜒 2 is a chi-square variate with 𝑛 − 𝑐 = 10 − 1 = 9 Thus,
degrees of freedom. 𝜒 2 is a chi-square variate with 𝑛 − 𝑐 = 4 − 1 = 3
Now, from chi-square distribution table, the value of degrees of freedom.
𝜒 at 1% level of significance is 𝜒 2 0.01 = 21.67
Now, from chi-square distribution table, the value of
As, 𝜒 2 𝑐𝑎𝑙 > 𝜒 2 0.01 , 𝐻0 is rejected. 𝜒 at 5% level of significance is 𝜒 2 0.05 = 7.81
Conclusion:
In the telephone dictionary, the digits are not equi- As, 𝜒 2 𝑐𝑎𝑙 < 𝜒 2 0.05 , 𝐻0 is accepted.
distributed.
Conclusion:
4. According to a theory in Genetics, the The result of the experiment supports theory.
proportion of beans of four types A, B, C and D
in a generation should be 9:3:3:1. In an 5. In order to test whether a die is biased, it is
experiment, among 1600 beans, the frequency of thrown 72 times and the results are tabulated as
beans of each of the above four types were 882, follows:
313, 287 and 118 respectively. Does the result Result of throw 1 2 3 4 5 6 Tot
support the theory? Number of
8 14 15 9 13 13 72
throws
Soln:
What is your conclusion?
𝐻0 : The result of the experiment supports the theory.
Soln:
Under 𝐻0 , the expected frequencies should be in the 𝐻0 : The die is unbiased.
ratio 9:3:3:1.
Under 𝐻0 , all the sides of the die are equiprobable.
1600 ×9
∴ 𝑒1 = = 900 Therefore, their frequencies should be equal.
9+3+3+1
So, the theoretical frequencies are
𝑒2 =
1600 ×3
= 300 72
9+3+3+1 𝑒𝑖 = = 12
6
1600 ×3
𝒙𝒊 𝒐𝒊 𝒆𝒊 𝒐𝒊 − 𝒆𝒊 𝟐 𝒐𝒊 − 𝒆𝒊 𝟐
𝑒3 = 9+3+3+1
= 300 𝒆𝒊
1 8 12 16 1.3333
1600 ×1 2 14 12 4 0.3333
𝑒4 = = 100
9+3+3+1 3 15 12 9 0.75
4 9 12 9 0.75
𝒐𝒊 𝒆𝒊 𝟐 𝟐 5 13 12 1 0.0833
𝒐𝒊 − 𝒆𝒊 𝒐𝒊 − 𝒆𝒊
𝒆𝒊 6 13 12 1 0.0833
882 900 324 0.36 Total 3.33
313 300 169 0.56 The test statistic is
287 300 169 0.56 𝑛 2
118 100 324 3.24 2
𝑜𝑖 − 𝑒𝑖
𝜒 = = 3.33 = 𝜒 2 𝑐𝑎𝑙
Total 4.72 𝑒𝑖
𝑖=1
Page 20
Sampling Theory
𝑛=6
𝑐=1
𝑛 𝑛 The test statistic is
(1 for 𝑖=1 𝑜𝑖 =𝑁= 𝑖=1 𝑒𝑖 ). 𝑛 2
2
𝑜𝑖 − 𝑒𝑖
Thus, 𝜒 = = 3.084 = 𝜒 2 𝑐𝑎𝑙
𝑒𝑖
𝑖=1
𝜒 2 is a chi-square variate with 𝑛 − 𝑐 = 6 − 1 = 5
𝑛=4
degrees of freedom.
𝑐=1
Now, from chi-square distribution table, the value of 𝑛 𝑛
(1 for 𝑖=1 𝑜𝑖 =𝑁= 𝑖=1 𝑒𝑖 . Note that neither m
𝜒 at 5% level of significance is 𝜒 2 0.05 = 11.07
nor p is estimated).
2 2
As, 𝜒 𝑐𝑎𝑙 <𝜒 0.05 , 𝐻0 is accepted. Thus,
Conclusion: 𝜒 2 is a chi-square variate with 𝑛 − 𝑐 = 4 − 1 = 3
The die is unbiased. degrees of freedom.
Now, from chi-square distribution table, the value of
𝜒 at 5% level of significance is 𝜒 2 0.05 = 7.81
6. A survey of 64 families with 3 children each is
conducted and the number of male children in As, 𝜒 2 𝑐𝑎𝑙 < 𝜒 2 0.05 , 𝐻0 is accepted.
each family is noted. The result are tabulated as
Conclusion:
follows:
Male and female children are equiprobable.
Male children 0 1 2 3 Total
Families 6 19 29 10 64
Apply chi-square test of goodness of fit to test
Similar problems for practice
whether male and female children are
equiprobable.
1. Among 64 offsprings of a certain cross between
Soln: Guinea pigs 34 were red, 10 were black and 20
were white. According to the genetic model
𝐻0 : Male and female children are equiprobable.
these numbers should be in the ratio 9:3:4. Are
(Probability of male child is 0.5)
the data consistent with the model at 5% level?
Under 𝐻0 , to the given data, binomial distribution
Hint: 𝐻0 : Data are consistent.
can be fitted. (m=3 and p=0.5) 9 3
𝑒1 = 64 × 16 = 36; 𝑒2 = 64 × 16 = 12
4
𝑃 𝑥 = 𝑚𝐶𝑥 𝑝 𝑥 𝑞𝑚−𝑥 = 3𝐶𝑥 0.5 𝑥
0.5 3−𝑥
𝑒3 = 64 × 16 = 16; 𝜒 2 𝑐𝑎𝑙 = 1.44
𝜒 2 0.05 = 5.99 at 𝑛 − 𝑐 = 3 − 1 = 2 d.f
Expected
𝑥 𝑃 𝑥 frequencies As, 𝜒 2 𝑐𝑎𝑙 < 𝜒 2 0.05 , 𝐻0 is accepted.
64 𝑃 𝑥
0 𝑃 0 = 0.125 8 2. The following table gives the number of train
1 𝑃 1 = 0.375 24 accidents in a country that occurred during the
2 𝑃 2 = 0.375 24 various days of the week. Find whether the
3 𝑃 3 = 0.125 8 accidents are uniformly distributed over the
Total 1 64 week.
Hint: 𝐻0 : Accidents are uniformly .
If the accidents are to be uniformly distributed it is
𝒐𝒊 𝒆𝒊 𝟐 𝟐
𝒐𝒊 − 𝒆𝒊 𝒐𝒊 − 𝒆𝒊 126
expected that = 18 accidents happen per day.
7
𝒆𝒊
6 8 4 0.5 ∴ 𝑒𝑖 = 18 for all the days of the week.
19 24 25 1.042 𝜒 2 𝑐𝑎𝑙 = 9.78
29 24 25 1.042 𝜒 2 0.05 = 12.59 at 𝑛 − 𝑐 = 7 − 1 = 6 d.f
10 8 4 0.5 As, 𝜒 2 𝑐𝑎𝑙 < 𝜒 2 0.05 , 𝐻0 is accepted.
Total 3.084
Page 21
Sampling Theory
3. Five coins are tossed 320 times. The number of After pooling, we have
heads observed is given below. Examine
whether the coin is unbiased. 𝒐𝒊 𝒆𝒊
273 236.4
Hint: 𝐻0 : The coin is unbiased (p=1/2) .
70 118.2
𝑃 𝑥 = 5𝐶𝑥 0.5 𝑥 0.5 5−𝑥 30 29.5
1
𝑒1 = 320 × 32 = 10; 𝑒2 = 50 17 5.9
𝑒3 = 100; 𝑒4 = 100; 𝑒5 = 50; 𝑒6 = 10 𝜒 2 𝑐𝑎𝑙 = 46.3
𝜒 2 𝑐𝑎𝑙 = 12.5 𝜒 2 0.05 = 5.99 at 𝑛 − 𝑐 = 4 − 2 = 2 d.f
𝜒 2 0.05 = 11.07 at 𝑛 − 𝑐 = 6 − 1 = 5 d.f 𝑛 =4; 𝑐 =2
As, 𝜒 2 𝑐𝑎𝑙 > 𝜒 2 0.05 , 𝐻0 is rejected. 𝑛 𝑛
(1 for 𝑖=1 𝑜𝑖 =𝑁= 𝑖=1 𝑒𝑖 which is common in
4. A survey of 320 families with 5 children each all cases and 1 for estimating the parameter 𝜇 from
revealed the following information. the observed distribution).
No. of boys 5 4 3 2 1 0
No. of girls 0 1 2 3 4 5 As, 𝜒 2 𝑐𝑎𝑙 > 𝜒 2 0.05 , 𝐻0 is rejected.
No. of
14 56 110 88 40 12
families
Is the result consistent with the hypothesis that
male and female births are equally probable?
Hint: 𝐻0 : Male and female births are equiprobable.
(Probability of male child is 0.5)
𝑃 𝑥 = 5𝐶𝑥 0.5 𝑥 0.5 5−𝑥
𝑒1 = 10; 𝑒2 = 50; 𝑒3 = 100
𝑒4 = 100; 𝑒5 = 50; 𝑒6 = 10
𝒙𝒊 𝒐𝒊 𝒆𝒊
No. of male births
0 12 10
1 40 50
2 88 100
3 110 100
4 56 50
5 14 10
𝜒 2 𝑐𝑎𝑙 = 7.16
𝜒 2 0.05 = 11.07 at 𝑛 − 𝑐 = 6 − 1 = 5 d.f
As, 𝜒 2 𝑐𝑎𝑙 < 𝜒 2 0.05 , 𝐻0 is accepted.
Page 22