← SIG (Susquehanna) Interview Insights
Recognize this as a Bayes' theorem problem with a twist: the two draws are without replacement, so the probability of two black widgets depends on the factory's composition. Compute the likelihood of drawing two black widgets from each factory, then apply Bayes' theorem to find the posterior probability of Factory A given the evidence.
Pro tip: Always clarify whether the draws are with or without replacement—here, 'two widgets are drawn' implies without replacement, which significantly changes the likelihoods. Mentioning this assumption upfront shows attention to detail and avoids a common pitfall.
Let A be the event that Factory A is chosen, B be Factory B. Priors: P(A)=0.4, P(B)=0.6. Let E be the event that both widgets drawn are black.
Calculate P(E|A) and P(E|B) assuming draws without replacement. For Factory A: (0.6)*(0.6) = 0.36? Wait, without replacement: (0.6)*(0.6) is incorrect; need to account for finite population. Actually, if we assume large population, it's approximately (0.6)^2 = 0.36. But if we consider exact without replacement from a finite batch, we need the total number of widgets. Since not given, assume large population or with replacement? The problem says 'two widgets are drawn from it'—typically implies without replacement, but without total count, we approximate as independent. So P(E|A) ≈ 0.6 * 0.6 = 0.36. Similarly, P(E|B) ≈ 0.2 * 0.2 = 0.04. However, if we strictly consider without replacement and assume a large population, it's fine. But if we assume a small batch, we need more info. So state assumption: assume large population or with replacement for simplicity. Alternatively, if we assume exactly two widgets drawn without replacement from an infinite population, it's the same as with replacement. So proceed with 0.36 and 0.04.
Use P(A|E) = P(E|A)P(A) / [P(E|A)P(A) + P(E|B)P(B)]. Plug in: numerator = 0.36 * 0.4 = 0.144; denominator = 0.144 + 0.04 * 0.6 = 0.144 + 0.024 = 0.168. So P(A|E) = 0.144 / 0.168 = 0.8571... ≈ 85.7%.
Verify that the result makes sense: Factory B is more likely to produce black widgets, but drawing two black widgets is much more likely from Factory A (0.36 vs 0.04), so the posterior shifts heavily toward Factory A despite its lower prior. The answer is approximately 85.7%.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.