Republican Bayes

Let’s answer this question. In the Pew Research Center poll results published in 2010, 53% of Republicans, 14% of Democrats and 31% of Independents answered NO to the question, is there solid evidence that the earth is warming?
If a respondent answered no, what is the probability that she is a Republican? Note that on this survey on Oct 13-18, 2010, 25% of the participants were Republicans, 31% were Democrats, and 40% were Independent.

Let’s use the general formula of Bayes’ theorem here:

\\ P(j|N) = \frac{P(N|j)*P(j)}{\sum\limits_{i = 1}^{n} P(N|i)*P(i)}

Here, j represents Republican, and ‘i‘ represents a Republican, Democrat or Independent. So the required probability that a person is a Republican, given that she answered NO, is:

P(R|N) =  \frac{P(N|R)*P(R)}{P(N|R)*P(R) + P(N|D)*P(D) + P(N|I)*P(I)} \\\\ \frac{0.53*0.25}{0.53*0.25 + 0.14*0.31 + 0.31*0.4} = 0.44

So, there is a 44% chance that the random person is a Republican: no better than flipping a coin!

Increasing Partisan Divide on Energy Policies: Pew Research