Source: https://perso.math.univ-toulouse.fr/lagnoux/files/2013/12/poly_stat_inf.pdf