Source: http://fsenicourt.free.fr/4eme/Algebre/Statistiques/CoursV2.pdf