Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

The proportion of pink candies in a bag is supposed to be $50\%$. The filling machine is to be tested to see if it fills with the right proportion. A random sample of $50$ candies is made. The machine is determined to work properly if the number of pink candies is $8$ away from the expected value. Assuming the machine is working properly, what is the probability that it is determined that the machine is not working properly.

share|improve this question
    
Hint: Student law. –  Yves Daoust May 30 at 17:06

1 Answer 1

up vote 3 down vote accepted

The problem asks us to suppose that the true mean is $50\%$ ("Assuming that the machine is working properly $\dots$").

If that is the case, then the number $X$ of pink in a sample of $50$ has binomial distribution, mean $25$, variance $(50)(0.5)(0.5)$.

So for our problem, the mean and standard deviation can be considered as known.

We are asked to find $\Pr(|X-25|\ge 9$, or perhaps to estimate it using a normal approximation.

Remark: Here "$npq$" is on the small side, and the normal approximation may not be very reliable. One can use the continuity correction and cross one's fingers. But nowadays many pieces of software, and even some calculators, will compute binomial cumulative distribution functions "exactly."

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.