Source: http://mathsece2vilgenis.free.fr/Docs/TP4_info-Stats_biv.pdf