Race, religion, and politics
In their November 3, 2018 issue, The Economist published the following figure showing their analysis of data from YouGov.
For the second edition of Think Bayes, I plan to use it to demonstrate conditional probability. In the following notebook, I replicate their analysis (loosely!) using data from the General Social Survey (GSS).
https://gist.github.com/AllenDowney/476b9c77a6581d689528c99d688685e9