Source: https://www.univ-chlef.dz/fsnv/wp-content/uploads/Cour-02-statistique-a-deux-variables-converti.pdf