This question evaluates a data scientist's understanding of conditional probability and Bayesian updating, testing probabilistic reasoning and inference about joint occupancy states.

There are two rooms. Prior over occupancy states:
You pick one room uniformly at random to check.
(a) What is the probability the room you check is occupied?
(b) Given you find your chosen room occupied, what is the probability the other room is also occupied? Show the Bayes calculation.
Login required