Independent solution

How to solve this Hypergeometric Distribution question

Setup

Setup

Let X count defectives in a simple random selection of four from a population containing three defectives and seven usable items.

XHypergeometric(N=10,K=3,n=4)X\sim\operatorname{Hypergeometric}(N=10,K=3,n=4)

Model

Model

Because only three defectives exist, the complement of at most two defectives is exactly the event that all three are selected.

Pr(X2)=1Pr(X=3)\Pr(X\le2)=1-\Pr(X=3)

Compute

Compute

Count selections containing all three defectives and one of the seven usable items, then divide by all four-item selections.

Pr(X=3)=(33)(71)(104)=7210=130\Pr(X=3)=\frac{\binom33\binom71}{\binom{10}4}=\frac7{210}=\frac1{30}
Pr(X2)=1130=2930=0.966666\Pr(X\le2)=1-\frac1{30}=\frac{29}{30}=0.966666\ldots

Answer

Answer

The exact without-replacement probability rounds to 0.97.

Pr(X2)0.97(E)\boxed{\Pr(X\le2)\approx0.97\quad\text{(E)}}