Source: https://irma.math.unistra.fr/~mmaumy/enseignement/M1Stats/chapitre0.pdf