Question #79712

Past records from a large supermarket show that 20% of people who buy chocolate bars buy the family size bars. On one particular day a random sample of 30 people was taken from those that had bought chocolate bars and 2 of them were found to have bought a family size bar.
1) test at the 5 % significance level, whether or not the proportion of people who bought a family size bar of chocolate that day had decreased. State your hypothesis clearly.
1

Expert's answer

2018-08-14T10:20:08-0400

Answer on Question #79712 – Math – Statistics and Probability

Question

Past records from a large supermarket show that 20% of people who buy chocolate bars buy the family size bars. On one particular day a random sample of 30 people was taken from those that had bought chocolate bars and 2 of them were found to have bought a family size bar.

1) test at the 5% significance level, whether or not the proportion of people who bought a family size bar of chocolate that day had decreased. State your hypothesis clearly.

Solution

The following information is provided: The sample size is N=30N = 30, the number of favorable cases is X=2X = 2, and the sample proportion is pˉ=XN=230=0.0667\bar{p} = \frac{X}{N} = \frac{2}{30} = 0.0667, and the significance level is α=0.05\alpha = 0.05

The following null and alternative hypotheses need to be tested:


H0:p=0.2H_0: p = 0.2Hα:p<0.2H_\alpha: p < 0.2


This corresponds to a left-tailed test, for which a z-test for one population proportion needs to be used.

Based on the information provided, the significance level is α=0.05\alpha = 0.05, and the critical value for a left-tailed test is zc=1.64z_c = -1.64.

The rejection region for this left-tailed test is R={z:z<1.64}R = \{z: z < -1.64\}

The z-statistic is computed as follows:


z=pˉp0p0(1p0)/n=1.826z = \frac{\bar{p} - p_0}{\sqrt{p_0(1 - p_0)/n}} = -1.826


Since it is observed that z=1.826<zc=1.64z = -1.826 < z_c = -1.64, then one concludes that the null hypothesis is rejected.

Using the P-value approach: The p-value is 0.0339, and since 0.0339<0.050.0339 < 0.05, one concludes that the null hypothesis is rejected.

Conclusion

The null hypothesis Ho is rejected. Therefore, there is enough evidence to claim that the population proportion pp is less than p0=0.2p_0 = 0.2 at the α=0.05\alpha = 0.05 significance level.

Answer provided by https://www.AssignmentExpert.com

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS