Simpson's paradox, and a detector for it in 20 lines
Here is a dataset that lies. Sixty-six people, each with two numbers: hours of exercise per week, and blood cholesterol. Fit a single straight line to all of them and the slope is positive: more exerc