Source: http://math.univ-lyon1.fr/capes/IMG/pdf/PS2_-_Stats_a_deux_variables.pdf