Source: https://maths.vivien.free.fr/documents/Cours/Chapitre 3N9 - Statistiques et probabilites.pdf