Katkat

Use Bayes for factory identification

SIG (Susquehanna)Data Scientist · Online Assessment

Last updated

This question evaluates understanding of Bayesian inference and conditional probability by asking for the posterior probability that two observed black widgets originated from a specific factory.

Factory A produces 40% red and 60% black widgets; Factory B produces 80% red and 20% black widgets. One factory is chosen uniformly at random, and then two widgets are sampled uniformly at random from that factory. Given that both sampled widgets are black, what is the probability they came from Factory A?