In a recent survey, it was found that 133 out of 631 randomly selected Knott's Berry Farm attendees consider Silver Bullet their favorite ride at Knott's. It was also found that 23 out of 121 randomly selected Knott's Berry Farm employees consider Silver Bullet their favorite ride. Test the hypothesis that the percentage of attendees who consider Silver Bullet their favorite ride is different than the percentage of Knott's Berry Farm employees who consider Silver Bullet their favorite ride. Use the a=.05 level of significance.



The P-value is __________, rounded to the nearest ten-thousandth (4 decimal places).

Respuesta :

Using the z-distribution, it is found that the p-value is of 0.5975.

At the null hypothesis, it is tested if the proportions are equal, that is, their subtraction is 0, hence:

[tex]H_0: p_1 - p_2 = 0[/tex]

At the alternative hypothesis, it is tested if they are different, that is, their subtraction is not 0, hence:

[tex]H_1: p_1 - p_2 \neq 0[/tex]

The sample sizes and proportions are given by:

[tex]n_1 = 631, p_1 = \frac{133}{631} = 0.2108[/tex]

[tex]n_2 = 121, p_2 = \frac{23}{121} = 0.1901[/tex]

The standard errors are given by:

[tex]s_1 = \sqrt{\frac{0.2108(0.7892)}{631}} = 0.0162[/tex]

[tex]s_2 = \sqrt{\frac{0.1908(0.8092)}{121}} = 0.0357[/tex]

For the distribution of differences, the estimate and the standard error are:

[tex]\overline{p} = p_1 - p_2 = 0.2108 - 0.1901 = 0.0207[/tex]

[tex]s = \sqrt{s_1^2 + s_2^2} = \sqrt{0.0162^2 + 0.0357^2} = 0.0392[/tex]

The test statistic is given by:

[tex]z = \frac{\overline{p} - p}{s}[/tex]

In which [tex]p = 0[/tex] is the value tested at the null hypothesis.

Then:

[tex]z = \frac{\overline{p} - p}{s}[/tex]

[tex]z = \frac{0.0207 - 0}{0.0392}[/tex]

[tex]z = 0.528[/tex]

Using a z-distribution calculator, with a two-tailed test, as we are testing if the mean is different of a value, the p-value is of 0.5975.

A similar problem is given at https://brainly.com/question/25869410