Independent solution
How to solve this Independence question
Setup
Setup
Let x be the unknown count in the second container. Its two possible categories then have counts 16 and x.
Model
Model
Condition on the category selected from the first container. The same-category probability is the sum of the two corresponding product probabilities.
Compute
Compute
Clearing the denominator in the resulting mixture equation and solving the linear equation gives x=4.
Answer
Answer
The second container therefore has 4 items of the unknown category, which is choice A.