A collection of 15 gold coins contains 4 counterfeits. If 2 of them are randomly selected to be sold at the auction, find the probability that
- neither of them is a counterfeit
- only one of them is a counterfeit
- both coins are counterfeits.
This is a hypergeometric probability distribution – picking without replacement. If X is the number of counterfeit coins (hypergeometric random variable),
choose(4,0)*choose(11,2) / choose(15,2)
0.52
choose(4,1)*choose(11,1) / choose(15,2)
0.42
choose(4,2)*choose(11,0) / choose(15,2)
0.06
Or simply,
dhyper(2, 4, 11, 2, log = FALSE)