Source: https://www.maths-inter.ma/sysma/wp-content/uploads/2018/09/TC_15_Statistiques_Cr1Fr_Ammari.pdf