Source: https://math.univ-angers.fr/perso/lmenichi/Enseignement/L2_Proba_Stat/Cours_Proba_Stats_Chap1.pdf