Answer:
test statistic (Z) is 2.5767 and p-value of the test is .009975
Step-by-step explanation:
[tex]H_{0}[/tex]: percentage of students who smoke did not change
[tex]H_{a}[/tex]: percentage of students who smoke has changed
z-statistic for the sample proportion can be calculated as follows:
z=[tex]\frac{p(s)-p}{\sqrt{\frac{p*(1-p)}{N} } }[/tex] where
Then, z=[tex]\frac{0.25-0.18}{\sqrt{\frac{0.18*0.82}{200} } }[/tex] ≈ 2.5767
What is being surveyed is if the percentage of students who smoke has changed over the last five years, therefore we need to seek two tailed p-value, which is .009975.
This p value is significant at 99% confidence level. Since .009975 <α/2=0.005, there is significant evidence that the percentage of students who smoke has changed over the last five years