Simpson's paradox

The trend may reverse if you pool the observations from strata. Also related to the differences across pooled, random effects, and fixed effects Regression analysis.

https://www.youtube.com/watch?v=ebEkn-BiW5k