8.7k views
2 votes
Peanut allergies among children. About 2% of children in the United States are allergic to peanuts. Choose three children at random and let the random variable XX be the number in this sample who are allergic to peanuts. The possible values XX can take are 0, 1, 2, and 3.

What is the conditional probability that exactly two of the children will be allergic to peanuts, given that at least one of the three children suffers from this allergy?



(Round your answer to six decimal places.)



P(X=2|X⩾1)P(X=2|X⩾1) =

1 Answer

5 votes

\mathbb P(X=2|X\ge1)=(\mathbb P(X=2\,\land\,X\ge1))/(\mathbb P(X\ge1))

Since
X=2 guarantees that
X\ge1, the numerator probability reduces to
\mathbb P(X=2).

Now,
X follows a binomial distribution. 2% of children have the allergy, so out 3 children randomly selected from the population, the probability that
x of them (where
x\in\{0,1,2,3\}) have the allergy is given by


\mathbb P(X=x)=\dbinom3x0.02^x(1-0.02)^(3-x)

So you have


\mathbb P(X=2)=\dbinom320.02^20.98^1\approx0.0012

and


\mathbb P(X\ge1)=1-\mathbb P(X<1)=\mathbb P(X=0)

\mathbb P(X\ge1)=\dbinom300.02^00.98^3\approx0.9412

Therefore


\mathbb P(X=2|X\ge1)=(\mathbb P(X=2\,\land\,X\ge1))/(\mathbb P(X\ge1))=(\mathbb P(X=2))/(\mathbb P(X\ge1))\approx0.0012
User David Roe
by
9.1k points