Four Photos, Three Animals

ProbabilityMedium+20 XP+20

Four Photos, Three Animals

A small labelled photo dataset has 12 different photos: 6 cats, 4 dogs and 2 rabbits. Before using it, you set aside a validation set of 4 photos, picked at random without replacement so that every possible group of 4 photos is equally likely.

You would like the validation set to contain at least one photo of every animal. If an animal is missing, you have no way of checking how well it is recognised.

Because every group of 4 is equally likely, the chapter's counting rule applies:

P(event)=number of groups in the eventtotal number of possible groupsP(\text{event}) = \frac{\text{number of groups in the event}}{\text{total number of possible groups}}P(event)=total number of possible groupsnumber of groups in the event​

To count groups, use combinations. The number of ways to choose rrr items from nnn different items, when the order of choosing does not matter, is

(nr)=n!r! (n−r)!\binom{n}{r} = \frac{n!}{r!\,(n-r)!}(rn​)=r!(n−r)!n!​

where n!=n×(n−1)×⋯×2×1n! = n \times (n-1) \times \dots \times 2 \times 1n!=n×(n−1)×⋯×2×1, and 0!=10! = 10!=1. For example, (42)=242×2=6\binom{4}{2} = \frac{24}{2 \times 2} = 6(24​)=2×224​=6: from four photos a,b,c,da, b, c, da,b,c,d the possible pairs are ab,ac,ad,bc,bd,cdab, ac, ad, bc, bd, cdab,ac,ad,bc,bd,cd.

What is the probability that the validation set contains at least one cat, at least one dog and at least one rabbit?

Round your answer to 4 decimal places.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.