The data given to the right includes data from 37 ​candies, and 6 of them are red. The company that makes the candy claims that 29​% of its candies are red. Use the sample data to construct a 90​% confidence interval estimate of the percentage of red candies. What do you conclude about the claim of 29​%?

Respuesta :

Answer:

[tex]0.162 - 1.64\sqrt{\frac{0.162(1-0.162)}{37}}=0.0626[/tex]

[tex]0.162 + 1.64\sqrt{\frac{0.162(1-0.162)}{37}}=0.2614[/tex]

The 90% confidence interval would be given by (0.0626;0.2614)

For this case since the upper bound of the confidence interval is lower than 29 we have enough evidence to reject the hypothesis that the proportion of red candies is 0.29 or 29%.

Step-by-step explanation:

Previous concepts

A confidence interval is "a range of values that’s likely to include a population value with a certain degree of confidence. It is often expressed a % whereby a population means lies between an upper and lower interval".  

The margin of error is the range of values below and above the sample statistic in a confidence interval.  

Normal distribution, is a "probability distribution that is symmetric about the mean, showing that data near the mean are more frequent in occurrence than data far from the mean".

Solution to the problem

For this case the estimated proportion of red candies is [tex]\hat p = \frac{6}{37}= 0.162[/tex]

In order to find the critical value we need to take in count that we are finding the interval for a proportion, so on this case we need to use the z distribution. Since our interval is at 90% of confidence, our significance level would be given by [tex]\alpha=1-0.90=0.1[/tex] and [tex]\alpha/2 =0.05[/tex]. And the critical value would be given by:

[tex]z_{\alpha/2}=-1.64, t_{1-\alpha/2}=1.64[/tex]

The confidence interval for the mean is given by the following formula:  

[tex]\hat p \pm z_{\alpha/2}\sqrt{\frac{\hat p (1-\hat p)}{n}}[/tex]

If we replace the values obtained we got:

[tex]0.162 - 1.64\sqrt{\frac{0.162(1-0.162)}{37}}=0.0626[/tex]

[tex]0.162 + 1.64\sqrt{\frac{0.162(1-0.162)}{37}}=0.2614[/tex]

The 90% confidence interval would be given by (0.0626;0.2614)

For this case since the upper bound of the confidence interval is lower than 29 we have enough evidence to reject the hypothesis that the proportion of red candies is 0.29 or 29%.