Block 3: The normal distribution

Week 10 · Probability II · Imai §6.3.4 · about 4 min

NoteHow this works

Run each cell with Run Code, look at the output, then answer the question at the end of the block. Every cell is editable; Start Over resets it. Errors are information: read them.

1. The 68-95-99.7 rule

2. Are state vote shares normal?

Obama’s two-party vote share in each state, 2008, standardized (z-score).

Conclusion: Does the distribution of state vote shares look normal? How many states have z > 1, and how many would a normal predict?
The histogram follows the normal curve reasonably, but 5 observed vs. 8.1 expected shows deviations in the tails. The normal is a good approximation, not a law. And qnorm(0.975) = 1.96 is the number behind the 95% interval.