Rohini 28599856674
Rohini 28599856674
UNIT-I
TESTING THE HYPOTHESIS
1.2 Test of significance for proportion
Test of significance of single proportion
• To test the significant difference between the sample proportion p and the Population
proportion P we use the statistic
𝑝 −𝑃
• 𝑍= 𝑃𝑄
where 𝑃 + 𝑄 = 1 ⇒ 𝑄 = 1 − 𝑃, n = sample size
√
𝑛
1 1 1
Given 𝑃 = , 𝑄 = 1−𝑃 = 1− =
2 2 2
216
𝑝= = 0.54, 𝑛 = 400
400
0.51 − 0.5
⇒𝑍= = 1.6
0.5×0.5
√
400
1 1 1
Given 𝑃 = , 𝑄 = 1−𝑃 = 1− =
2 2 2
280
𝑝= = 0.56, 𝑛 = 500
500
0.56 − 0.5
⇒𝑍= = 2.68
0.5×0.5
√
500
65 35
Given 𝑛1 = 300, 𝑛2 = 200, 𝑝1 = = 0.2166, 𝑝2 = = 0.175
300 200
20 18.5
Given 𝑛1 = 900, 𝑛2 = 1600, 𝑝1 = = 0.2, 𝑝2 = = 0.185
100 100
𝑛1 𝑝1 + 𝑛2 𝑝2 (900)0.2 + (1600)0.185
𝑃= = = 0.1904
𝑛1 + 𝑛2 900 + 1600
⇒ 𝑄 = 1 − 𝑃 = 1 − 0.1904 = 0.8096
𝑝1 − 𝑝2 0.2 − 0.185
⇒𝑍= = = 0.9169
1 1 1 1
√𝑃𝑄 ( + ) √(0.1904)(0.8096) ( + )
𝑛1 𝑛2 900 1600
3. Before an increase in excise duty on tea, 800 persons out of a sample of 1000 persons
were found to be tea drinkers. After an increase is excise duty. 800 people were tea
drinkers in a sample of 1200 people. Test whether there is a significant decrease in the
consumption of tea after the increase in excise duty at 5% Los
Solution:
Set the null hypothesis H0 : P1 = P2
Set the alternative hypothesis H1 : P1 > P2
Level of significance 𝛼= 0.05(5%)
𝑝1 −𝑝2
The test statistic 𝑍 = 1 1
where 𝑃 + 𝑄 = 1 ⇒ 𝑄 = 1 − 𝑃
√𝑃𝑄(𝑛 +𝑛 )
1 2
800 800
Given 𝑛1 = 1000, 𝑛2 = 1200, 𝑝1 = = 0.8, 𝑝2 = = 0.667
1000 1200