Source: https://hal.science/cel-01787365v1/file/Cours_Statistiques_Polisano.pdf