Skip to content

Bayes update on a performer's home city

Question

Before a festival, organisers believe a rapper is in Philadelphia with probability 0.80.8 and in Baltimore with probability 0.20.2. If he is in Baltimore he performs with probability 0.80.8; if he is in Philadelphia he performs with probability 0.10.1. Given that he performs, what is the probability he was in Philadelphia?

Short answer

1/31/3. By Bayes' rule, the joint probability of Philadelphia and a performance is 0.080.08, while Baltimore and a performance has 0.160.16; so the posterior for Philadelphia is 0.080.08+0.16=13\tfrac{0.08}{0.08+0.16}=\tfrac13.

Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.

See the hint and the full worked solution in the question bank (free account).

Open the worked solution

Lessons behind this question

Start with a free lesson: Probability Fundamentals is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.

Read it free