Block 3: Regression towards the mean
Week 8 · Prediction II · Imai §4.2.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.
Obama’s vote share in each state, 2008 vs. 2012, standardized into \(z\)-scores.
1. Merge and standardize
Why does the merged file have columns Obama.x and Obama.y?
2. Regression without an intercept
Conclusion: The regression line and the 45-degree line: what does the slope tell us?
The slope is 0.98 (the correlation of the two z-scores). Slightly below 1 is the signature of regression towards the mean: with a lower correlation it would be much stronger.