Source: http://irma.math.unistra.fr/~fbertran/enseignement/Statistique_Etude_de_Cas_2017/Cours3_L3.pdf