BCS301 - Module 3
BCS301 - Module 3
1 Sampling
Introduction:
True False
Critical region The region in which the calculated sample value falling is rejected.
Acceptance region The region in which the calculated sample value falling is accepted.
Level of significance The probability of calculated sample value falling in the critical region
(or) rejection region.
The limits of the critical region. Critical value splits the region in to
Critical values
acceptance region and critical region. These are pre-assigned values.
An interval which is likely to contain the calculated sample value.
confidence interval
Example: In BP measurement, (80, 120) is the confidence interval.
The limits of the confidence interval.
confidence limits
Example: In BP measurement, 80 and 120 are confidence limits.
confidence coefficient The probability that the confidence interval contains the calculated
(𝟏 − 𝜶) sample value.
An attribute means quality or characteristic such as drinking, smoking, disease, etc. An attribute
may be marked by its presence (K) or absence (not K) in a member of given population. The
sampling of attributes may be regarded as the selection of samples from population whose
members posses the attribute K or not K. The presence of K is the success and its absence a
failure. Suppose we draw a simple sample of size 𝑛 items, it follows binomial distribution and
hence the mean of this distribution is 𝑛𝑝 and standard deviation of this distribution is √𝑛𝑝𝑞.
Introduction:
How to find standard error? 𝑆. 𝐸 (𝑥̅ ) = √𝑠 2 /𝑛 if 𝑠 is known
𝑆. 𝐸 (𝑥̅ ) = √𝜎 2 /𝑛 if 𝜎 is known
𝑥̅ ± 𝑧𝛼 [𝑆𝐸(𝑥̅ )] if 𝑥̅ is known.
2
𝑃 ± 𝑧𝛼 [𝑆𝐸(𝑃)] if 𝑃 is known.
2
𝑝 ± 𝑧𝛼 [𝑆𝐸(𝑝)] if 𝑝 is known.
2
Working rule:
❖ Write the null hypothesis 𝐻0 : 𝜇 = 𝜇0 (𝑜𝑟) 𝑃 = 𝑃0
❖ Find calculated value:
𝑥̅ −𝜇
|𝑧| = | | , if 𝑥̅ is known,
𝑆.𝐸(𝑥̅ )
𝑝−𝑃
|𝑧| = | | , if 𝑝 is known.
𝑆.𝐸(𝑝)
𝜎2 1.612
𝑆. 𝐸(𝑥̅ ) = √ =√ = 0.0537
𝑛 900
𝑥̅ − 𝜇 3.4 − 3.25
|𝑧| = | |=| | = 2.8
𝑆. 𝐸(𝑥̅ ) 0.0537
Therefore, calculated value of 𝑧 = 2.8
To find: Critical value
At 𝛼 = 0.05, critical value of 𝑧 = 1.96
Conclusion:
Since calculated value > critical value, Reject H0.
Therefore, sample is not taken from the population with mean 3.25
𝑃𝑄 (0.5)(0.5)
𝑆𝐸(𝑃) = √ =√ = 0.025
𝑛 400
216 1
𝑝−𝑃 −
|𝑧| = | | = |400 2| = 1.6
𝑆𝐸(𝑃) 0.025
𝑃𝑄 (1/3)(2/3)
𝑆𝐸(𝑃) = √ =√ = 0.005
𝑛 9000
3240 1
𝑝−𝑃 −
|𝑧| = | | = |9000 3| = 5.33
𝑆𝐸(𝑃) 0.005
181 1
𝑝−𝑃 −
|𝑧| = | | = |324 2| = 2.1084
𝑆𝐸(𝑃) 0.0278
= 0.3085
𝑥̅ −𝜇 572−575
|𝑧| = | |=| |
𝑆.𝐸(𝑥̅ ) 2
√8.3
𝑛
572 − 575
|| || > 2.33
2
√8.3
𝑛
On simplifying, 𝑛 > 41.56
Therefore, 𝑛 = 42.
7. An unbiased coin is thrown n times. It is desired that the relative frequency of the
appearance of heads should lie between 0.49 and 0.51. Find the smallest value of n
that will ensure this result with 90% confidence. (𝒁𝜶 = 𝟏. 𝟔𝟒𝟓)
𝟐
𝑛 = 6765
𝑝𝑞 0.13×0.87
𝑆. 𝐸(𝑝) = √ 𝑛 = √ = 0.015
500
206
By data, 𝑝 = 840 = 0.2452
𝑝𝑞 (0.2452)(0.7548)
𝑆𝐸(𝑝) = √ =√ = 0.0148
𝑛 840
𝑠12 𝑠22
√ + , 𝐼𝑓 𝑠1 , 𝑠2 𝑎𝑟𝑒 𝑘𝑛𝑜𝑤𝑛
𝑛1 𝑛2
𝜎12 𝜎22
𝑆𝐸(𝑥
̅̅̅1 − ̅̅̅)
𝑥2 √ + , 𝐼𝑓 𝜎1 , 𝜎2 𝑎𝑟𝑒 𝑘𝑛𝑜𝑤𝑛
𝑛1 𝑛2
1 1
𝜎√ + , 𝐼𝑓 𝜎 𝑖𝑠 𝑘𝑛𝑜𝑤𝑛
𝑛1 𝑛2
𝑃1 𝑄1 𝑃2 𝑄2
√ + , 𝐼𝑓 𝑃1 , 𝑃2 𝑎𝑟𝑒 𝑘𝑛𝑜𝑤𝑛
𝑛1 𝑛2
𝑆𝐸(𝑝1 − 𝑝2 )
1 1
√𝑃𝑄 ( + ) , 𝐼𝑓 𝑝1 , 𝑝2 𝑎𝑟𝑒 𝑘𝑛𝑜𝑤𝑛,
𝑛1 𝑛2
𝑛1 𝑝1 + 𝑛2 𝑝2
𝑤ℎ𝑒𝑟𝑒, 𝑃 =
𝑛1 + 𝑛2
Working rule:
❖ Write the null hypothesis 𝐻0 : 𝜇1 = 𝜇2 (𝑜𝑟) 𝑃1 = 𝑃2 .
❖ Find calculated value
̅𝑥̅̅̅−𝑥
̅̅̅̅
|𝑆𝐸(𝑥1̅̅̅̅−𝑥2̅̅̅̅)| , if ̅̅̅,
𝑥1 ̅̅̅
𝑥2 are known
1 2
|𝑧| = { 𝑝 −𝑝
1 2
|𝑆𝐸(𝑝 −𝑝 )| , if ̅̅̅,
𝑥1 ̅̅̅
𝑥2 are not known
1 2
1 1
𝑆𝐸(𝑥
̅̅̅1 – ̅̅̅̅)
𝑥2 = 𝜎√ +
𝑛1 𝑛2
1 1
= 2.5√1000 + 2000 = 0.0968
̅̅̅1 – ̅̅̅̅
𝑥 𝑥2
|𝑧| = | |
𝑆𝐸(𝑥 ̅̅̅1 – ̅̅̅̅)
𝑥2
67.5−68.0 0.5
=| | = 0.0968 = 5.16
0.0968
𝑠12 𝑠22
𝑆𝐸(𝑥 𝑥2 = √
̅̅̅1 – ̅̅̅̅) +
𝑛1 𝑛2
2.562 2.522
= √ 6400 + 1600
= 0.0707
̅̅̅1 – ̅̅̅̅
𝑥 𝑥2
|𝑧| = | |
𝑆𝐸(𝑥 ̅̅̅1 – ̅̅̅̅)
𝑥2
67.85−68.55 0.7
=| | = 0.0707 = 9.9
0.0707
𝑠12 𝑠22
𝑆𝐸(𝑥 𝑥2 = √ +
̅̅̅1 – ̅̅̅̅)
𝑛1 𝑛2
902 1202
= √100 + = 16.5227
75
̅̅̅1 – ̅̅̅̅
𝑥 𝑥2
|𝑧| = | |
𝑆𝐸(𝑥 ̅̅̅1 – ̅̅̅̅)
𝑥2
1190−1230
=| | = 2.4209
16.5227
𝐻0 : 𝑃1 = 𝑃2 , There is no significant difference in the two types concerned so far as engine defects
are concerned.
To find: Calculated value
𝑛1 𝑝1 + 𝑛2 𝑝2
𝑃=
𝑛1 + 𝑛2
100(0.05)+200(0.035)
= 100+200
= 0.04
1 1
𝑆𝐸(𝑝1 − 𝑝2 ) = √𝑃𝑄 ( + )
𝑛1 𝑛2
1 1
= √0.04 × 0.96 × (100 + 200)
= 0.024
𝑝1 − 𝑝2
|𝑧| = | |
𝑆𝐸(𝑝1 − 𝑝2 )
0.015
= 0.024 = 0.625
1 1
𝑆𝐸(𝑝1 − 𝑝2 ) = √𝑃𝑄 ( + )
𝑛1 𝑛2
1 1
= √0.0317 × 0.9683 × ( + )
500 100
= 0.0192
𝑝1 − 𝑝2
|𝑧| = | |
𝑆𝐸(𝑝1 − 𝑝2 )
0.032−0.03 0.002
=| | = 0.0192 = 0.1042
0.0192
1 1
𝑆𝐸(𝑝1 − 𝑝2 ) = √𝑃𝑄 ( + )
𝑛1 𝑛2
1 1
= √0.19 × 0.81 × (900 + 1600) = 0.0163
𝑝1 − 𝑝2
|𝑧| = | |
𝑆𝐸(𝑝1 − 𝑝2 )
0.2 − 0.185 0.015
=| |= = 0.92
0.0163 0.0163
𝑃1 𝑄1 𝑃2 𝑄2
𝑆𝐸(𝑃1 − 𝑃2 ) = √ +
𝑛1 𝑛2
(0.3)(0.7) (0.25)(0.75)
=√ +
1200 900
= 0.0196
𝑃1 − 𝑃2
|𝑧| = | |
𝑆𝐸(𝑃1 − 𝑃2 )