Source: http://labomath.free.fr/faidherbe/seconde/devoirs/2011-2012/ds03-stats-varfonc.pdf