Respuesta :
Answer: Z=2.58, p-value=0.00988
Step-by-step explanation:
Null hypothesis : [tex]H_0: p=0.18[/tex]
Alternative hypothesis : [tex]H_0: p\neq0.18[/tex]
Since alternative hypothesis is two-tailed so the test is a two tailed test.
Given : Population proportion : [tex]p=0.18[/tex]
Sample size : n=200
Number of people smoke in sample = 50
then the sample proportion of smokers : [tex]\hat{p}=\dfrac{50}{200}=0.25[/tex]
Test statistic for proportion :
[tex]z=\dfrac{\hat{p}-p}{\sqrt{\dfrac{p(1-p)}{n}}}[/tex]
i.e. [tex]z=\dfrac{0.25-0.18}{\sqrt{\dfrac{0.18(1-0.18)}{200}}}[/tex]
i.e. [tex]z=\dfrac{0.07}{\sqrt{\dfrac{0.1476}{200}}}[/tex]
i.e. [tex]z=2.57673560841\approx2.58[/tex]
P-value for two-tailed test = [tex]2(P>|z|)=2(P(z>2.58))=2(1-P(z<2.58))[/tex]
[tex]=2(1- 0.99506)=2(0.00494)=0.00988[/tex]
Hence, the test statistic test statistic (Z) and p-value of the test are 2.58 and 0.00988 respectively.
Using the z-distribution, as we are working with a proportion, it is found that the test statistic and the p-value of the test are given by:
d. Z=2.58, p-value=0.0098.
What are the hypothesis tested?
At the null hypothesis, it is tested if the proportion is of 18%, that is:
[tex]H_0: p = 0.18[/tex]
At the alternative hypothesis, it is tested if the proportion has changed, that is:
[tex]H_1: p \neq 0.18[/tex]
What is the test statistic?
The test statistic is given by:
[tex]z = \frac{\overline{p} - p}{\sqrt{\frac{p(1-p)}{n}}}[/tex]
In which:
- [tex]\overline{p}[/tex] is the sample proportion.
- p is the proportion tested at the null hypothesis.
- n is the sample size.
In this problem, the parameters are:
[tex]p = 0.18, n = 200, \pi = \frac{50}{200} = 0.25[/tex]
Hence, the value of the test statistic is:
[tex]z = \frac{\overline{p} - p}{\sqrt{\frac{p(1-p)}{n}}}[/tex]
[tex]z = \frac{0.25 - 0.18}{\sqrt{\frac{0.18(0.82)}{200}}}[/tex]
[tex]z = 2.58[/tex]
What is the p-value of the test?
Using a z-distribution calculator, with a two-tailed test, as we are testing if the proportion is different of a value, and z = 2.58, it is found that the p-value is of 0.0098.
Hence, option D is correct.
More can be learned about the z-distribution at https://brainly.com/question/26454209