This is an example from moderndive.com for understanding Simpson's paradox.
Simple data wrangling and visualization
An overview of Balance of Trade
First decade of this century seems hottest.
Difference between Mean maximum and Mean Minimum Temprature over the past 60 years indicate that there is decreasing trend between this range. There an indication that mean minimum temperature over time has increased and mean maximum temperature has remained more or less at same level. One uses diurnal range for daily max and minimum temperature for assessing weather conditions. Smaller the diurnal range is, warmer is the weather (if maximum temperature has not shifted downward). For example if Lahore has maximum temperature 44 and minimum 30 degree celcius while Islamabad has maximum 44 while minimum is 20 , Islamabad will have shorter duration of warm weather than Lahore as per my understanding
This is a Markdown document with themes used : The Economist and Fivethirty
Fertility Rate vs Gross National Income