We want to run an exit poll for the government referendum, by asking the voters in one vote center whether they voted for option A or B. We have an urn with 5 red, 3 green and 2 blue marbles. Each voter randomly picks one marble from the urn, sees its color and then places it back in the urn. If it is red, he tells the truth (we assume that he must have voted either A or B – there is no other option). If it is green, he replies “B”, regardless of what he has actually voted and if it is blue, he replies “A”, again regardless of what he has actually voted. At the end of the exit poll, we got 40% A’s. What is the actual percentage of the A’s voters in this vote center?
Probabilities is not my strong area of knowledge :(
I was told that this is an easy example of Bayes theorem - I went through it but really can't find how to apply it!
\begin{align} \mathsf P(R\mid G, B) & = \frac{\mathsf P(R,G,B)}{\mathsf P(G, B)} \end{align}
OK of course the probability of R is 0.5, of G 0.333 and for B 0.2. But I don't know what to do then.