Suppose a sample of 200 local vendors is selected as part of a survey conducted by the
Ministry of Trade and it is found that 145 of the local vendors make an average income in
excess of N$ 7 600 per month.
a) Suppose that a 98% confidence interval estimate of the proportion of local vendors
who make an average income more than N$ 7 600 per month is required. How large
a sample should be taken if the desired margin of error is 8%? (2)
b) Suppose it has been established from past studies that not more than 65% of local
vendors make an average income in excess of N$ 7 600 per month. Use the critical
value approach and conduct a hypothesis test at a 5% level of significance to
determine whether the proportion of local vendors who make an average income in
excess of N$ 7 600 per month differs from the historical level. (4)
1
Expert's answer
2021-09-14T04:46:35-0400
Proportion p has approximately normal distribution with parameters μp=p^.σp=np^⋅(1−p^). Thus for p analisis.we use normal distributionN(p^,np^⋅(1−p^)). So C- confidence interval for mean M(p) will be p^±z21−C∗⋅np^⋅(1−p^)
where z21+C∗ is such level that P(N(0,1)>z21−C∗=21−C Therfore margin error will be E=z21−C∗⋅np^⋅(1−p^) . Fron this equation we define size of sample n=E2p^⋅(1−p^)⋅(z21−C∗)2 .We are given with E=8%=0.08, p^=145/200=0.725 . C=98%=0.98 and calculate: z21−C∗=z0.01∗=
=qnorm(0.99,0,1)=2.326 where qnorm is statistical function from Mathcad therefore we have n=0.0820.725⋅(1−0.725)⋅2.3262=168.543≈169
So size of sample should be 169.
b)
H0: p≤ 0.65 - zero hypothesis;
H1: p>0.65- alternative hypothesis;
α=0.05 significance level;
z=qnorm(1-0.05,0,1)=1.645- z-value corresponding to significance level(by using Mathcad);
Let Y=0.65⋅(1−0.85)/200200X−0.65
If historical value 0.65 of the proportion is 0.65 is true then we will have Y~N(0,1) or Y will have standard normal distribution and for rejection of the hypothesis X/200=0.65 is enough to meet an event witch follows from 0.65 hypothesis but has small probability. Such event is Y≥z0.05 with probebility 0.05
We use equation Y=z=1.645 for finding minimal bound for Y and therefore for X.
From it eqution we have X=(0.65+1.645⋅0.65⋅(1−0.65)/200)⋅200 =142.689≈143 .
So for rejecting hypothesis p<=65% with confidence it is enough to form sample with size 143 or more.
Comments