Quit smoking: In a survey of 444 HIV-positive smokers, 202 reported that they had used a nicotine patch to try to quit smoking. Can you conclude that less than half of HIV-positive smokers have used a nicotine patch

Respuesta :

Answer:

The p-value of the test is of 0.0287 < 0.05(standard significance level), which means that it can be concluded that less than half of HIV-positive smokers have used a nicotine patch.

Step-by-step explanation:

Test if less than half of HIV-positive smokers have used a nicotine patch:

At the null hypothesis, we test if the proportion is of at least half, that is:

[tex]H_0: p \geq 0.5[/tex]

At the alternative hypothesis, we test if the proportion is below 0.5, that is:

[tex]H_1: p < 0.5[/tex]

The test statistic is:

[tex]z = \frac{X - \mu}{\frac{\sigma}{\sqrt{n}}}[/tex]

In which X is the sample mean, [tex]\mu[/tex] is the value tested at the null hypothesis, [tex]\sigma[/tex] is the standard deviation and n is the size of the sample.

0.5 is tested at the null hypothesis:

This means that [tex]\mu = 0.5, \sigma = \sqrt{0.5*(1-0.5)} = 0.5[/tex]

In a survey of 444 HIV-positive smokers, 202 reported that they had used a nicotine patch to try to quit smoking.

This means that [tex]n = 444, X = \frac{202}{444} = 0.455[/tex]

Value of the test statistic:

[tex]z = \frac{X - \mu}{\frac{\sigma}{\sqrt{n}}}[/tex]

[tex]z = \frac{0.455 - 0.5}{\frac{0.5}{\sqrt{444}}}[/tex]

[tex]z = -1.9[/tex]

P-value of the test and decision:

The p-value of the test is the probability of finding a sample proportion below 0.455, which is the p-value of z = -1.9.

Looking at the z-table, z = -1.9 has a p-value of 0.0287.

The p-value is of 0.0287 < 0.05(standard significance level), which means that it can be concluded that less than half of HIV-positive smokers have used a nicotine patch.