Source: https://www.deleze.name/marcel/sec2/applmaths/csud/statistique_1/2-stat_I.pdf