Source: https://www.gse.harvard.edu/course/spring-2016/s030-intermediate-statistics-applied-regression-and-data-analysis-spring-2016