Using the z-distribution, the 95% confidence interval for the percentage of red candies is of (7.84%, 33.18%). Since 33% is part of the interval, there is not enough evidence to conclude that the claim is wrong.
<h3>What is a confidence interval of proportions?</h3>
A confidence interval of proportions is given by:
In which:
- is the sample proportion.
In this problem, we have a 95% confidence level, hence, z is the value of Z that has a p-value of , so the critical value is z = 1.96.
Researching this problem on the internet, 8 out of 39 candies are red, hence the sample size and the estimate are given by:
Hence the bounds of the interval are:
As a percentage, the 95% confidence interval for the percentage of red candies is of (7.84%, 33.18%). Since 33% is part of the interval, there is not enough evidence to conclude that the claim is wrong.
More can be learned about the z-distribution at brainly.com/question/25890103
#SPJ1