Source: https://lmb.univ-fcomte.fr/IMG/pdf/cours_stat_inf.pdf