Exercise 10: The Hidden Variable
Simpson’s Paradox
It looks like Private schools have LOWER scores than Public ones. But is that fair? Private schools in this dataset are located in tougher zones. Run the code to see what happens when we control for the “Difficulty” of the zone.