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