Source: https://mathadoc.sesamath.net/Documents/mp/tech/tecstat/stat00006.pdf