# hypothesis testing

• Nov 13th 2009, 10:58 PM
Robb
hypothesis testing
A manufacturer claimed that at least 20% of the public preferred her product. A sample of 100 persons is taken to check her claim. With $\alpha=0.05$ how small would the sample percentage need to be before the claim could legitimately be refuted? (notice that this would invovle a one-tailed test of the hypothesis)

The book mentions that the answer is $\hat{p}<.1342$ but im not sure how they calculated this.
I tried using
$\frac{\hat{p}-.2}{\sqrt{\frac{\hat{p}\cdot (1-\hat{p}}{100}}}=z_{0.05}$ but got really stuck and couldn't calculate it out, so not sure if im on the right track...
• Nov 14th 2009, 07:21 AM
novice
Quote:

Originally Posted by Robb
A manufacturer claimed that at least 20% of the public preferred her product. A sample of 100 persons is taken to check her claim. With $\alpha=0.05$ how small would the sample percentage need to be before the claim could legitimately be refuted? (notice that this would invovle a one-tailed test of the hypothesis)

The book mentions that the answer is $\hat{p}<.1342$ but im not sure how they calculated this.
I tried using
$\frac{\hat{p}-.2}{\sqrt{\frac{\hat{p}\cdot (1-\hat{p}}{100}}}=z_{0.05}$ but got really stuck and couldn't calculate it out, so not sure if im on the right track...

Adopt decision rule using one-tailed test as follows:

Accept, if $p > 0.2$ or the standard mean, $z*$ greater than $-1.645$;

Reject otherwise.

Sample size, $n=100$
Proportion, $p=0.2$
Sample mean, $\mu = p = 0.2$
Standard deviation $\sigma = \sqrt{\frac{p(1-p)}{n}}=\sqrt{\frac{(0.2)(0.8)}{100}}=0.04$

Minimum required sample proportion $, \hat{p}=z*\sigma+\mu=(-1.645)(0.04)+0.2=0.1342$